60 lines
2.4 KiB
C
60 lines
2.4 KiB
C
#ifndef FREERTOS_CONFIG_H
|
|
#define FREERTOS_CONFIG_H
|
|
|
|
#define configUSE_PREEMPTION 1
|
|
#define configUSE_TICKLESS_IDLE 0
|
|
#define configUSE_IDLE_HOOK 0
|
|
#define configUSE_TICK_HOOK 0
|
|
#define configTICK_RATE_HZ 1000
|
|
#define configMAX_PRIORITIES 5
|
|
#define configMINIMAL_STACK_SIZE 256
|
|
#define configTOTAL_HEAP_SIZE (64 * 1024)
|
|
#define configMAX_TASK_NAME_LEN 16
|
|
#define configUSE_16_BIT_TICKS 0
|
|
#define configUSE_PASSIVE_IDLE_HOOK 0
|
|
#define configIDLE_SHOULD_YIELD 1
|
|
|
|
#define configNUMBER_OF_CORES 2
|
|
#define configTICK_CORE 0
|
|
#define configRUN_MULTIPLE_PRIORITIES 1
|
|
#define configUSE_CORE_AFFINITY 1
|
|
|
|
#define configUSE_MUTEXES 1
|
|
#define configUSE_RECURSIVE_MUTEXES 1
|
|
#define configUSE_COUNTING_SEMAPHORES 1
|
|
#define configUSE_QUEUE_SETS 0
|
|
#define configUSE_TIMERS 1
|
|
#define configTIMER_TASK_PRIORITY (configMAX_PRIORITIES - 1)
|
|
#define configTIMER_QUEUE_LENGTH 10
|
|
#define configTIMER_TASK_STACK_DEPTH 512
|
|
|
|
#define configSUPPORT_STATIC_ALLOCATION 0
|
|
#define configSUPPORT_DYNAMIC_ALLOCATION 1
|
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
|
#define configUSE_MALLOC_FAILED_HOOK 0
|
|
|
|
#define configENABLE_MPU 0
|
|
#define configENABLE_FPU 0
|
|
#define configENABLE_TRUSTZONE 0
|
|
#define configRUN_FREERTOS_SECURE_ONLY 1
|
|
#define configMAX_SYSCALL_INTERRUPT_PRIORITY 16
|
|
|
|
#define configASSERT(x) \
|
|
do { \
|
|
if (!(x)) { \
|
|
while (1) { \
|
|
} \
|
|
} \
|
|
} while (0)
|
|
|
|
#define INCLUDE_vTaskDelay 1
|
|
#define INCLUDE_vTaskDelayUntil 1
|
|
#define INCLUDE_vTaskDelete 1
|
|
#define INCLUDE_vTaskSuspend 1
|
|
#define INCLUDE_vTaskPrioritySet 1
|
|
#define INCLUDE_uxTaskPriorityGet 1
|
|
#define INCLUDE_xTaskGetSchedulerState 1
|
|
#define INCLUDE_xTimerPendFunctionCall 1
|
|
|
|
#endif
|