drivers: timer: improve sys_timer_disable usage
- Remove the weak symbol definition - Notify about the capability of disabling via a selected Kconfig option (CONFIG_SYSTEM_TIMER_HAS_DISABLE_SUPPORT) - Provide a dummy inline function when the functionality is not available Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
24a169e329
commit
78dc8ce338
10 changed files with 28 additions and 20 deletions
|
@ -16,6 +16,7 @@ config CORTEX_M_SYSTICK
|
|||
$(dt_compat_enabled,$(DT_COMPAT_ARM_V8M_SYSTICK)) || \
|
||||
$(dt_compat_enabled,$(DT_COMPAT_ARM_V8_1M_SYSTICK))
|
||||
select TICKLESS_CAPABLE
|
||||
select SYSTEM_TIMER_HAS_DISABLE_SUPPORT
|
||||
help
|
||||
This module implements a kernel device driver for the Cortex-M processor
|
||||
SYSTICK timer and provides the standard "system clock driver" interfaces.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue