Problem creating task

rtel wrote on Saturday, July 30, 2016:

If you stop the debugger, what code is executing? Could you be in an assert() (ensure configASSERT() is defined), or in a stack overflow hook (ensure stack overflow checking is set to 2).

What happens if you toggle an LED instead of calling g_printf() in the task? Use a delay so you can see the LED toggling, something like:

for( ;; )
{
    ToggleLED(); /* whatever the function is really called).
    vTaskDelay( pdMS_TO_TICKS( 500 );
}