]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/qtest: Check STM32L4x5 clock connections
authorInès Varhol <ines.varhol@telecom-paris.fr>
Mon, 14 Oct 2024 16:05:52 +0000 (17:05 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Oct 2024 10:29:46 +0000 (11:29 +0100)
commit88446cfe064440948e91415886517dd5aac07dc6
treebed08a84a31468932311620fb1a743511f442795
parent9240d65e0e205b2a6df5e304e64451c32995b878
tests/qtest: Check STM32L4x5 clock connections

For USART, GPIO and SYSCFG devices, check that clock frequency before
and after enabling the peripheral clock in RCC is correct.

Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Luc Michel <luc@lmichel.fr>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20241003081105.40836-4-ines.varhol@telecom-paris.fr
[PMM: Added missing qtest_quit() call]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tests/qtest/stm32l4x5.h [new file with mode: 0644]
tests/qtest/stm32l4x5_gpio-test.c
tests/qtest/stm32l4x5_syscfg-test.c
tests/qtest/stm32l4x5_usart-test.c