diff --git a/core/site_scons/models/D001/discovery.py b/core/site_scons/models/D001/discovery.py index 14b363f662..d4b57c3626 100644 --- a/core/site_scons/models/D001/discovery.py +++ b/core/site_scons/models/D001/discovery.py @@ -64,6 +64,7 @@ def configure( if "new_rendering" in features_wanted: defines += ["XFRAMEBUFFER"] + defines += ["DISPLAY_RGB565"] features_available.append("xframebuffer") features_available.append("display_rgb565") diff --git a/core/site_scons/models/T2T1/trezor_t.py b/core/site_scons/models/T2T1/trezor_t.py index 4155114fb8..8a96f78284 100644 --- a/core/site_scons/models/T2T1/trezor_t.py +++ b/core/site_scons/models/T2T1/trezor_t.py @@ -19,6 +19,7 @@ def configure( features_available.append("disp_i8080_8bit_dw") if "new_rendering" in features_wanted: + defines += ["DISPLAY_RGB565"] features_available.append("display_rgb565") mcu = "STM32F427xx" diff --git a/core/site_scons/models/T3T1/trezor_t3t1_revE.py b/core/site_scons/models/T3T1/trezor_t3t1_revE.py index 2be0e128fe..a36c6a3813 100644 --- a/core/site_scons/models/T3T1/trezor_t3t1_revE.py +++ b/core/site_scons/models/T3T1/trezor_t3t1_revE.py @@ -23,6 +23,7 @@ def configure( if "new_rendering" in features_wanted: features_available.append("xframebuffer") features_available.append("display_rgb565") + defines += ["DISPLAY_RGB565"] defines += ["XFRAMEBUFFER"] mcu = "STM32U585xx" diff --git a/core/site_scons/models/T3T1/trezor_t3t1_v4.py b/core/site_scons/models/T3T1/trezor_t3t1_v4.py index ea3cc449c9..95cf4d5ee3 100644 --- a/core/site_scons/models/T3T1/trezor_t3t1_v4.py +++ b/core/site_scons/models/T3T1/trezor_t3t1_v4.py @@ -23,6 +23,7 @@ def configure( if "new_rendering" in features_wanted: features_available.append("xframebuffer") features_available.append("display_rgb565") + defines += ["DISPLAY_RGB565"] defines += ["XFRAMEBUFFER"] mcu = "STM32U585xx"