mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-23 09:13:11 +00:00
freertos/make trace facility configurable
This commit makes configUSE_TRACE_FACILITY and configUSE_STATS_FORMATTING_FUNCTIONS configurable in kconfig. Test cases fro the functions enabled by the two configurations above have also been added. Test cases for the following functions have been added... - uxTaskGetSystemState() - uxTaskGetTaskNumber() - vTaskSetTaskNumber() - xEventGroupClearBitsFromISR() - xEventGroupSetBitsFromISR() - uxEventGroupGetNumber() - uxQueueGetQueueNumber() - vQueueSetQueueNumber() - ucQueueGetQueueType() Test cases for the following functions were not required... - prvListTaskWithinSingleList() - prvWriteNameToBuffer() - vTaskList()
This commit is contained in:
@@ -2292,7 +2292,6 @@ UBaseType_t uxTaskGetNumberOfTasks( void )
|
||||
{
|
||||
UBaseType_t uxTask = 0, uxQueue = configMAX_PRIORITIES;
|
||||
|
||||
UNTESTED_FUNCTION();
|
||||
taskENTER_CRITICAL(&xTaskQueueMutex);
|
||||
{
|
||||
/* Is there a space in the array for each task in the system? */
|
||||
@@ -3678,7 +3677,6 @@ BaseType_t xTaskGetAffinity( TaskHandle_t xTask )
|
||||
volatile TCB_t *pxNextTCB, *pxFirstTCB;
|
||||
UBaseType_t uxTask = 0;
|
||||
|
||||
UNTESTED_FUNCTION();
|
||||
if( listCURRENT_LIST_LENGTH( pxList ) > ( UBaseType_t ) 0 )
|
||||
{
|
||||
listGET_OWNER_OF_NEXT_ENTRY( pxFirstTCB, pxList );
|
||||
@@ -4268,7 +4266,6 @@ For ESP32 FreeRTOS, vTaskExitCritical implements both portEXIT_CRITICAL and port
|
||||
TaskStatus_t *pxTaskStatusArray;
|
||||
volatile UBaseType_t uxArraySize, x;
|
||||
char cStatus;
|
||||
UNTESTED_FUNCTION();
|
||||
|
||||
/*
|
||||
* PLEASE NOTE:
|
||||
|
Reference in New Issue
Block a user