Skip to content

Commit e2c157a

Browse files
committed
bsp: add support for the STM32U5xx soc
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 1c05666 commit e2c157a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rtc.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ typedef void(*voidCallbackPtr)(void *);
9696
#define PREDIVS_MAX (RTC_PRER_PREDIV_S >> RTC_PRER_PREDIV_S_Pos)
9797
#endif /* !STM32F1xx */
9898

99-
#if defined(STM32F0xx) || defined(STM32L0xx) || defined(STM32L5xx)
99+
#if defined(STM32F0xx) || defined(STM32L0xx) || \
100+
defined(STM32L5xx) || defined(STM32U5xx)
100101
#define RTC_Alarm_IRQn RTC_IRQn
101102
#define RTC_Alarm_IRQHandler RTC_IRQHandler
102103
#endif

0 commit comments

Comments
 (0)