From 90d0eb7947147600bd68c149414fa4605c854b0f Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Tue, 16 Mar 2021 09:03:42 +0100 Subject: [PATCH] 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 --- soc/arm/st_stm32/common/Kconfig.defconfig.series | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/soc/arm/st_stm32/common/Kconfig.defconfig.series b/soc/arm/st_stm32/common/Kconfig.defconfig.series index c4b5ef19f0d..146bb7208c8 100644 --- a/soc/arm/st_stm32/common/Kconfig.defconfig.series +++ b/soc/arm/st_stm32/common/Kconfig.defconfig.series @@ -8,8 +8,7 @@ if SOC_FAMILY_STM32 config CORTEX_M_SYSTICK - bool - depends on !STM32_LPTIM_TIMER + default n if STM32_LPTIM_TIMER # set the tick per sec as a divider of the LPTIM clock source config SYS_CLOCK_TICKS_PER_SEC