From 2135dcc70c331b77efdd8cde717070fcec54893d Mon Sep 17 00:00:00 2001
From: joris <laborde.joris@gmail.com>
Date: Fri, 2 Jun 2017 20:23:38 +0200
Subject: [PATCH] boards/nucleo32-l031: configure RTC

---
 boards/nucleo32-l031/Makefile.features     | 1 +
 boards/nucleo32-l031/include/periph_conf.h | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/boards/nucleo32-l031/Makefile.features b/boards/nucleo32-l031/Makefile.features
index 5a03b928bd..f2ce7419b6 100644
--- a/boards/nucleo32-l031/Makefile.features
+++ b/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
diff --git a/boards/nucleo32-l031/include/periph_conf.h b/boards/nucleo32-l031/include/periph_conf.h
index 3559af3a52..720b91f2c7 100644
--- a/boards/nucleo32-l031/include/periph_conf.h
+++ b/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
-- 
GitLab