diff --git a/boards/nucleo-f091/Makefile.features b/boards/nucleo-f091/Makefile.features index 8201686d72..5942339b26 100644 --- a/boards/nucleo-f091/Makefile.features +++ b/boards/nucleo-f091/Makefile.features @@ -1,4 +1,5 @@ # Put defined MCU peripherals here (in alphabetical order) +FEATURES_PROVIDED += periph_adc FEATURES_PROVIDED += periph_cpuid FEATURES_PROVIDED += periph_gpio FEATURES_PROVIDED += periph_pwm diff --git a/boards/nucleo-f091/include/periph_conf.h b/boards/nucleo-f091/include/periph_conf.h index b35cb8f36f..01daa4c93d 100644 --- a/boards/nucleo-f091/include/periph_conf.h +++ b/boards/nucleo-f091/include/periph_conf.h @@ -139,9 +139,17 @@ static const pwm_conf_t pwm_config[] = { * @brief ADC configuration * @{ */ -#define ADC_NUMOF (0) -/** @} */ +#define ADC_CONFIG { \ + { GPIO_PIN(PORT_A, 0), 0 },\ + { GPIO_PIN(PORT_A, 1), 1 },\ + { GPIO_PIN(PORT_A, 4), 4 },\ + { GPIO_PIN(PORT_B, 0), 8 },\ + { GPIO_PIN(PORT_C, 1), 11 },\ + { GPIO_PIN(PORT_C, 0), 10 } \ +} +#define ADC_NUMOF (6) +/** @} */ /** * @brief DAC configuration * @{