diff options
Diffstat (limited to 'bsp/raspberry-pico/libraries/Kconfig')
| -rw-r--r-- | bsp/raspberry-pico/libraries/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bsp/raspberry-pico/libraries/Kconfig b/bsp/raspberry-pico/libraries/Kconfig index e1e1e93edd..bd1cd56a9a 100644 --- a/bsp/raspberry-pico/libraries/Kconfig +++ b/bsp/raspberry-pico/libraries/Kconfig @@ -97,7 +97,22 @@ menu "On-chip Peripheral Drivers" range 0 28 default 12 endif + endif + menuconfig BSP_USING_ADC + bool "Enable ADC" + default n + select RT_USING_ADC + if BSP_USING_ADC + config BSP_USING_ADC0 + bool "Enable ADC0 (GP26)" + default n + config BSP_USING_ADC1 + bool "Enable ADC1 (GP27)" + default n + config BSP_USING_ADC2 + bool "Enable ADC2 (GP28)" + default n endif endmenu |
