666cf22c60
The selection of the Cortex M systick driver to be used as a system clock driver is controlled by CONFIG_CORTEX_M_SYSTICK. To replace it by another driver CONFIG_CORTEX_M_SYSTICK must be set to 'n'. Unfortunately this also controls the interrupt vector for the systick interrupt. It is now routed to __reserved. More bad the interrupt vector can not be set by IRQ_CONNECT as it is one of the hard coded interrupts in the interrupt table. Route the hard coded systick interrupt to z_clock_isr and make z_clock_isr a weak symbol that can be overwritten by an alternative systick system clock driver. Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
altera_avalon_timer_hal.c | ||
arcv2_timer0.c | ||
cortex_m_systick.c | ||
hpet.c | ||
legacy_api.h | ||
loapic_timer.c | ||
native_posix_timer.c | ||
nrf_rtc_timer.c | ||
riscv_machine_timer.c | ||
rv32m1_lptmr_timer.c | ||
sam0_rtc_timer.c | ||
sys_clock_init.c | ||
xtensa_sys_timer.c |