From 98b38b35238e08618430470bef3d95f0cb45ce9e Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Wed, 25 Aug 2021 10:33:53 +0200 Subject: [PATCH] bsp: add support for the STM32U5xx soc Signed-off-by: Frederic Pillon --- src/rtc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rtc.h b/src/rtc.h index 0553cd3..63a13ee 100644 --- a/src/rtc.h +++ b/src/rtc.h @@ -96,7 +96,8 @@ typedef void(*voidCallbackPtr)(void *); #define PREDIVS_MAX (RTC_PRER_PREDIV_S >> RTC_PRER_PREDIV_S_Pos) #endif /* !STM32F1xx */ -#if defined(STM32F0xx) || defined(STM32L0xx) || defined(STM32L5xx) +#if defined(STM32F0xx) || defined(STM32L0xx) || \ + defined(STM32L5xx) || defined(STM32U5xx) #define RTC_Alarm_IRQn RTC_IRQn #define RTC_Alarm_IRQHandler RTC_IRQHandler #endif