29#ifndef FREERTOS_CONFIG_H
30#define FREERTOS_CONFIG_H
49#if defined(__ICCARM__) || defined(__CC_ARM) || defined(__GNUC__)
53#ifndef CMSIS_device_header
54 #define CMSIS_device_header "stm32h7xx.h"
57#define configENABLE_FPU 1
58#define configENABLE_MPU 0
63#define configUSE_NEWLIB_REENTRANT 1
65#define configUSE_PREEMPTION 1
66#define configSUPPORT_STATIC_ALLOCATION 1
67#define configSUPPORT_DYNAMIC_ALLOCATION 1
68#define configUSE_IDLE_HOOK 0
69#define configUSE_TICK_HOOK 0
70#define configCPU_CLOCK_HZ (SystemCoreClock)
71#define configTICK_RATE_HZ ((TickType_t)1000)
72#define configMAX_PRIORITIES (8)
73#define configMINIMAL_STACK_SIZE ((StackType_t)512)
74#define configTOTAL_HEAP_SIZE ((size_t)0x10000)
75#define configMAX_TASK_NAME_LEN (32)
81#define configUSE_16_BIT_TICKS 0
82#define configUSE_MUTEXES 1
83#define configQUEUE_REGISTRY_SIZE 8
84#define configUSE_RECURSIVE_MUTEXES 1
85#define configUSE_COUNTING_SEMAPHORES 1
86#define configUSE_TASK_NOTIFICATIONS 1
87#define configTASK_NOTIFICATION_ARRAY_ENTRIES 4
91#define configMESSAGE_BUFFER_LENGTH_TYPE uint8_t
92#define configKERNEL_PROVIDED_STATIC_MEMORY 1
93#define configUSE_STATS_FORMATTING_FUNCTIONS 1
98#define configGENERATE_RUN_TIME_STATS 1
99#define configRUN_TIME_COUNTER_TYPE uint32_t
100#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() freertos_stats_timer_start()
101#define portGET_RUN_TIME_COUNTER_VALUE() freertos_stats_timer_get()
102#define configRECORD_STACK_HIGH_ADDRESS 1
105#define configUSE_CO_ROUTINES 0
106#define configMAX_CO_ROUTINE_PRIORITIES (2)
109#define configUSE_TIMERS 1
111#define configTIMER_TASK_PRIORITY 5
112#define configTIMER_QUEUE_LENGTH 50
113#define configTIMER_TASK_STACK_DEPTH (configMINIMAL_STACK_SIZE)
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_xTaskDelayUntil 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
130#define INCLUDE_ulTaskGetRunTimePercent 1
131#define INCLUDE_xTaskDelayUntil 1
134#ifdef __NVIC_PRIO_BITS
136 #define configPRIO_BITS __NVIC_PRIO_BITS
138 #define configPRIO_BITS 4
142#define vPortSVCHandler SVC_Handler
143#define xPortPendSVHandler PendSV_Handler
144#define xPortSysTickHandler SysTick_Handler
148#define configLIBRARY_LOWEST_INTERRUPT_PRIORITY 15
154#define configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY 1
158#define configKERNEL_INTERRUPT_PRIORITY (configLIBRARY_LOWEST_INTERRUPT_PRIORITY << (8 - configPRIO_BITS))
161#define configMAX_SYSCALL_INTERRUPT_PRIORITY (configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS))
164#define configSTATS_BUFFER_MAX_LENGTH 0x400
167#define configASSERT(x) \
169 taskDISABLE_INTERRUPTS(); \
173#if defined(configUSE_TRACE_FACILITY) && configUSE_TRACE_FACILITY == 1
174 #include "trcRecorder.h"
void freertos_runtime_stats_start(void)
FreeRTOS utility functions.
uint32_t SystemCoreClock
Definition system_stm32h7xx.c:163