2022-01-10 06:00:40 -05:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
|
|
|
config EXAMPLE_LCD_I80_COLOR_IN_PSRAM
|
|
|
|
bool "Allocate color data from PSRAM"
|
2024-07-24 06:52:02 -04:00
|
|
|
depends on SOC_PSRAM_DMA_CAPABLE
|
2022-01-10 06:00:40 -05:00
|
|
|
default y
|
|
|
|
help
|
2024-07-24 06:52:02 -04:00
|
|
|
Enable this option if you want to allocate the LVGL draw buffer from PSRAM.
|
|
|
|
|
|
|
|
config EXAMPLE_LCD_PIXEL_CLOCK_HZ
|
|
|
|
int "Pixel clock frequency (Hz)"
|
|
|
|
default 2000000 if EXAMPLE_LCD_I80_COLOR_IN_PSRAM && IDF_TARGET_ESP32S3
|
|
|
|
default 10000000
|
|
|
|
help
|
|
|
|
Set the pixel clock frequency in Hz.
|
2022-01-10 06:00:40 -05:00
|
|
|
|
2022-02-11 02:36:06 -05:00
|
|
|
choice EXAMPLE_LCD_I80_CONTROLLER_MODEL
|
|
|
|
prompt "i80 LCD controller model"
|
|
|
|
default EXAMPLE_LCD_I80_CONTROLLER_ST7789
|
|
|
|
help
|
|
|
|
Select LCD controller model
|
|
|
|
|
|
|
|
config EXAMPLE_LCD_I80_CONTROLLER_ST7789
|
|
|
|
bool "ST7789"
|
|
|
|
|
|
|
|
config EXAMPLE_LCD_I80_CONTROLLER_NT35510
|
|
|
|
bool "NT35510"
|
2022-07-07 18:10:02 -04:00
|
|
|
|
|
|
|
config EXAMPLE_LCD_I80_CONTROLLER_ILI9341
|
|
|
|
bool "ILI9341"
|
2022-02-11 02:36:06 -05:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
if EXAMPLE_LCD_I80_CONTROLLER_NT35510
|
|
|
|
choice EXAMPLE_LCD_NT35510_DATA_WIDTH
|
|
|
|
prompt "NT35510 Data Width"
|
|
|
|
default EXAMPLE_LCD_NT35510_DATA_WIDTH_8
|
|
|
|
help
|
|
|
|
Select NT35510 Data Width (8 or 16), a.k.a, the number of data lines.
|
|
|
|
|
|
|
|
config EXAMPLE_LCD_NT35510_DATA_WIDTH_8
|
|
|
|
bool "8"
|
|
|
|
|
|
|
|
config EXAMPLE_LCD_NT35510_DATA_WIDTH_16
|
|
|
|
bool "16"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
config EXAMPLE_LCD_I80_BUS_WIDTH
|
|
|
|
int
|
|
|
|
default 16 if EXAMPLE_LCD_NT35510_DATA_WIDTH_16
|
|
|
|
default 8
|
|
|
|
|
2023-08-31 02:57:10 -04:00
|
|
|
choice EXAMPLE_LCD_IMAGE_SOURCE
|
|
|
|
prompt "LCD image source from"
|
2023-09-12 07:12:08 -04:00
|
|
|
default EXAMPLE_LCD_IMAGE_FROM_EMBEDDED_BINARY
|
2023-08-31 02:57:10 -04:00
|
|
|
help
|
|
|
|
Select LCD image source
|
|
|
|
|
|
|
|
config EXAMPLE_LCD_IMAGE_FROM_FILE_SYSTEM
|
|
|
|
bool "File system"
|
|
|
|
|
|
|
|
config EXAMPLE_LCD_IMAGE_FROM_EMBEDDED_BINARY
|
|
|
|
bool "Embedded binary"
|
|
|
|
endchoice
|
2022-01-10 06:00:40 -05:00
|
|
|
endmenu
|