2022-11-03 10:26:05 +01:00
|
|
|
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
|
|
|
|
|
2023-11-07 17:09:35 +08:00
|
|
|
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
|
|
|
|
|
2022-11-03 10:26:05 +01:00
|
|
|
endmenu
|