Skip to content
Commit 16c11138 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Fabio Baltieri
Browse files

drivers: timer: stm32: Adapt SYS_CLOCK_TICKS_PER_SEC



When using LPTIM as tick source, tick freq (SYS_CLOCK_TICKS_PER_SEC)
needs to be adapted to get a precise tick to LPTIM freq ratio.

This adaptation was done easily using Kconfig up to now (under
soc/st_stm32/common/Kconfig.defconfig.series).
Since driver is configured using device tree, this method should
be adapted. For the LSI case (default Kconfig case), rely on the
existing mecanism, which is also still used by OOT users.
For the LSE case, force the value manually in boards forlder.

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