Update menu-option.

1. Set BOARD_USING_LCM is on by default.
2. Fix default value setting in choice-option.
This commit is contained in:
Wayne Lin 2022-01-10 15:53:24 +08:00
parent 0547395eb5
commit f28619fde6
2 changed files with 17 additions and 9 deletions

View File

@ -941,6 +941,7 @@ CONFIG_BOARD_USING_USB1_HOST=y
# #
# Board extended module drivers # Board extended module drivers
# #
CONFIG_BOARD_USING_LCM=y
CONFIG_BOARD_USING_LCM_FW070TFT_WVGA=y CONFIG_BOARD_USING_LCM_FW070TFT_WVGA=y
# CONFIG_BOARD_USING_LCM_FW043TFT_HVGA is not set # CONFIG_BOARD_USING_LCM_FW043TFT_HVGA is not set
# CONFIG_BOARD_USING_LCM_FW070TFT_WSVGA is not set # CONFIG_BOARD_USING_LCM_FW070TFT_WSVGA is not set

View File

@ -63,14 +63,20 @@ menu "Hardware Drivers Config"
menu "Board extended module drivers" menu "Board extended module drivers"
config BOARD_USING_LCM
bool "Use LCD panel."
default y
if BOARD_USING_LCM
choice choice
prompt "Select LCD panel devices.(Over VPOST)" prompt "Select LCD panel devices.(Over VPOST)"
default BOARD_USING_LCM_FW070TFT_WVGA
config BOARD_USING_LCM_FW070TFT_WVGA config BOARD_USING_LCM_FW070TFT_WVGA
bool "NuDesign TFT-LCD7-WVGA" bool "NuDesign TFT-LCD7-WVGA"
select BSP_USING_VPOST select BSP_USING_VPOST
select LCM_USING_FW070TFT select LCM_USING_FW070TFT
default y
help help
Choose this option if you use 7" 800x480x32b LCD panel. Choose this option if you use 7" 800x480x32b LCD panel.
@ -91,11 +97,11 @@ menu "Hardware Drivers Config"
choice choice
prompt "Select Touch devices." prompt "Select Touch devices."
default BOARD_USING_ADCTOUCH
config BOARD_USING_ADCTOUCH config BOARD_USING_ADCTOUCH
bool "ADC touching" bool "ADC touching"
select BSP_USING_ADC_TOUCH select BSP_USING_ADC_TOUCH
default y
help help
Choose this option if you use internal ADC touching function. Choose this option if you use internal ADC touching function.
@ -106,9 +112,10 @@ menu "Hardware Drivers Config"
select PKG_USING_GT911 select PKG_USING_GT911
help help
Choose this option if you use GT911 external TSC touching function. Choose this option if you use GT911 external TSC touching function.
endchoice endchoice
endif
endmenu endmenu
source "$BSP_DIR/../libraries/nu_packages/Kconfig" source "$BSP_DIR/../libraries/nu_packages/Kconfig"