Skip to content

Commit 42252f3

Browse files
committed
fix: only some STM32F0 have HAL_RTCEx_WakeUpTimerIRQHandler
Signed-off-by: Frederic Pillon <[email protected]>
1 parent a0c9718 commit 42252f3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/rtc.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,10 @@ void RTC_Alarm_IRQHandler(void)
864864
{
865865
HAL_RTC_AlarmIRQHandler(&RtcHandle);
866866

867-
#if defined(STM32F0xx) || defined(STM32G0xx) || defined(STM32L0xx) || defined(STM32L5xx) || defined(STM32U5xx)
867+
#if defined(STM32F071xB) || defined(STM32F072xB) || defined(STM32F078xx) || \
868+
defined(STM32F091xC) || defined(STM32F098xx) || defined(STM32F070xB) || \
869+
defined(STM32F030xC) || defined(STM32G0xx) || defined(STM32L0xx) || \
870+
defined(STM32L5xx) || defined(STM32U5xx)
868871
// In some cases, the same vector is used to manage WakeupTimer,
869872
// but with a dedicated HAL IRQHandler
870873
HAL_RTCEx_WakeUpTimerIRQHandler(&RtcHandle);

0 commit comments

Comments
 (0)