Add LVGL and set up with display/touch drivers

This commit is contained in:
maddiebaka
2025-12-26 11:04:16 -05:00
parent cb92f69ee3
commit 3256ab2e65
7 changed files with 269 additions and 58 deletions
+34 -6
View File
@@ -9,36 +9,64 @@ menu "Pin Mapping Configuration"
default 27
help
This is the pin used for receiving UART telemetry from the ESC.
config TFT_MISO_PIN
config TFT_MISO
int "SPI LCD MISO pin"
default 12
help
This is the pin for MISO on the SPI LCD.
config TFT_MOSI_PIN
config TFT_MOSI
int "SPI LCD MOSI pin"
default 13
help
This is the pin for MOSI on the SPI LCD.
config TFT_SCKL_PIN
config TFT_SCKL
int "SPI LCD SCKL pin"
default 14
help
This is the pin for SCKL on the SPI LCD.
config TFT_CS_PIN
config TFT_CS
int "SPI LCD CS pin"
default 15
help
This is the pin for CS on the SPI LCD.
config TFT_DC_PIN
config TFT_DC
int "SPI LCD DC pin"
default 2
help
This is the pin for DC on the SPI LCD.
config TFT_BL_PIN
config TFT_BL
int "SPI LCD BL (backlight) pin"
default 21
help
This is the pin for backlight control on the SPI LCD.
config TOUCH_IRQ
int "SPI touchscreen IRQ pin"
default 36
help
This is the pin for IRQ on the SPI touchscreen.
config TOUCH_MOSI
int "SPI touchscreen MOSI pin"
default 32
help
This is the pin for MOSI on the SPI touchscreen.
config TOUCH_MISO
int "SPI touchscreen MISO pin"
default 39
help
This is the pin for MISO on the SPI touchscreen.
config TOUCH_CLK
int "SPI touchscreen CLK pin"
default 25
help
This is the pin for CLK on the SPI touchscreen.
config TOUCH_CS
int "SPI touchscreen CS pin"
default 33
help
This is the pin for CS on the SPI touchscreen.
config TFT_HRES
int "The horizontal resolution of the TFT display"
default 320