File tree Expand file tree Collapse file tree 2 files changed +17
-9
lines changed
Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -941,6 +941,7 @@ CONFIG_BOARD_USING_USB1_HOST=y
941941#
942942# Board extended module drivers
943943#
944+ CONFIG_BOARD_USING_LCM=y
944945CONFIG_BOARD_USING_LCM_FW070TFT_WVGA=y
945946# CONFIG_BOARD_USING_LCM_FW043TFT_HVGA is not set
946947# CONFIG_BOARD_USING_LCM_FW070TFT_WSVGA is not set
Original file line number Diff line number Diff line change @@ -63,14 +63,20 @@ menu "Hardware Drivers Config"
6363
6464 menu "Board extended module drivers"
6565
66- choice
67- prompt "Select LCD panel devices.(Over VPOST)"
66+ config BOARD_USING_LCM
67+ bool "Use LCD panel."
68+ default y
69+
70+ if BOARD_USING_LCM
71+
72+ choice
73+ prompt "Select LCD panel devices.(Over VPOST)"
74+ default BOARD_USING_LCM_FW070TFT_WVGA
6875
6976 config BOARD_USING_LCM_FW070TFT_WVGA
7077 bool "NuDesign TFT-LCD7-WVGA"
7178 select BSP_USING_VPOST
7279 select LCM_USING_FW070TFT
73- default y
7480 help
7581 Choose this option if you use 7" 800x480x32b LCD panel.
7682
@@ -87,15 +93,15 @@ menu "Hardware Drivers Config"
8793 select LCM_USING_FW070TFT_WSVGA
8894 help
8995 Choose this option if you use 7" 1024x600x32b LCD panel.
90- endchoice
96+ endchoice
9197
92- choice
93- prompt "Select Touch devices."
98+ choice
99+ prompt "Select Touch devices."
100+ default BOARD_USING_ADCTOUCH
94101
95102 config BOARD_USING_ADCTOUCH
96103 bool "ADC touching"
97104 select BSP_USING_ADC_TOUCH
98- default y
99105 help
100106 Choose this option if you use internal ADC touching function.
101107
@@ -106,9 +112,10 @@ menu "Hardware Drivers Config"
106112 select PKG_USING_GT911
107113 help
108114 Choose this option if you use GT911 external TSC touching function.
115+ endchoice
109116
110- endchoice
111-
117+ endif
118+
112119 endmenu
113120
114121 source "$BSP_DIR/../libraries/nu_packages/Kconfig"
You can’t perform that action at this time.
0 commit comments