Browse Source

drivers: timer: Clean up Cortex-M systick Kconfig

Makes the choice CORTEX_M_SYSTICK_LPM dependent upon the
CORTEX_M_SYSTICK to prevent its default from showing up in
the .config of projects that do not use the CORTEX_M_SYSTICK
timer driver.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
pull/92715/head
Peter Mitsis 3 months ago committed by Dan Kalowsky
parent
commit
ec80ab5bb6
  1. 1
      drivers/timer/Kconfig.cortex_m_systick

1
drivers/timer/Kconfig.cortex_m_systick

@ -45,6 +45,7 @@ config CORTEX_M_SYSTICK_64BIT_CYCLE_COUNTER
choice CORTEX_M_SYSTICK_LPM_TIMER choice CORTEX_M_SYSTICK_LPM_TIMER
prompt "SysTick companion low-power mode timer" prompt "SysTick companion low-power mode timer"
depends on CORTEX_M_SYSTICK
# If all dependencies are enabled, and /chosen/cortex-m-idle-timer # If all dependencies are enabled, and /chosen/cortex-m-idle-timer
# is enabled, default to using the Counter API-based LPM timer. # is enabled, default to using the Counter API-based LPM timer.
# Otherwise, the first choice (LPM_TIMER_NONE) will be selected # Otherwise, the first choice (LPM_TIMER_NONE) will be selected

Loading…
Cancel
Save