diff options
author | Damien George <damien.p.george@gmail.com> | 2018-12-12 12:49:23 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-12-12 12:49:23 +1100 |
commit | 1b4031ed64bcc8cb207fe7b9527a59d527ada5ab (patch) | |
tree | c41a73bf20b49df0b480035d396f50688b302026 | |
parent | 9e5768a6db8cf49e36f773dd97acfa19c187e147 (diff) |
stm32/extint: Use correct EXTI channels on H7 MCUs for RTC events.
-rw-r--r-- | ports/stm32/extint.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/stm32/extint.h b/ports/stm32/extint.h index 792eda19f..7646df731 100644 --- a/ports/stm32/extint.h +++ b/ports/stm32/extint.h @@ -41,6 +41,9 @@ #if defined(STM32F0) || defined(STM32L4) #define EXTI_RTC_TIMESTAMP (19) #define EXTI_RTC_WAKEUP (20) +#elif defined(STM32H7) +#define EXTI_RTC_TIMESTAMP (18) +#define EXTI_RTC_WAKEUP (19) #else #define EXTI_RTC_TIMESTAMP (21) #define EXTI_RTC_WAKEUP (22) |