31#ifndef FREERTOS_CONFIG_H
32#define FREERTOS_CONFIG_H
51#if defined(__ICCARM__) || defined(__CC_ARM) || defined(__GNUC__)
59#ifndef CMSIS_device_header
60#define CMSIS_device_header "stm32l4xx.h"
63#define configENABLE_FPU 0
64#define configENABLE_MPU 0
66#define configUSE_PREEMPTION 0
67#define configSUPPORT_STATIC_ALLOCATION 1
68#define configSUPPORT_DYNAMIC_ALLOCATION 1
69#define configUSE_IDLE_HOOK 0
70#define configUSE_TICK_HOOK 0
71#define configCPU_CLOCK_HZ ( SystemCoreClock )
72#define configTICK_RATE_HZ ((TickType_t)1000)
73#define configMAX_PRIORITIES ( 56 )
74#define configMINIMAL_STACK_SIZE ((uint16_t)128)
75#define configTOTAL_HEAP_SIZE ((size_t)131072)
76#define configMAX_TASK_NAME_LEN ( 64 )
77#define configGENERATE_RUN_TIME_STATS 1
78#define configUSE_TRACE_FACILITY 1
79#define configUSE_16_BIT_TICKS 0
80#define configUSE_MUTEXES 1
81#define configQUEUE_REGISTRY_SIZE 8
82#define configCHECK_FOR_STACK_OVERFLOW 1
83#define configUSE_RECURSIVE_MUTEXES 1
84#define configUSE_MALLOC_FAILED_HOOK 1
85#define configUSE_COUNTING_SEMAPHORES 1
86#define configUSE_PORT_OPTIMISED_TASK_SELECTION 0
87#define configRECORD_STACK_HIGH_ADDRESS 1
91#define configMESSAGE_BUFFER_LENGTH_TYPE size_t
95#define configUSE_CO_ROUTINES 0
96#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
99#define configUSE_TIMERS 1
100#define configTIMER_TASK_PRIORITY ( 2 )
101#define configTIMER_QUEUE_LENGTH 10
102#define configTIMER_TASK_STACK_DEPTH 256
105#define configUSE_NEWLIB_REENTRANT 1
108#define configUSE_OS2_THREAD_SUSPEND_RESUME 1
109#define configUSE_OS2_THREAD_ENUMERATE 1
110#define configUSE_OS2_EVENTFLAGS_FROM_ISR 1
111#define configUSE_OS2_THREAD_FLAGS 1
112#define configUSE_OS2_TIMER 1
113#define configUSE_OS2_MUTEX 1
117#define INCLUDE_vTaskPrioritySet 1
118#define INCLUDE_uxTaskPriorityGet 1
119#define INCLUDE_vTaskDelete 1
120#define INCLUDE_vTaskCleanUpResources 0
121#define INCLUDE_vTaskSuspend 1
122#define INCLUDE_vTaskDelayUntil 1
123#define INCLUDE_vTaskDelay 1
124#define INCLUDE_xTaskGetSchedulerState 1
125#define INCLUDE_xTimerPendFunctionCall 1
126#define INCLUDE_xQueueGetMutexHolder 1
127#define INCLUDE_uxTaskGetStackHighWaterMark 1
128#define INCLUDE_xTaskGetCurrentTaskHandle 1
129#define INCLUDE_eTaskGetState 1
135#define USE_FreeRTOS_HEAP_4
138#ifdef __NVIC_PRIO_BITS
140 #define configPRIO_BITS __NVIC_PRIO_BITS
142 #define configPRIO_BITS 4
147#define configLIBRARY_LOWEST_INTERRUPT_PRIORITY 15
153#define configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY 3
157#define configKERNEL_INTERRUPT_PRIORITY ( configLIBRARY_LOWEST_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) )
160#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) )
165#define configASSERT( x ) if ((x) == 0) {taskDISABLE_INTERRUPTS(); for( ;; );}
170#define vPortSVCHandler SVC_Handler
171#define xPortPendSVHandler PendSV_Handler
175#define USE_CUSTOM_SYSTICK_HANDLER_IMPLEMENTATION 0
179#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS configureTimerForRunTimeStats
180#define portGET_RUN_TIME_COUNTER_VALUE getRunTimeCounterValue
unsigned long getRunTimeCounterValue(void)
Definition freertos.c:71
void configureTimerForRunTimeStats(void)
Definition freertos.c:65
uint32_t SystemCoreClock
Definition system_stm32l4xx.c:174