Browse Source

boards: nucleo-f401: add RTC config

pr/rotary
Kaspar Schleiser 6 years ago
parent
commit
645ff47bfd
  1. 1
      boards/nucleo-f401/Makefile.features
  2. 7
      boards/nucleo-f401/include/periph_conf.h

1
boards/nucleo-f401/Makefile.features

@ -3,6 +3,7 @@ FEATURES_PROVIDED += periph_cpuid
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_gpio
FEATURES_PROVIDED += periph_pwm
FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart

7
boards/nucleo-f401/include/periph_conf.h

@ -223,6 +223,13 @@ static const spi_conf_t spi_config[] = {
#define DAC_NUMOF (0)
/** @} */
/**
* @name RTC configuration
* @{
*/
#define RTC_NUMOF (1)
/** @} */
#ifdef __cplusplus
}
#endif

Loading…
Cancel
Save