bumblebee use eclic_mtip_handler as systick handler

This commit is contained in:
acevest
2019-10-16 18:16:42 +08:00
parent f41e287c2a
commit f4d5ff70b2
3 changed files with 6 additions and 18 deletions

View File

@@ -1,5 +1,7 @@
#include "tos.h"
void SysTick_IRQHandler() {
// systick handler
void eclic_mtip_handler() {
port_systick_config((uint32_t)k_cpu_cycle_per_tick);
if (tos_knl_is_running()) {
tos_knl_irq_enter();