Skip to content

Commit 46f0557

Browse files
committed
libraries(WBA): Add GPIO EXTI support
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent c20e411 commit 46f0557

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/SrcWrapper/src/stm32/interrupt.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ static gpio_irq_conf_str gpio_irq_conf[NB_EXTI] = {
7070
{.irqnb = EXTI4_15_IRQn, .callback = NULL}, //GPIO_PIN_13
7171
{.irqnb = EXTI4_15_IRQn, .callback = NULL}, //GPIO_PIN_14
7272
{.irqnb = EXTI4_15_IRQn, .callback = NULL} //GPIO_PIN_15
73-
#elif defined (STM32H5xx) || defined (STM32MP1xx) || defined (STM32L5xx) || defined (STM32U5xx)
73+
#elif defined (STM32H5xx) || defined (STM32MP1xx) || defined (STM32L5xx) ||\
74+
defined (STM32U5xx) || defined (STM32WBAxx)
7475
{.irqnb = EXTI0_IRQn, .callback = NULL}, //GPIO_PIN_0
7576
{.irqnb = EXTI1_IRQn, .callback = NULL}, //GPIO_PIN_1
7677
{.irqnb = EXTI2_IRQn, .callback = NULL}, //GPIO_PIN_2

0 commit comments

Comments
 (0)