work1
Dependencies: mbed MAX44009 mbed-os Si7021
Diff: mbed-allow-rtc-interrupt.patch
- Revision:
- 0:d3e390d62607
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-allow-rtc-interrupt.patch Wed May 27 11:37:29 2020 +0000 @@ -0,0 +1,13 @@ +diff --git a/targets/TARGET_STM/rtc_api.c b/targets/TARGET_STM/rtc_api.c +index e28a311b84..2c0b13698e 100644 +--- a/targets/TARGET_STM/rtc_api.c ++++ b/targets/TARGET_STM/rtc_api.c +@@ -286,6 +286,7 @@ static void RTC_IRQHandler(void) + { + /* Update HAL state */ + RtcHandle.Instance = RTC; ++ HAL_RTC_AlarmIRQHandler(&RtcHandle); + if (__HAL_RTC_WAKEUPTIMER_GET_IT(&RtcHandle, RTC_IT_WUT)) { + /* Get the status of the Interrupt */ + if ((uint32_t)(RTC->CR & RTC_IT_WUT) != (uint32_t)RESET) { +