25#ifndef FREERTOS_CONFIG_H
26#define FREERTOS_CONFIG_H
39#define configUSE_PREEMPTION 1
40#define configUSE_PORT_OPTIMISED_TASK_SELECTION 0
41#define configUSE_IDLE_HOOK 1
42#define configUSE_TICK_HOOK 1
43#define configUSE_DAEMON_TASK_STARTUP_HOOK 1
44#define configTICK_RATE_HZ ( 1000 )
45#define configMINIMAL_STACK_SIZE ( ( unsigned short ) PTHREAD_STACK_MIN )
46#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 65 * 1024 ) )
47#define configMAX_TASK_NAME_LEN ( 12 )
48#define configUSE_TRACE_FACILITY 1
49#define configUSE_16_BIT_TICKS 0
50#define configIDLE_SHOULD_YIELD 1
51#define configUSE_MUTEXES 1
52#define configCHECK_FOR_STACK_OVERFLOW 0
53#define configUSE_RECURSIVE_MUTEXES 1
54#define configQUEUE_REGISTRY_SIZE 20
55#define configUSE_APPLICATION_TASK_TAG 1
56#define configUSE_COUNTING_SEMAPHORES 1
57#define configUSE_ALTERNATIVE_API 0
58#define configUSE_QUEUE_SETS 1
59#define configUSE_TASK_NOTIFICATIONS 1
74#define configSUPPORT_STATIC_ALLOCATION 1
75#define configSUPPORT_DYNAMIC_ALLOCATION 1
77#define configRECORD_STACK_HIGH_ADDRESS 1
83#define configUSE_TIMERS 1
84#define configTIMER_TASK_PRIORITY ( configMAX_PRIORITIES - 1 )
85#define configTIMER_QUEUE_LENGTH 20
86#define configTIMER_TASK_STACK_DEPTH ( configMINIMAL_STACK_SIZE * 2 )
88#define configMAX_PRIORITIES ( 7 )
93#define configGENERATE_RUN_TIME_STATS 1
96#define configUSE_CO_ROUTINES 0
97#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
103#define configUSE_STATS_FORMATTING_FUNCTIONS 0
107#define configSTACK_DEPTH_TYPE uint32_t
112#define INCLUDE_vTaskPrioritySet 1
113#define INCLUDE_uxTaskPriorityGet 1
114#define INCLUDE_vTaskDelete 1
115#define INCLUDE_vTaskCleanUpResources 0
116#define INCLUDE_vTaskSuspend 1
117#define INCLUDE_vTaskDelayUntil 1
118#define INCLUDE_vTaskDelay 1
119#define INCLUDE_uxTaskGetStackHighWaterMark 1
120#define INCLUDE_uxTaskGetStackHighWaterMark2 1
121#define INCLUDE_xTaskGetSchedulerState 1
122#define INCLUDE_xTimerGetTimerDaemonTaskHandle 1
123#define INCLUDE_xTaskGetIdleTaskHandle 1
124#define INCLUDE_xTaskGetHandle 1
125#define INCLUDE_eTaskGetState 1
126#define INCLUDE_xSemaphoreGetMutexHolder 1
127#define INCLUDE_xTimerPendFunctionCall 1
128#define INCLUDE_xTaskAbortDelay 1
130#define configINCLUDE_MESSAGE_BUFFER_AMP_DEMO 0
131#if ( configINCLUDE_MESSAGE_BUFFER_AMP_DEMO == 1 )
132 extern void vGenerateCoreBInterrupt(
void * xUpdatedMessageBuffer );
133 #define sbSEND_COMPLETED( pxStreamBuffer ) vGenerateCoreBInterrupt( pxStreamBuffer )
137 unsigned long ulLine );
142#ifndef projCOVERAGE_TEST
143 #error projCOVERAGE_TEST should be defined to 1 or 0 on the command line.
146#ifndef projENABLE_TRACING
147 #error projENABLE_TRACING should be defined to 1 or 0 on the command line.
150#if ( projCOVERAGE_TEST == 1 )
154 #define mtCOVERAGE_TEST_MARKER() __asm volatile ( "NOP" )
157 #define configINITIAL_TICK_COUNT 0xffffd800UL
160 #define configUSE_MALLOC_FAILED_HOOK 0
163 #define portREMOVE_STATIC_QUALIFIER
171 #define configASSERT( x ) if( ( x ) == 0 ) vAssertCalled( __FILE__, __LINE__ )
173 #define configUSE_MALLOC_FAILED_HOOK 1
176 #if( projENABLE_TRACING == 1 )
177 #include "trcRecorder.h"
182#define configMAC_ISR_SIMULATOR_PRIORITY ( configMAX_PRIORITIES - 1 )
193#define ipconfigHAS_DEBUG_PRINTF 1
194#if ( ipconfigHAS_DEBUG_PRINTF == 1 )
195 #define FreeRTOS_debug_printf( X ) vLoggingPrintf X
202#define ipconfigHAS_PRINTF 0
203#if ( ipconfigHAS_PRINTF == 1 )
204 #define FreeRTOS_printf( X ) vLoggingPrintf X
void vAssertCalled(const char *const pcFileName, unsigned long ulLine)
unsigned long ulGetRunTimeCounterValue(void)
void vLoggingPrintf(const char *pcFormatString,...)
void vConfigureTimerForRunTimeStats(void)