Other Parts Discussed in Thread: SYSBIOS
Hi Experts,
Environment
QNX, vision_apps ,TIRTOS, mcu2_0 , code fold is in kernels;
My issue is creat a timer counter by 'TimerP_creat ', the function TimerP_creat no responed, and the software is dead;
First I use while(1) , my software is OK, every funtion is running in plan(MCSPI ,GPIO,and state change etc.);
then i try using 'TimerP_creat ' to setting a timer flag, and using while(flag) instead the while(1), reference SDK code (Enet_apputils_baremetal.c)
but the software could not run after compiled(no debug messages out which i wrote after the 'while' ),
then I check the function TimerP_creat is in which file,and copy the file in my code folder, but compiled fail, the issue is "Timer_Params" not include "params->intNum",
I remove the code "params->intNum", compiled still fail, the faile message is " no define ti_sysbios_hal_Timer_Module_startup__E " etc, I do not know where these defined.
My question is:
1.The resense is not contain a correct path about TimerP_creat ? If the path not right, which path should include?
2.Any ' .mak' file need change? If need, in kernel folder, or in basic_demos/app_tirtos/tirtos_qnx/mcu2_0 or other path? How to change the file?
Thanks!