基于NIOS II的uC/OS系統(tǒng)的開發(fā)
LED_TASK_PRIORITY,
LED_TASK_PRIORITY,
led_task_stk,
TASK_STACKSIZE,
NULL,
0);
return_code = OSTaskCreateExt(seg_task,
NULL,
(
void
*)seg_task_stk[TASK_STACKSIZE],
SEG_TASK_PRIORITY,
SEG_TASK_PRIORITY,
seg_task_stk,
TASK_STACKSIZE,
NULL,
0);
return
0;
}
評論