Tool/software: TI C/C++ Compiler
HI TI,
I'm using TI15.4 collector sample code,
i want add new task.
so i write some code as below
/* Configure task. */
Task_Params_init(&taskParams);
taskParams.stack = appTaskStack;
taskParams.stackSize = APP_TASK_STACK_SIZE;
taskParams.priority = APP_TASK_PRIORITY;
Task_construct(&appTask, appTaskFxn, &taskParams, NULL);
//weli add below begin
Task_Params I2C_taskParams;
Task_Params_init(&I2C_taskParams);
I2C_taskParams.stack = I2C_appTaskStack;
I2C_taskParams.stackSize = APP_I2C_TASK_STACK_SIZE;
I2C_taskParams.priority = APP_I2C_TASK_PRIORITY;
Task_construct(&I2C_appTask, i2c_taskFxn, &I2C_taskParams, NULL);
//weli add below end
.....
.....
.....
Void i2c_taskFxn(UArg a0, UArg a1)
{
while(1)
{
;
;
;
}
}
but i2c_taskFxn never entry.
could you give some hint?
thx.
