在任务中创建任务:
#define STARTUP_TASK_PRIO 8
#define STARTUP_TASK_STK_SIZE 80
void SysTick_init ( void ) {
SysTick_Config ( SystemCoreClock / OS_TICKS_PER_SEC );
}
static OS_STK task_testled[STARTUP_TASK_STK_SIZE];
在任务中创建任务:
#define STARTUP_TASK_PRIO 8
#define STARTUP_TASK_STK_SIZE 80
void SysTick_init ( void ) {
SysTick_Config ( SystemCoreClock / OS_TICKS_PER_SEC );
}
static OS_STK task_testled[STARTUP_TASK_STK_SIZE];