Skip to content
Commit d8f5ef72 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Carles Cufí
Browse files

tests/drivers/clock_control: stm32u5: Rework to explicitly test HCLK



Instead of testing SysClockFreq setting, we should instead check HCLK
setting which is the real zephyr CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
counterpart (core clock freq) and takes AHB prescaler setting into
account.

Additionally, update one test configuration to explicitly verify AHB
prescaler is correctly taken into account by clock driver.

Signed-off-by: default avatarErwan Gouriou <erwan.gouriou@linaro.org>
parent efd8ee46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment