mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
36 lines
962 B
Plaintext
36 lines
962 B
Plaintext
menu "Example Configuration"
|
|
|
|
choice EXAMPLE_LCD_CONTROLLER
|
|
prompt "LCD controller model"
|
|
default EXAMPLE_LCD_CONTROLLER_SSD1306
|
|
help
|
|
Select LCD controller model
|
|
|
|
config EXAMPLE_LCD_CONTROLLER_SSD1306
|
|
bool "SSD1306"
|
|
|
|
config EXAMPLE_LCD_CONTROLLER_SH1107
|
|
bool "SH1107"
|
|
endchoice
|
|
|
|
if EXAMPLE_LCD_CONTROLLER_SSD1306
|
|
choice EXAMPLE_SSD1306_HEIGHT
|
|
prompt "SSD1306 Height in pixels"
|
|
default EXAMPLE_SSD1306_HEIGHT_64
|
|
help
|
|
Height of the display in pixels. a.k.a vertical resolution
|
|
|
|
config EXAMPLE_SSD1306_HEIGHT_64
|
|
bool "64"
|
|
config EXAMPLE_SSD1306_HEIGHT_32
|
|
bool "32"
|
|
endchoice
|
|
|
|
config EXAMPLE_SSD1306_HEIGHT
|
|
int
|
|
default 64 if EXAMPLE_SSD1306_HEIGHT_64
|
|
default 32 if EXAMPLE_SSD1306_HEIGHT_32
|
|
endif
|
|
|
|
endmenu
|