diff --git a/boards/nucleo-l432kc/Makefile.features b/boards/nucleo-l432kc/Makefile.features index a0c1c07920..3c23d54be9 100644 --- a/boards/nucleo-l432kc/Makefile.features +++ b/boards/nucleo-l432kc/Makefile.features @@ -2,6 +2,7 @@ CPU = stm32 CPU_MODEL = stm32l432kc # Put defined MCU peripherals here (in alphabetical order) +FEATURES_PROVIDED += periph_adc FEATURES_PROVIDED += periph_can FEATURES_PROVIDED += periph_i2c FEATURES_PROVIDED += periph_pwm diff --git a/boards/nucleo-l432kc/include/periph_conf.h b/boards/nucleo-l432kc/include/periph_conf.h index ba841b9876..9990dec58b 100644 --- a/boards/nucleo-l432kc/include/periph_conf.h +++ b/boards/nucleo-l432kc/include/periph_conf.h @@ -115,6 +115,10 @@ static const spi_conf_t spi_config[] = { #define SPI_NUMOF ARRAY_SIZE(spi_config) /** @} */ +static const adc_conf_t adc_config[] = {{}}; + +#define ADC_NUMOF ARRAY_SIZE(adc_config) + #ifdef __cplusplus } #endif