Add extra #error message as a configuration sanity check.

This commit is contained in:
Richard Barry 2014-02-19 13:08:34 +00:00
parent ba6d285ea8
commit c8953a68cd

View File

@ -3419,6 +3419,12 @@ TCB_t *pxTCB;
volatile UBaseType_t uxArraySize, x; volatile UBaseType_t uxArraySize, x;
uint32_t ulTotalTime, ulStatsAsPercentage; uint32_t ulTotalTime, ulStatsAsPercentage;
#if( configUSE_TRACE_FACILITY != 1 )
{
#error configUSE_TRACE_FACILITY must also be set to 1 in FreeRTOSConfig.h to use vTaskGetRunTimeStats().
}
#endif
/* /*
* PLEASE NOTE: * PLEASE NOTE:
* *