Add ILI9341 backend and fix orientation/color settings

This commit is contained in:
Stanislav N Mikhailov
2026-04-05 00:21:12 +03:00
parent 63fb9ff4bd
commit 763ba34110
3 changed files with 66 additions and 7 deletions
+3 -1
View File
@@ -41,7 +41,9 @@ set(DISPLAY_PIN_CS 13)
set(DISPLAY_PIN_DC 12)
set(DISPLAY_PIN_RST 11)
set(DISPLAY_PIN_BL 10)
set(DISPLAY_TYPE DISPLAY_TYPE_ST7789)
# Available values: DISPLAY_TYPE_ST7789, DISPLAY_TYPE_ILI9341
set(DISPLAY_TYPE "DISPLAY_TYPE_ILI9341" CACHE STRING "Display controller backend")
set_property(CACHE DISPLAY_TYPE PROPERTY STRINGS DISPLAY_TYPE_ST7789 DISPLAY_TYPE_ILI9341)
# Pass display mapping into display backend without editing engine sources.
target_compile_definitions(display_engine PUBLIC