shell: adc: support cc322xx
Control cc322xx ADC from shell Signed-off-by: Pavlo Hamov <pasha.gamov@gmail.com>
This commit is contained in:
parent
8bc2ef4538
commit
8e02c4cdf4
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue