build/configs/stm32l4r9ai-disco: Enable STM32L4_RTC config
@@ -239,7 +239,7 @@ CONFIG_STM32L4_HAVE_OTGFS=y
# CONFIG_STM32L4_HAVE_USBFS is not set
CONFIG_STM32L4_HAVE_SAI1=y
CONFIG_STM32L4_HAVE_SAI2=y
-# CONFIG_STM32L4_RTC is not set
+CONFIG_STM32L4_RTC=y
CONFIG_STM32L4_HAVE_SDMMC1=y
CONFIG_STM32L4_HAVE_TIM3=y
CONFIG_STM32L4_HAVE_TIM4=y
@@ -349,6 +349,18 @@ CONFIG_STM32L4_FLASH_PREFETCH=y
# CONFIG_ARCH_BOARD_STM32L4_CUSTOM_CLOCKCONFIG is not set
CONFIG_STM32L4_HAVE_RTC_SUBSECONDS=y
+#
+# RTC Configuration
+#
+CONFIG_STM32L4_RTC_MAGIC_REG=0
+CONFIG_STM32L4_RTC_MAGIC=0xfacefeed
+CONFIG_STM32L4_RTC_MAGIC_TIME_SET=0xf00dface
+CONFIG_STM32L4_RTC_LSECLOCK=y
+# CONFIG_STM32L4_RTC_LSICLOCK is not set
+# CONFIG_STM32L4_RTC_HSECLOCK is not set
+CONFIG_STM32L4_RTC_LSECLOCK_START_DRV_CAPABILITY=0
+CONFIG_STM32L4_RTC_LSECLOCK_RUN_DRV_CAPABILITY=0
+
#
# Timer Configuration
#
@@ -682,7 +694,11 @@ CONFIG_FB_OVERLAY=y
#
# CONFIG_LCD is not set
# CONFIG_BCH is not set
-# CONFIG_RTC is not set
+CONFIG_RTC=y
+CONFIG_RTC_DATETIME=y
+CONFIG_RTC_ALARM=y
+CONFIG_RTC_DRIVER=y
+CONFIG_RTC_IOCTL=y
# CONFIG_WATCHDOG is not set
# CONFIG_TIMER is not set
# CONFIG_ANALOG is not set
