Okay so downloaded the latest version of the tool
put in the additional legacy code support and recompiled the code
I now have warnings in the code for what are tasks e.g.
__task void XXXTask(void) { uint16_t wTaskRun = 1; while(wTaskRun) { // random stuff so flash an LED for the gimps } /************************************ * End of the function kill it nicely ************************************/ TurnOffHardware(); OS_XXX_id = 0; /** so we know the task is dead **/ (void)os_tsk_delete_self(); }
now produces a warning: #1461-D: function declared with "noreturn" does return
There are no return; calls anywhere in the function so is the new tool missing the __task ?
What concerns me is that it only does this with 2 of the tasks where as I have another 9 that effectively end in the same manner yet no warning is produced for those
Has anyone else come across this ?
ah I tell a lie
the tasks the warning is produced on use a function to shut down the hardware then kill the task where as the other tasks use the self delete call as the last line of the task
Looks Like I still have to use either 4.XX or 5.11 as 5.12 will not compile a project that runs ( just continually restarts)
Needed to delete all files other than the project and delete the output folder and all in it sees to be working ok but carrying out functional tests to make sure.