HI,master
sdk:psdk_rtos_auto_j7_07_00_00_11
mcuss can_profile_app The CanApp_TaskFxn function is not scheduled by the system. after 'BIOS_start' .
main_tirtos.c
int main(void)
{
...
Task_Params_init(&taskParams);
taskParams.instance->name = CAN_PROFILE_DEMO_TASK_NAME;
/* Set the task priority higher than the default priority (1) */
taskParams.priority = 2;
taskParams.stack = CanApp_TaskStack;
taskParams.stackSize = sizeof (CanApp_TaskStack);
task = Task_create(CanApp_TaskFxn, &taskParams, &eb);
...
BIOS_start(); /* does not return */
}
/*
The CanApp_TaskFxn function is not scheduled by the system
after 'BIOS_start'
*/
static Void CanApp_TaskFxn(UArg a0, UArg a1)
{
AppUtils_Printf(MSG_NORMAL, MSG_APP_NAME
" Enter CanApp_TaskFxn!!!\n");
CanApp_PlatformInit();
run log:
CAN Profile App: AppUtils_Init done !!!
CAN Profile App:Variant - Pre Compile being used !!!
CAN Profile App: Can_Init done !!!
CAN Profile App: Sciclient_init done !!!
CAN Profile App: CanApp_BuildIntList done !!!
CAN Profile App: CanApp_InterruptConfig done !!!
CAN Profile App: AppUtils_ProfileInit done !!!
CAN Profile App: AppUtils_CanSectionInit done !!!
CAN Profile App: CanApp_Startup done !!!
CAN Profile App: CanApp_PowerAndClkSrc done !!!
CAN Profile App: CanIf_Init done !!!
CAN Profile App: Error_init done !!!
CAN Profile App: pre Task_create !!!
CAN Profile App: Task_create done !!!
CAN Profile App:pred BIOS_start !!!
not found "Enter CanApp_TaskFxn!!!" , so i think not scheduled by the system. after 'BIOS_start' .