71 #ifndef FREERTOS_CONFIG_H 72 #define FREERTOS_CONFIG_H 99 #define INCLUDE_uxTaskGetStackHighWaterMark 1 100 #define INCLUDE_xTaskGetIdleTaskHandle 1 101 #define configENABLE_BACKWARD_COMPATIBILITY 0 104 #define configUSE_PREEMPTION 1 106 #define configUSE_IDLE_HOOK 1 107 #define configUSE_TICK_HOOK 1 108 #define configCPU_CLOCK_HZ ( F_CPU ) 110 #define configUSE_IDLE_HOOK 0 111 #define configUSE_TICK_HOOK 0 112 #define configCPU_CLOCK_HZ ( SystemCoreClock ) 114 #define configTICK_RATE_HZ ( ( TickType_t ) 1000 ) 115 #define configMAX_PRIORITIES ( 5 ) 116 #define configMINIMAL_STACK_SIZE ( ( unsigned short ) 130 ) 117 #define configTOTAL_HEAP_SIZE ( ( size_t ) ( 0 ) ) // WHG uses type 3 heap 118 #define configMAX_TASK_NAME_LEN ( 10 ) 119 #define configUSE_TRACE_FACILITY 0 120 #define configUSE_16_BIT_TICKS 0 121 #define configIDLE_SHOULD_YIELD 1 122 #define configUSE_MUTEXES 1 123 #define configQUEUE_REGISTRY_SIZE 0 124 #define configCHECK_FOR_STACK_OVERFLOW 2 125 #define configUSE_RECURSIVE_MUTEXES 1 126 #define configUSE_MALLOC_FAILED_HOOK 1 127 #define configUSE_APPLICATION_TASK_TAG 0 128 #define configUSE_COUNTING_SEMAPHORES 1 129 #define configUSE_QUEUE_SETS 1 130 #define configGENERATE_RUN_TIME_STATS 0 133 #define configUSE_CO_ROUTINES 0 134 #define configMAX_CO_ROUTINE_PRIORITIES ( 2 ) 137 #define configUSE_TIMERS 1 138 #define configTIMER_TASK_PRIORITY ( 2 ) 139 #define configTIMER_QUEUE_LENGTH 5 140 #define configTIMER_TASK_STACK_DEPTH ( configMINIMAL_STACK_SIZE * 2 ) 144 #define INCLUDE_vTaskPrioritySet 1 145 #define INCLUDE_uxTaskPriorityGet 1 146 #define INCLUDE_vTaskDelete 1 147 #define INCLUDE_vTaskCleanUpResources 1 148 #define INCLUDE_vTaskSuspend 1 149 #define INCLUDE_vTaskDelayUntil 1 150 #define INCLUDE_vTaskDelay 1 151 #define INCLUDE_eTaskGetState 1 152 #define INCLUDE_xTimerPendFunctionCall 1 155 #ifdef __NVIC_PRIO_BITS 157 #define configPRIO_BITS __NVIC_PRIO_BITS 159 #define configPRIO_BITS 4 164 #define configLIBRARY_LOWEST_INTERRUPT_PRIORITY 0x0f 170 #define configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY 1//10 WHG 174 #define configKERNEL_INTERRUPT_PRIORITY ( configLIBRARY_LOWEST_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) ) 177 #define configMAX_SYSCALL_INTERRUPT_PRIORITY ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) ) 186 #define configASSERT( x ) if( ( x ) == 0 ) assertBlink() 195 #if 0 // WHG defined in port.c 196 #define vPortSVCHandler SVC_Handler 197 #define xPortPendSVHandler PendSV_Handler 198 #define xPortSysTickHandler SysTick_Handler uint32_t SystemCoreClock
Definition: system_ARMCM0.c:39