Browse Source

boards/nucleo32-l031: configure RTC

master
joris 6 years ago
parent
commit
2135dcc70c
  1. 1
      boards/nucleo32-l031/Makefile.features
  2. 2
      boards/nucleo32-l031/include/periph_conf.h

1
boards/nucleo32-l031/Makefile.features

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

2
boards/nucleo32-l031/include/periph_conf.h

@ -167,7 +167,7 @@ static const spi_conf_t spi_config[] = {
* @name RTC configuration
* @{
*/
#define RTC_NUMOF (0U)
#define RTC_NUMOF (1U)
/** @} */
#ifdef __cplusplus

Loading…
Cancel
Save