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

tests/drivers/clock_control: stm32_common: Test HCLCK instead of SYSCLK



Rework test_*_freq to test HCLK freq instead of SYSCLK one, as it is not
correct to compare CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC with SYSCLK.

Additionally, add a test to verify use of AHB prescaler.

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