xTaskAbortDelay needs eTaskGetState enabled

dragonflight1 wrote on Friday, February 01, 2019:

small niggle and not sure to what extent FreeRTPSConfig,h catches conflicts, missing includes…
There is no documentation that enabling xTaskAbortDelay (INCLUDE_xTaskAbortDelay 1 ) requires you to enable eTaskGetState ( INCLUDE_xTaskAbortDelay 1 ).

Would really be nice if it just did so or if INCLUDE_xTaskAbortDelay was just added it to
#if( ( INCLUDE_eTaskGetState == 1 ) || ( configUSE_TRACE_FACILITY == 1 ) )
in tasks.c

thanks
mike

rtel wrote on Friday, February 01, 2019:

I think this is probably just a miss as test normally have all enabled,
and I didn’t realise there was a dependency there. Will check and
update accordingly.