mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
5ea4df682e
which can help to reduce the firmware bin size
84 lines
2.4 KiB
Plaintext
84 lines
2.4 KiB
Plaintext
menu "Example Configuration"
|
|
|
|
config EXAMPLE_LCD_I80_COLOR_IN_PSRAM
|
|
bool "Allocate color data from PSRAM"
|
|
depends on IDF_TARGET_ESP32S3
|
|
default y
|
|
help
|
|
Enable this option if you wish to allocate the color buffer used by LVGL from PSRAM.
|
|
Unmatched PSRAM band width with LCD requirement can lead to blurred image display.
|
|
|
|
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"
|
|
|
|
config EXAMPLE_LCD_I80_CONTROLLER_ILI9341
|
|
bool "ILI9341"
|
|
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
|
|
|
|
config EXAMPLE_LCD_TOUCH_ENABLED
|
|
bool "Enable LCD touch"
|
|
default n
|
|
help
|
|
Enable this option if you wish to use display touch. You can select from three touch controllers.
|
|
|
|
choice EXAMPLE_LCD_TOUCH_CONTROLLER
|
|
prompt "LCD touch controller model"
|
|
depends on EXAMPLE_LCD_TOUCH_ENABLED
|
|
default EXAMPLE_LCD_TOUCH_CONTROLLER_FT5X06
|
|
help
|
|
Select LCD touch controller model
|
|
|
|
config EXAMPLE_LCD_TOUCH_CONTROLLER_GT911
|
|
bool "GT911"
|
|
|
|
config EXAMPLE_LCD_TOUCH_CONTROLLER_TT21100
|
|
bool "TT21100"
|
|
|
|
config EXAMPLE_LCD_TOUCH_CONTROLLER_FT5X06
|
|
bool "FT5X06"
|
|
endchoice
|
|
|
|
choice EXAMPLE_LCD_IMAGE_SOURCE
|
|
prompt "LCD image source from"
|
|
default EXAMPLE_LCD_IMAGE_FROM_FILE_SYSTEM
|
|
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
|
|
endmenu
|