summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config/sansae200v2.h7
-rw-r--r--firmware/export/lcd.h2
-rw-r--r--firmware/export/system.h2
3 files changed, 8 insertions, 3 deletions
diff --git a/firmware/export/config/sansae200v2.h b/firmware/export/config/sansae200v2.h
index 00833d56a6..e7ff291cc7 100644
--- a/firmware/export/config/sansae200v2.h
+++ b/firmware/export/config/sansae200v2.h
@@ -65,14 +65,17 @@
65#define HAVE_LCD_SLEEP 65#define HAVE_LCD_SLEEP
66#define HAVE_LCD_SLEEP_SETTING 66#define HAVE_LCD_SLEEP_SETTING
67 */ 67 */
68#endif
69 68
70/* define this if you can flip your LCD */ 69/* define this if you can flip your LCD */
71#define HAVE_LCD_FLIP 70#define HAVE_LCD_FLIP
72 71
73/* define this if you can invert the colours on your LCD */ 72/* define this if you can invert the colours on your LCD */
74#define HAVE_LCD_INVERT 73#define HAVE_LCD_INVERT
75 74#else /* !BOOTLOADER */
75#define DISABLE_ALPHA_BITMAP
76#define DISABLE_LOGO
77#define DISABLE_BACKTRACE
78#endif /* !BOOTLOADER */
76/* put the lcd frame buffer in IRAM */ 79/* put the lcd frame buffer in IRAM */
77#define IRAM_LCDFRAMEBUFFER IBSS_ATTR 80#define IRAM_LCDFRAMEBUFFER IBSS_ATTR
78 81
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index 67b22190ad..05d12cc2ec 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -237,7 +237,7 @@ extern bool lcd_putsxy_scroll_func(int x, int y, const unsigned char *string,
237 237
238/* performance function */ 238/* performance function */
239#if defined(HAVE_LCD_COLOR) 239#if defined(HAVE_LCD_COLOR)
240#if MEMORYSIZE > 2 240#if MEMORYSIZE > 2 && !defined(BOOTLOADER)
241#define LCD_YUV_DITHER 0x1 241#define LCD_YUV_DITHER 0x1
242 extern void lcd_yuv_set_options(unsigned options); 242 extern void lcd_yuv_set_options(unsigned options);
243 extern void lcd_blit_yuv(unsigned char * const src[3], 243 extern void lcd_blit_yuv(unsigned char * const src[3],
diff --git a/firmware/export/system.h b/firmware/export/system.h
index 172fe05b6e..552540a1db 100644
--- a/firmware/export/system.h
+++ b/firmware/export/system.h
@@ -266,8 +266,10 @@ static inline void cpu_boost_unlock(void)
266/* Define this if target has support for generating backtraces */ 266/* Define this if target has support for generating backtraces */
267#if defined(CPU_ARM) || \ 267#if defined(CPU_ARM) || \
268 (defined(CPU_MIPS) && (CONFIG_PLATFORM & PLATFORM_NATIVE)) 268 (defined(CPU_MIPS) && (CONFIG_PLATFORM & PLATFORM_NATIVE))
269#ifndef DISABLE_BACKTRACE
269 #define HAVE_RB_BACKTRACE 270 #define HAVE_RB_BACKTRACE
270#endif 271#endif
272#endif
271 273
272#ifndef MIN_STACK_ALIGN 274#ifndef MIN_STACK_ALIGN
273#define MIN_STACK_ALIGN (sizeof (uintptr_t)) 275#define MIN_STACK_ALIGN (sizeof (uintptr_t))