Browse Source

boards/nucleo-l053: configure RTC

master
joris 6 years ago
parent
commit
fa2b1511a2
  1. 1
      boards/nucleo-l053/Makefile.features
  2. 2
      boards/nucleo-l053/include/periph_conf.h

1
boards/nucleo-l053/Makefile.features

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

2
boards/nucleo-l053/include/periph_conf.h

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

Loading…
Cancel
Save