From 6150e556febfe12d0f45ef8997b394ae206fe75b Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 23 Aug 2025 20:11:32 -0400 Subject: [PATCH] unicode: Turn on 32-bit unicode for targets with >2MB RAM Change-Id: I199dc928fc9a88fa4bff7bdb3dc03bb212612f6f --- firmware/export/config.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/firmware/export/config.h b/firmware/export/config.h index 245777a671..ed440f2d2b 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -1461,7 +1461,11 @@ Lyre prototype 1 */ #error "HAVE_LCD_SLEEP_SETTING requires HAVE_LCD_SLEEP" #endif -// XXX Figure out a better place to put this? +/* Support for unicode codepoints > U+FFFF */ +#if (MEMORYSIZE > 2) && !defined(BOOTLOADER) +#define UNICODE32 +#endif + #ifdef UNICODE32 #define ucschar_t unsigned int #else