基于NIOS II的uC/OS系統(tǒng)的開(kāi)發(fā)
作者:
時(shí)間:2016-09-12
來(lái)源:網(wǎng)絡(luò)
收藏
* === FUNCTION ======================================================================
* Name: main
* Description:
* =====================================================================================
*/
int
main (
int
argc,
char
* argv[],
char
* envp[])
{
INT8U return_code = OS_NO_ERR;
return_code = OSTaskCreateExt(initialize_task,
NULL,
(
void
*)initialize_task_stk[TASK_STACKSIZE],
INITIALIZE_TASK_PRIORITY,
INITIALIZE_TASK_PRIORITY,
initialize_task_stk,
TASK_STACKSIZE,
NULL,
0);
OSStart();
return
0;
}
評(píng)論