Add extra #error message as a configuration sanity check.
This commit is contained in:
parent
ba6d285ea8
commit
c8953a68cd
@ -3419,6 +3419,12 @@ TCB_t *pxTCB;
|
||||
volatile UBaseType_t uxArraySize, x;
|
||||
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:
|
||||
*
|
||||
|
Reference in New Issue
Block a user