#include "wm_hal.h" #include "FreeRTOS.h" #include "task.h" #include "FreeRTOSConfig.h" #define readl(addr) ({unsigned int __v = (*(volatile unsigned int *) (addr)); __v;}) __attribute__((isr)) void CORET_IRQHandler(void) { readl(0xE000E010); HAL_IncTick(); #if (INCLUDE_xTaskGetSchedulerState == 1) if (xTaskGetSchedulerState() != taskSCHEDULER_NOT_STARTED) { #endif xPortSysTickHandler(); #if (INCLUDE_xTaskGetSchedulerState == 1) } #endif }