diff --git a/boards/nucleo-f070rb/Kconfig b/boards/nucleo-f070rb/Kconfig index d7247820d2..d1270af5a8 100644 --- a/boards/nucleo-f070rb/Kconfig +++ b/boards/nucleo-f070rb/Kconfig @@ -16,9 +16,11 @@ config BOARD_NUCLEO_F070RB # Put defined MCU peripherals here (in alphabetical order) select HAS_PERIPH_ADC + select HAS_PERIPH_DMA select HAS_PERIPH_I2C select HAS_PERIPH_PWM select HAS_PERIPH_RTC + select HAS_PERIPH_SPI select HAS_PERIPH_TIMER select HAS_PERIPH_UART diff --git a/boards/nucleo-f070rb/Makefile.features b/boards/nucleo-f070rb/Makefile.features index 52347c9e8f..450efe912c 100644 --- a/boards/nucleo-f070rb/Makefile.features +++ b/boards/nucleo-f070rb/Makefile.features @@ -3,12 +3,14 @@ CPU_MODEL = stm32f070rb # Put defined MCU peripherals here (in alphabetical order) FEATURES_PROVIDED += periph_adc +FEATURES_PROVIDED += periph_dma FEATURES_PROVIDED += periph_i2c FEATURES_PROVIDED += periph_pwm # For RTC, Nucleos with MB1136 C-02 or MB1136 C-03 -sticker on it have the # required LSE oscillator provided on the X2 slot. # See Nucleo User Manual UM1724 section 5.6.2. FEATURES_PROVIDED += periph_rtc +FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart diff --git a/boards/nucleo-f070rb/include/periph_conf.h b/boards/nucleo-f070rb/include/periph_conf.h index ca117e8eb5..2127ece9ef 100644 --- a/boards/nucleo-f070rb/include/periph_conf.h +++ b/boards/nucleo-f070rb/include/periph_conf.h @@ -148,6 +148,10 @@ static const adc_conf_t adc_config[] = { #define ADC_NUMOF ARRAY_SIZE(adc_config) /** @} */ +static const spi_conf_t spi_config[] = {{},}; + +#define SPI_NUMOF ARRAY_SIZE(spi_config) + #ifdef __cplusplus } #endif