chore(color): support alternative LCD sizes (320x240, 800x480) (#6012)

This commit is contained in:
philmoz
2025-03-31 15:04:54 +10:00
committed by GitHub
parent 65028ddcdf
commit a830a55087
476 changed files with 371650 additions and 817 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ else()
set(DEFAULT_INTERNAL_MODULE MULTIMODULE CACHE STRING "Default internal module")
endif()
set(BITMAPS_TARGET pl18_bitmaps)
set(BITMAPS_TARGET bm480_bitmaps)
set(FONTS_TARGET x12_fonts)
set(LCD_DRIVER lcd_driver.cpp)
set(TOUCH_DRIVER touch_driver.cpp)
+5 -2
View File
@@ -944,16 +944,19 @@
#if defined(RADIO_NB4P) || defined(RADIO_NV14_FAMILY)
#define PORTRAIT_LCD true
#define LANDSCAPE_LCD false
#define LANDSCAPE_LCD_STD false
#define LCD_W 320
#define LCD_H 480
#else
#define PORTRAIT_LCD false
#define LANDSCAPE_LCD true
#define LANDSCAPE_LCD_STD true
#define LCD_W 480
#define LCD_H 320
#endif
#define LANDSCAPE_LCD_LRG false
#define LANDSCAPE_LCD_SML false
#define LCD_PHYS_W 320
#define LCD_PHYS_H 480