soc: stm32: Explicitly disable CORTEX_M_SYSTICK if LPTIM enabled
CORTEX_M_SYSTICK should be disabled if LPTIM is selected. Current implementation is not efficient to do so. Rework the way the dependency is stated. Fixes #33342 Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
f2fd0e8bb6
commit
90d0eb7947
1 changed files with 1 additions and 2 deletions
|
@ -8,8 +8,7 @@
|
||||||
if SOC_FAMILY_STM32
|
if SOC_FAMILY_STM32
|
||||||
|
|
||||||
config CORTEX_M_SYSTICK
|
config CORTEX_M_SYSTICK
|
||||||
bool
|
default n if STM32_LPTIM_TIMER
|
||||||
depends on !STM32_LPTIM_TIMER
|
|
||||||
|
|
||||||
# set the tick per sec as a divider of the LPTIM clock source
|
# set the tick per sec as a divider of the LPTIM clock source
|
||||||
config SYS_CLOCK_TICKS_PER_SEC
|
config SYS_CLOCK_TICKS_PER_SEC
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue