30 lines
1.3 KiB
C
30 lines
1.3 KiB
C
#ifndef FREERTOS_CONFIG_H
|
|
#define FREERTOS_CONFIG_H
|
|
|
|
#include <Arduino.h> // Required for compatibility with Arduino framework
|
|
|
|
//#define configUSE_PREEMPTION 1
|
|
//#define configUSE_PORT_OPTIMISED_TASK_SELECTION 1
|
|
//#define configCPU_CLOCK_HZ ( 240000000UL )
|
|
//#define configTICK_RATE_HZ ( 1000 )
|
|
//#define configMAX_PRIORITIES ( 25 )
|
|
//#define configMINIMAL_STACK_SIZE ( 1024 )
|
|
//#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 64 * 1024 ) )
|
|
//#define configMAX_TASK_NAME_LEN ( 16 )
|
|
//#define configUSE_TRACE_FACILITY 1
|
|
//#define configUSE_STATS_FORMATTING_FUNCTIONS 1
|
|
//#define configGENERATE_RUN_TIME_STATS 0
|
|
//#define configUSE_16_BIT_TICKS 0
|
|
//#define configIDLE_SHOULD_YIELD 1
|
|
|
|
// Additional configuration for debugging
|
|
//#define configCHECK_FOR_STACK_OVERFLOW 2
|
|
//#define configUSE_MALLOC_FAILED_HOOK 1
|
|
//#define configUSE_IDLE_HOOK 1
|
|
//#define configUSE_TICK_HOOK 0
|
|
|
|
// Optional macros for runtime stats collection (if needed)
|
|
//#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() // No-op
|
|
//#define portGET_RUN_TIME_COUNTER_VALUE() xTaskGetTickCount()
|
|
|
|
#endif /* FREERTOS_CONFIG_H */ |