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:
parent
0547395eb5
commit
f28619fde6
|
@ -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
|
||||||
|
|
|
@ -63,14 +63,20 @@ menu "Hardware Drivers Config"
|
||||||
|
|
||||||
menu "Board extended module drivers"
|
menu "Board extended module drivers"
|
||||||
|
|
||||||
choice
|
config BOARD_USING_LCM
|
||||||
prompt "Select LCD panel devices.(Over VPOST)"
|
bool "Use LCD panel."
|
||||||
|
default y
|
||||||
|
|
||||||
|
if BOARD_USING_LCM
|
||||||
|
|
||||||
|
choice
|
||||||
|
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.
|
||||||
|
|
||||||
|
@ -87,15 +93,15 @@ menu "Hardware Drivers Config"
|
||||||
select LCM_USING_FW070TFT_WSVGA
|
select LCM_USING_FW070TFT_WSVGA
|
||||||
help
|
help
|
||||||
Choose this option if you use 7" 1024x600x32b LCD panel.
|
Choose this option if you use 7" 1024x600x32b LCD panel.
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
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"
|
||||||
|
|
Loading…
Reference in New Issue