diff --git a/configs/stm32l476vg-disco/nsh/defconfig b/configs/stm32l476vg-disco/nsh/defconfig index 1ad001dd86..78242a4deb 100644 --- a/configs/stm32l476vg-disco/nsh/defconfig +++ b/configs/stm32l476vg-disco/nsh/defconfig @@ -543,7 +543,8 @@ CONFIG_SPI_EXCHANGE=y # CONFIG_TIMER is not set CONFIG_RTC=y CONFIG_RTC_DATETIME=y -# CONFIG_RTC_ALARM is not set +CONFIG_RTC_ALARM=y +CONFIG_RTC_NALARMS=2 CONFIG_RTC_DRIVER=y CONFIG_RTC_IOCTL=y # CONFIG_RTC_EXTERNAL is not set @@ -834,6 +835,11 @@ CONFIG_BUILTIN_PROXY_STACKSIZE=1024 # # Examples # +CONFIG_EXAMPLES_ALARM=y +CONFIG_EXAMPLES_ALARM_PRIORITY=100 +CONFIG_EXAMPLES_ALARM_STACKSIZE=2048 +CONFIG_EXAMPLES_ALARM_DEVPATH="/dev/rtc0" +CONFIG_EXAMPLES_ALARM_SIGNO=1 CONFIG_EXAMPLES_BUTTONS=y CONFIG_EXAMPLES_BUTTONS_MIN=0 CONFIG_EXAMPLES_BUTTONS_MAX=4