Skip to content

Commit 90d0eb7

Browse files
erwangogalak
authored andcommitted
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 <[email protected]>
1 parent f2fd0e8 commit 90d0eb7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

soc/arm/st_stm32/common/Kconfig.defconfig.series

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
if SOC_FAMILY_STM32
99

1010
config CORTEX_M_SYSTICK
11-
bool
12-
depends on !STM32_LPTIM_TIMER
11+
default n if STM32_LPTIM_TIMER
1312

1413
# set the tick per sec as a divider of the LPTIM clock source
1514
config SYS_CLOCK_TICKS_PER_SEC

0 commit comments

Comments
 (0)