| 23 | static volatile unsigned long tick_cycles = 0; |
| 24 | |
| 25 | int tick_isr(void) |
| 26 | { |
| 27 | rt_tick_increase(); |
| 28 | sbi_set_timer(clock_cpu_gettime() + tick_cycles); |
| 29 | return 0; |
| 30 | } |
| 31 | |
| 32 | /* BSP should config clockbase frequency */ |
| 33 | RT_STATIC_ASSERT(defined_clockbase_freq, CPUTIME_TIMER_FREQ != 0); |
no test coverage detected