mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-12 05:11:58 +00:00
The ticker was always initialized in the NANOKERNEL init level. In a microkernel, this can cause problems if for the some reason the initialization of the microkernel server is delayed, such as devices initialization in the NANOKERNEL level taking non-insignificant time to complete. What happens in that case is the ticker ISR will start firing and piling up events in the microkernel server stack, and quite quickly overrun it, since it has a finite size, causing random crashes. So, in the microkernel, initialize the ticker once the microkernel server is available. There is no point in sending ticker event before anyway. Change-Id: Ie9e13184f6ad35954023faf3bbff26242284b7be Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com> |
||
---|---|---|
.. | ||
arcv2_timer0.c | ||
cortex_m_systick_gdb.S | ||
cortex_m_systick.c | ||
hpet.c | ||
Kconfig | ||
loapic_timer.c | ||
Makefile | ||
sys_clock_init.c |