]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/arm: In STM32L4x5 SOC, connect USART devices to EXTI
authorInès Varhol <ines.varhol@telecom-paris.fr>
Sun, 7 Jul 2024 08:58:55 +0000 (10:58 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Jul 2024 10:41:34 +0000 (11:41 +0100)
commit29f0bef71a80d05cd19b95fce93833383c2b9aa2
tree3f0f863003bc3bfb77ed094e420694e4161c2f6f
parentbc080002cea5893fcbb0e651f6482f27a19356fb
hw/arm: In STM32L4x5 SOC, connect USART devices to EXTI

The USART devices were previously connecting their outbound IRQs
directly to the CPU because the EXTI wasn't handling direct lines
interrupts.
Now the USART connects to the EXTI inbound GPIOs, and the EXTI connects
its IRQs to the CPU.
The existing QTest for the USART (tests/qtest/stm32l4x5_usart-test.c)
checks that USART1_IRQ in the CPU is pending when expected so it
confirms that the connection through the EXTI still works.

Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20240707085927.122867-4-ines.varhol@telecom-paris.fr
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/stm32l4x5_soc.c