Commit 8e02c4cd authored by Pavlo Hamov's avatar Pavlo Hamov Committed by Maureen Helm
Browse files

shell: adc: support cc322xx



Control cc322xx ADC from shell

Signed-off-by: default avatarPavlo Hamov <pasha.gamov@gmail.com>
parent 8bc2ef45
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -29,6 +29,8 @@
#define DT_DRV_COMPAT st_stm32_adc
#elif DT_HAS_COMPAT_STATUS_OKAY(nuvoton_npcx_adc)
#define DT_DRV_COMPAT nuvoton_npcx_adc
#elif DT_HAS_COMPAT_STATUS_OKAY(ti_cc32xx_adc)
#define DT_DRV_COMPAT ti_cc32xx_adc
#else
#error No known devicetree compatible match for ADC shell
#endif