Go to the documentation of this file.
67 #ifndef FREERTOS_CONFIG_H
68 #define FREERTOS_CONFIG_H
88 #define configUSE_PREEMPTION 1
89 #define configUSE_IDLE_HOOK 1
90 #define configUSE_TICK_HOOK 1
91 #define configCPU_CLOCK_HZ ( SystemCoreClock )
92 #define configTICK_RATE_HZ ( ( portTickType ) 1000 )
93 #define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 )
94 #define configMINIMAL_STACK_SIZE ( ( unsigned short ) 130 )
95 #define configTOTAL_HEAP_SIZE ( ( size_t ) ( 75 * 1024 ) )
96 #define configMAX_TASK_NAME_LEN ( 10 )
97 #define configUSE_TRACE_FACILITY 1
98 #define configUSE_16_BIT_TICKS 0
99 #define configIDLE_SHOULD_YIELD 1
100 #define configUSE_MUTEXES 1
101 #define configQUEUE_REGISTRY_SIZE 8
102 #define configCHECK_FOR_STACK_OVERFLOW 2
103 #define configUSE_RECURSIVE_MUTEXES 1
104 #define configUSE_MALLOC_FAILED_HOOK 1
105 #define configUSE_APPLICATION_TASK_TAG 0
106 #define configUSE_COUNTING_SEMAPHORES 1
107 #define configGENERATE_RUN_TIME_STATS 0
110 #define configUSE_CO_ROUTINES 0
111 #define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
114 #define configUSE_TIMERS 1
115 #define configTIMER_TASK_PRIORITY ( 2 )
116 #define configTIMER_QUEUE_LENGTH 10
117 #define configTIMER_TASK_STACK_DEPTH ( configMINIMAL_STACK_SIZE * 2 )
121 #define INCLUDE_vTaskPrioritySet 1
122 #define INCLUDE_uxTaskPriorityGet 1
123 #define INCLUDE_vTaskDelete 1
124 #define INCLUDE_vTaskCleanUpResources 1
125 #define INCLUDE_vTaskSuspend 1
126 #define INCLUDE_vTaskDelayUntil 1
127 #define INCLUDE_vTaskDelay 1
130 #ifdef __NVIC_PRIO_BITS
132 #define configPRIO_BITS __NVIC_PRIO_BITS
134 #define configPRIO_BITS 4
139 #define configLIBRARY_LOWEST_INTERRUPT_PRIORITY 0xf
145 #define configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY 5
149 #define configKERNEL_INTERRUPT_PRIORITY ( configLIBRARY_LOWEST_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) )
152 #define configMAX_SYSCALL_INTERRUPT_PRIORITY ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) )
156 #define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
160 #define vPortSVCHandler SVC_Handler
161 #define xPortPendSVHandler PendSV_Handler
162 #define xPortSysTickHandler SysTick_Handler