Hi,
i would like to create a task suspended but it seems, that FreeRTOS does not have such a feature?!. So i’ve tried to create a task suspended… But strangely even if i suspended a task, on scheduler start the task runs… (The defines for vTaskSuspend are enabled)
In tasks.c find the implementation of vTaskSuspend(). At the bottom of the function you will see the line if( ( void * ) pxTaskToSuspend == NULL ). Change this to
Hi Edward,
thanks for the idea - because otherwise the the task is being YIELDed before the scheduler has been started. Unfortunately the solution does not work. Do you have any idea? (Iam not that deep into that, yet).
Thanks in advance,
Peter