From 98678ce66cbeeb25509c62ab03b0953ef2aaaebd Mon Sep 17 00:00:00 2001 From: hangpersonal Date: Sat, 5 Sep 2026 23:32:38 -0700 Subject: [PATCH] Update repo --- freertos_driverlib_f28377s/FreeRTOSConfig.h | 52 +++------------------ 1 file changed, 7 insertions(+), 45 deletions(-) diff --git a/freertos_driverlib_f28377s/FreeRTOSConfig.h b/freertos_driverlib_f28377s/FreeRTOSConfig.h index 7469743..5d2a808 100644 --- a/freertos_driverlib_f28377s/FreeRTOSConfig.h +++ b/freertos_driverlib_f28377s/FreeRTOSConfig.h @@ -8,7 +8,7 @@ #define configTICK_RATE_HZ ( ( portTickType ) 1000 ) #define configUSE_PREEMPTION 1 #define configUSE_TIME_SLICING 1 -#define configMAX_PRIORITIES 16 +#define configMAX_PRIORITIES ( 16 ) #define configIDLE_SHOULD_YIELD 1 #define configUSE_16_BIT_TICKS 0 @@ -27,14 +27,8 @@ supported, or if both static and dynamic allocation are supported. /* Constants that describe the hardware and memory usage. */ #define configCPU_CLOCK_HZ ( ( unsigned long ) 200000000 ) -#define configMINIMAL_STACK_SIZE ( ( uint16_t ) 128 ) +#define configMINIMAL_STACK_SIZE ( ( uint16_t ) 256 ) #define configMAX_TASK_NAME_LEN ( 16 ) - - -/* Note heap_5.c is used so this only defines the part of the heap that is in -the first block of RAM on the LPC device. See the initialization of the heap -in main.c. -*/ #define configTOTAL_HEAP_SIZE ( ( size_t ) ( 24 * 1024 ) ) @@ -61,9 +55,9 @@ in main.c. // Software timer definitions #define configUSE_TIMERS 1 -#define configTIMER_TASK_PRIORITY 3 +#define configTIMER_TASK_PRIORITY ( configMAX_PRIORITIES - 1 ) #define configTIMER_QUEUE_LENGTH 5 -#define configTIMER_TASK_STACK_DEPTH ( configMINIMAL_STACK_SIZE ) +#define configTIMER_TASK_STACK_DEPTH ( configMINIMAL_STACK_SIZE * 2 ) /* Set the following definitions to 1 to include the API function, or zero @@ -74,7 +68,7 @@ referenced anyway. #define INCLUDE_vTaskPrioritySet 1 #define INCLUDE_uxTaskPriorityGet 1 #define INCLUDE_vTaskDelete 1 -#define INCLUDE_vTaskCleanUpResources 0 +#define INCLUDE_vTaskCleanUpResources 1 #define INCLUDE_vTaskSuspend 1 #define INCLUDE_vTaskDelayUntil 1 #define INCLUDE_vTaskDelay 1 @@ -87,6 +81,7 @@ referenced anyway. #define INCLUDE_xTaskGetSchedulerState 1 #define INCLUDE_xSemaphoreGetMutexHolder 1 #define INCLUDE_xTimerPendFunctionCall 1 +#define INCLUDE_xQueueGetMutexHolder 1 // Adding for test project @@ -105,7 +100,7 @@ FreeRTOS/Source/tasks.c for limitations. interpreter. See the FreeRTOS+CLI documentation for more information: http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_CLI/ */ -#define configCOMMAND_INT_MAX_OUTPUT_SIZE 2048 +#define configCOMMAND_INT_MAX_OUTPUT_SIZE ( 2048 ) /* The trace facility is turned on to make some functions available for use in @@ -129,37 +124,4 @@ machine on which the test is developed). #define configPRINTF( X ) printf( X ) -// Minimal Test related configuration -#define TESTGROUP 2 // Selects appropriate test group -#if(TESTGROUP == 1) -#define configSTART_TASK_NOTIFY_TESTS 1 -#define configSTART_TASK_NOTIFY_ARRAY_TESTS 1 -#define configSTART_BLOCKING_QUEUE_TESTS 1 -#define configSTART_SEMAPHORE_TESTS 1 -#define configSTART_POLLED_QUEUE_TESTS 1 -#define configSTART_INTEGER_MATH_TESTS 1 -#define configSTART_GENERIC_QUEUE_TESTS 1 -#define configSTART_PEEK_QUEUE_TESTS 1 -#define configSTART_MATH_TESTS 1 -#elif(TESTGROUP == 2) -#define configSTART_RECURSIVE_MUTEX_TESTS 1 -#define configSTART_COUNTING_SEMAPHORE_TESTS 1 -#define configSTART_QUEUE_SET_TESTS 1 -#define configSTART_QUEUE_OVERWRITE_TESTS 1 -#define configSTART_EVENT_GROUP_TESTS 1 -#define configSTART_INTERRUPT_SEMAPHORE_TESTS 1 -#define configSTART_QUEUE_SET_POLLING_TESTS 1 -#define configSTART_BLOCK_TIME_TESTS 1 -#define configSTART_ABORT_DELAY_TESTS 1 -#define configSTART_MESSAGE_BUFFER_TESTS 1 -#define configSTART_STREAM_BUFFER_TESTS 1 -#define configSTART_STREAM_BUFFER_INTERRUPT_TESTS 1 -#define configSTART_TIMER_TESTS 1 -#define configSTART_INTERRUPT_QUEUE_TESTS 0 -#define configSTART_REGISTER_TESTS 1 -#define configSTART_DELETE_SELF_TESTS 1 #endif - - -#endif /* FREERTOS_CONFIG_H */ -