kernel: remove tickless idle
This feature predated the tickless kernel and has been in legacy mode for a while. We now have no drivers or systems that do not support tickless, so remove this option and cleanup the code to only use tickless. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
c5d6bdb404
commit
c076d94eec
17 changed files with 22 additions and 764 deletions
|
@ -172,8 +172,7 @@ void sys_clock_set_timeout(int32_t ticks, bool idle)
|
|||
* the counter. (Note: we can assume if idle==true that
|
||||
* interrupts are already disabled)
|
||||
*/
|
||||
if (IS_ENABLED(CONFIG_TICKLESS_IDLE) && idle
|
||||
&& ticks == K_TICKS_FOREVER) {
|
||||
if (IS_ENABLED(CONFIG_TICKLESS_KERNEL) && idle && ticks == K_TICKS_FOREVER) {
|
||||
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
||||
last_load = TIMER_STOPPED;
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue