beefc0de wrote on Monday, May 09, 2016:
If the Idle Task could not be created in
vTaskStartScheduler we try to catch this with
configAssert( xReturn );.
But we miss it if errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY is returned and
configAssert only checks for 0, as in
#define configASSERT( ( x ) ) if( ( x ) == 0 ) vAssertCalled( __FILE__, __LINE__ )
configASSERT( bdFALSE); in case the Idle Task could not be created.