diff --git a/boards/stm32f469i-disco/Kconfig b/boards/stm32f469i-disco/Kconfig index ba7e228b5d..5aa94f4556 100644 --- a/boards/stm32f469i-disco/Kconfig +++ b/boards/stm32f469i-disco/Kconfig @@ -8,6 +8,7 @@ config BOARD_STM32F469I_DISCO # MCU peripherals (in alphabetical order) select HAS_PERIPH_ADC + select HAS_PERIPH_DAC select HAS_PERIPH_DMA select HAS_PERIPH_I2C select HAS_PERIPH_PWM diff --git a/boards/stm32f469i-disco/Makefile.features b/boards/stm32f469i-disco/Makefile.features index eab554de8c..65ff88110c 100644 --- a/boards/stm32f469i-disco/Makefile.features +++ b/boards/stm32f469i-disco/Makefile.features @@ -3,6 +3,7 @@ CPU_MODEL = stm32f469ni # MCU peripherals (in alphabetical order) FEATURES_PROVIDED += periph_adc +FEATURES_PROVIDED += periph_dac FEATURES_PROVIDED += periph_dma FEATURES_PROVIDED += periph_i2c FEATURES_PROVIDED += periph_rtc diff --git a/boards/stm32f469i-disco/include/periph_conf.h b/boards/stm32f469i-disco/include/periph_conf.h index c88b432016..dceeff9271 100644 --- a/boards/stm32f469i-disco/include/periph_conf.h +++ b/boards/stm32f469i-disco/include/periph_conf.h @@ -241,6 +241,23 @@ static const adc_conf_t adc_config[] = { #define ADC_NUMOF ARRAY_SIZE(adc_config) /** @} */ +/** + * @brief DAC configuration + * @{ + */ +static const dac_conf_t dac_config[] = { + {GPIO_PIN(PORT_A, 4), .chan = 0}, + {GPIO_PIN(PORT_A, 5), .chan = 1}, +}; +/** @}*/ + +/** + * @brief Number of DACs + * @{ + */ +#define DAC_NUMOF ARRAY_SIZE(dac_config) +/** @} */ + #ifdef __cplusplus } #endif