4extern "C" void vApplicationStackOverflowHook(TaskHandle_t xTask,
char *pcTaskName)
6 static volatile const char *task_name = pcTaskName;
14 if (Timebase::timebase ==
nullptr)
23 uint32_t time_need_to_catch_up = Timebase::GetMilliseconds() - xTaskGetTickCount();
25 if (time_need_to_catch_up > 0)
27 xTaskCatchUpTicks(time_need_to_catch_up);
31void *
operator new(std::size_t size)
35 return pvPortMalloc(size);
37 auto ans = pvPortMalloc(size);
38 ASSERT(ans !=
nullptr);
42void operator delete(
void *ptr)
noexcept { vPortFree(ptr); }
43void operator delete(
void *ptr, std::size_t size)
noexcept
Priority
线程优先级枚举 Enumeration for thread priorities
static uint32_t stack_depth_
线程栈深度 Thread stack depth
static LibXR::Thread::Priority priority_
线程优先级 Thread priority
void PlatformInit()
平台初始化函数 Platform initialization function