stm32/extint: Fix EXTI mapping of PVD and RTC events for H7 MCUs.

This commit is contained in:
iabdalkader 2019-08-23 19:49:10 +02:00 committed by Damien George
parent b3152b2de7
commit 0bec07f32b
1 changed files with 6 additions and 1 deletions

View File

@ -163,7 +163,12 @@ STATIC const uint8_t nvic_irq_channel[EXTI_NUM_VECTORS] = {
EXTI9_5_IRQn, EXTI9_5_IRQn, EXTI9_5_IRQn, EXTI9_5_IRQn, EXTI9_5_IRQn,
EXTI15_10_IRQn, EXTI15_10_IRQn, EXTI15_10_IRQn, EXTI15_10_IRQn, EXTI15_10_IRQn,
EXTI15_10_IRQn,
#if defined(STM32WB)
#if defined(STM32H7)
PVD_AVD_IRQn,
RTC_Alarm_IRQn,
TAMP_STAMP_IRQn,
RTC_WKUP_IRQn,
#elif defined(STM32WB)
PVD_PVM_IRQn,
RTC_Alarm_IRQn,
TAMP_STAMP_LSECSS_IRQn,