mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 12:28:09 +00:00
fix(core): use DISPLAY_RGB565 macro consistently
[no changelog]
This commit is contained in:
parent
9166dc330e
commit
ffe1ac7d7e
@ -64,6 +64,7 @@ def configure(
|
|||||||
|
|
||||||
if "new_rendering" in features_wanted:
|
if "new_rendering" in features_wanted:
|
||||||
defines += ["XFRAMEBUFFER"]
|
defines += ["XFRAMEBUFFER"]
|
||||||
|
defines += ["DISPLAY_RGB565"]
|
||||||
features_available.append("xframebuffer")
|
features_available.append("xframebuffer")
|
||||||
features_available.append("display_rgb565")
|
features_available.append("display_rgb565")
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ def configure(
|
|||||||
features_available.append("disp_i8080_8bit_dw")
|
features_available.append("disp_i8080_8bit_dw")
|
||||||
|
|
||||||
if "new_rendering" in features_wanted:
|
if "new_rendering" in features_wanted:
|
||||||
|
defines += ["DISPLAY_RGB565"]
|
||||||
features_available.append("display_rgb565")
|
features_available.append("display_rgb565")
|
||||||
|
|
||||||
mcu = "STM32F427xx"
|
mcu = "STM32F427xx"
|
||||||
|
@ -23,6 +23,7 @@ def configure(
|
|||||||
if "new_rendering" in features_wanted:
|
if "new_rendering" in features_wanted:
|
||||||
features_available.append("xframebuffer")
|
features_available.append("xframebuffer")
|
||||||
features_available.append("display_rgb565")
|
features_available.append("display_rgb565")
|
||||||
|
defines += ["DISPLAY_RGB565"]
|
||||||
defines += ["XFRAMEBUFFER"]
|
defines += ["XFRAMEBUFFER"]
|
||||||
|
|
||||||
mcu = "STM32U585xx"
|
mcu = "STM32U585xx"
|
||||||
|
@ -23,6 +23,7 @@ def configure(
|
|||||||
if "new_rendering" in features_wanted:
|
if "new_rendering" in features_wanted:
|
||||||
features_available.append("xframebuffer")
|
features_available.append("xframebuffer")
|
||||||
features_available.append("display_rgb565")
|
features_available.append("display_rgb565")
|
||||||
|
defines += ["DISPLAY_RGB565"]
|
||||||
defines += ["XFRAMEBUFFER"]
|
defines += ["XFRAMEBUFFER"]
|
||||||
|
|
||||||
mcu = "STM32U585xx"
|
mcu = "STM32U585xx"
|
||||||
|
Loading…
Reference in New Issue
Block a user