puzzlebox
Loading...
Searching...
No Matches
FreeRTOSConfig.h
1#pragma once
2// values from pico-examples/pico_w/wifi/freertos
3
4#define configUSE_PREEMPTION 1
5#define configUSE_TICKLESS_IDLE 0
6#define configUSE_IDLE_HOOK 0
7#define configUSE_TICK_HOOK 0
8#define configTICK_RATE_HZ ((TickType_t) 1000)
9#define configMAX_PRIORITIES 32
10#define configMINIMAL_STACK_SIZE ((configSTACK_DEPTH_TYPE) 512)
11#define configUSE_16_BIT_TICKS 0
12#define configIDLE_SHOULD_YIELD 1
13#define configUSE_MUTEXES 1
14#define configUSE_RECURSIVE_MUTEXES 1
15#define configUSE_APPLICATION_TASK_TAG 0
16#define configUSE_COUNTING_SEMAPHORES 1
17#define configQUEUE_REGISTRY_SIZE 8
18#define configUSE_QUEUE_SETS 1
19#define configUSE_TIME_SLICING 1
20#define configUSE_NEWLIB_REENTRANT 0
21#define configENABLE_BACKWARD_COMPATIBILITY 1
22#define configNUM_THREAD_LOCAL_STORAGE_POINTERS 5
23#define configSTACK_DEPTH_TYPE uint32_t
24#define configMESSAGE_BUFFER_LENGTH_TYPE size_t
25#define configSUPPORT_STATIC_ALLOCATION 0
26#define configSUPPORT_DYNAMIC_ALLOCATION 1
27#define configTOTAL_HEAP_SIZE (128 * 1024)
28#define configAPPLICATION_ALLOCATED_HEAP 0
29#define configCHECK_FOR_STACK_OVERFLOW 0
30#define configUSE_MALLOC_FAILED_HOOK 0
31#define configUSE_DAEMON_TASK_STARTUP_HOOK 0
32#define configGENERATE_RUN_TIME_STATS 0
33#define configUSE_TRACE_FACILITY 1
34#define configUSE_STATS_FORMATTING_FUNCTIONS 0
35#define configUSE_CO_ROUTINES 0
36#define configMAX_CO_ROUTINE_PRIORITIES 1
37#define configUSE_TIMERS 1
38#define configTIMER_TASK_PRIORITY (configMAX_PRIORITIES - 1)
39#define configTIMER_QUEUE_LENGTH 10
40#define configTIMER_TASK_STACK_DEPTH 1024
41
42// #define configNUM_CORES 2
43// #define configTICK_CORE 0
44// #define configRUN_MULTIPLE_PRIORITIES 1
45// #define configUSE_CORE_AFFINITY 1
46
47#define configSUPPORT_PICO_SYNC_INTEROP 1
48#define configSUPPORT_PICO_TIME_INTEROP 1
49
50#include <assert.h>
51#define configASSERT(x) assert(x)
52
53#define INCLUDE_vTaskPrioritySet 1
54#define INCLUDE_uxTaskPriorityGet 1
55#define INCLUDE_vTaskDelete 1
56#define INCLUDE_vTaskSuspend 1
57#define INCLUDE_vTaskDelayUntil 1
58#define INCLUDE_vTaskDelay 1
59#define INCLUDE_xTaskGetSchedulerState 1
60#define INCLUDE_xTaskGetCurrentTaskHandle 1
61#define INCLUDE_uxTaskGetStackHighWaterMark 1
62#define INCLUDE_xTaskGetIdleTaskHandle 1
63#define INCLUDE_eTaskGetState 1
64#define INCLUDE_xTimerPendFunctionCall 1
65#define INCLUDE_xTaskAbortDelay 1
66#define INCLUDE_xTaskGetHandle 1
67#define INCLUDE_xTaskResumeFromISR 1
68#define INCLUDE_xQueueGetMutexHolder 1