tests/qtest/stm32l4x5_rcc-test.c: Add tests for the STM32L4x5_RCC
authorArnaud Minier <arnaud.minier@telecom-paris.fr>
Sun, 3 Mar 2024 14:06:43 +0000 (15:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Mar 2024 13:22:56 +0000 (13:22 +0000)
commit13d6c073f067d3465010eb54cc908c05ffbc84f1
tree39f9d162581711716bc267ed00ec8304dbbee9fe
parent60849fe4a79df0834c86aaa6669e1b64feb6150e
tests/qtest/stm32l4x5_rcc-test.c: Add tests for the STM32L4x5_RCC

Tests:
- the ability to change the sysclk of the device
- the ability to enable/disable/configure the PLLs
- if the clock multiplexers work
- the register flags and the generation of irqs

Signed-off-by: Arnaud Minier <arnaud.minier@telecom-paris.fr>
Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-id: 20240303140643.81957-9-arnaud.minier@telecom-paris.fr
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
tests/qtest/meson.build
tests/qtest/stm32l4x5_rcc-test.c [new file with mode: 0644]