Skip to content

Commit b749127

Browse files
hywingRbb666
authored andcommitted
[feat] add an entry for ADC0 in RT-Thread Studio Settings
1 parent cb5b488 commit b749127

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

projects/project_0/board/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,16 @@ menu "Hardware Drivers Config"
148148
endif
149149
endif
150150

151+
menuconfig BSP_USING_ADC
152+
bool "Enable ADC"
153+
default n
154+
select RT_USING_ADC
155+
if BSP_USING_ADC
156+
config BSP_USING_ADC0
157+
bool "Enable ADC0"
158+
default n
159+
endif
160+
151161
menuconfig BSP_USING_FS
152162
bool "Enable filesystem"
153163
default n

0 commit comments

Comments
 (0)