Skip to content

Commit f3fd686

Browse files
soburicarlescufi
authored andcommitted
drivers: adc: shell: Support RaspberryPi Pico ADC
Add ADC shell support for RaspberryPi Pico. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 519af86 commit f3fd686

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/adc/adc_shell.c

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
#define DT_DRV_COMPAT nuvoton_npcx_adc
3838
#elif DT_HAS_COMPAT_STATUS_OKAY(ti_cc32xx_adc)
3939
#define DT_DRV_COMPAT ti_cc32xx_adc
40+
#elif DT_HAS_COMPAT_STATUS_OKAY(raspberrypi_pico_adc)
41+
#define DT_DRV_COMPAT raspberrypi_pico_adc
4042
#elif DT_HAS_COMPAT_STATUS_OKAY(zephyr_adc_emul)
4143
#define DT_DRV_COMPAT zephyr_adc_emul
4244
#else

0 commit comments

Comments
 (0)