ESP32-IDF
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros
FreeRTOSConfig.h File Reference
#include "sdkconfig.h"
#include "xtensa_config.h"
#include "rom/ets_sys.h"

Go to the source code of this file.

Macros

#define portNUM_PROCESSORS   2
 
#define XT_USE_THREAD_SAFE_CLIB   0
 
#define configASSERT_2   0
 
#define portUSING_MPU_WRAPPERS   0
 
#define configUSE_MUTEX   1
 
#define configNUM_THREAD_LOCAL_STORAGE_POINTERS   CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS
 
#define configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS   1
 
#define XT_CLOCK_FREQ   (CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ * 1000000)
 
#define configASSERT(a)
 
#define configUSE_PREEMPTION   1
 
#define configUSE_IDLE_HOOK   0
 
#define configUSE_TICK_HOOK   0
 
#define configTICK_RATE_HZ   ( CONFIG_FREERTOS_HZ )
 
#define configMAX_PRIORITIES   ( 25 )
 
#define configMINIMAL_STACK_SIZE   (XT_STACK_MIN_SIZE > 1024 ? XT_STACK_MIN_SIZE : 1024)
 
#define configISR_STACK_SIZE   1024
 
#define configAPPLICATION_ALLOCATED_HEAP   1
 
#define configTOTAL_HEAP_SIZE   (&_heap_end - &_heap_start)
 
#define configMAX_TASK_NAME_LEN   ( 16 )
 
#define configUSE_TRACE_FACILITY   0 /* Used by vTaskList in main.c */
 
#define configUSE_STATS_FORMATTING_FUNCTIONS   0 /* Used by vTaskList in main.c */
 
#define configUSE_TRACE_FACILITY_2   0 /* Provided by Xtensa port patch */
 
#define configBENCHMARK   0 /* Provided by Xtensa port patch */
 
#define configUSE_16_BIT_TICKS   0
 
#define configIDLE_SHOULD_YIELD   0
 
#define configQUEUE_REGISTRY_SIZE   0
 
#define configUSE_MUTEXES   1
 
#define configUSE_RECURSIVE_MUTEXES   1
 
#define configUSE_COUNTING_SEMAPHORES   1
 
#define configUSE_CO_ROUTINES   0
 
#define configMAX_CO_ROUTINE_PRIORITIES   ( 2 )
 
#define INCLUDE_vTaskPrioritySet   1
 
#define INCLUDE_uxTaskPriorityGet   1
 
#define INCLUDE_vTaskDelete   1
 
#define INCLUDE_vTaskCleanUpResources   0
 
#define INCLUDE_vTaskSuspend   1
 
#define INCLUDE_vTaskDelayUntil   1
 
#define INCLUDE_vTaskDelay   1
 
#define INCLUDE_uxTaskGetStackHighWaterMark   1
 
#define configENABLE_MEMORY_DEBUG   0
 
#define INCLUDE_xSemaphoreGetMutexHolder   1
 
#define configKERNEL_INTERRUPT_PRIORITY   1
 
#define configMAX_SYSCALL_INTERRUPT_PRIORITY   XCHAL_EXCM_LEVEL
 
#define configUSE_NEWLIB_REENTRANT   1
 
#define configUSE_TIMERS   1
 
#define configTIMER_TASK_PRIORITY   1
 
#define configTIMER_QUEUE_LENGTH   10
 
#define configTIMER_TASK_STACK_DEPTH   configMINIMAL_STACK_SIZE
 
#define INCLUDE_xTimerPendFunctionCall   1
 
#define INCLUDE_eTaskGetState   1
 
#define configUSE_QUEUE_SETS   1
 
#define configXT_INTEXC_HOOKS   1 /* Exception hooks used by certain tests */
 
#define configXT_BOARD   1 /* Board mode */
 
#define configXT_SIMULATOR   0
 

Macro Definition Documentation

#define configAPPLICATION_ALLOCATED_HEAP   1
#define configASSERT (   a)
Value:
if (!(a)) { \
ets_printf("%s:%d (%s)- assert failed!\n", __FILE__, __LINE__, \
__FUNCTION__); \
abort(); \
}
void abort()
Definition: syscalls.c:31
int ets_printf(const char *fmt,...)
Printf the strings to uart or other devices, similar with printf, simple than printf. Can not print float point data format, or longlong data format. So we maybe only use this in ROM.
#define configASSERT_2   0
#define configBENCHMARK   0 /* Provided by Xtensa port patch */
#define configENABLE_MEMORY_DEBUG   0
#define configIDLE_SHOULD_YIELD   0
#define configISR_STACK_SIZE   1024
#define configKERNEL_INTERRUPT_PRIORITY   1
#define configMAX_CO_ROUTINE_PRIORITIES   ( 2 )
#define configMAX_PRIORITIES   ( 25 )
#define configMAX_SYSCALL_INTERRUPT_PRIORITY   XCHAL_EXCM_LEVEL
#define configMAX_TASK_NAME_LEN   ( 16 )
#define configMINIMAL_STACK_SIZE   (XT_STACK_MIN_SIZE > 1024 ? XT_STACK_MIN_SIZE : 1024)
#define configNUM_THREAD_LOCAL_STORAGE_POINTERS   CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS
#define configQUEUE_REGISTRY_SIZE   0
#define configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS   1
#define configTICK_RATE_HZ   ( CONFIG_FREERTOS_HZ )
#define configTIMER_QUEUE_LENGTH   10
#define configTIMER_TASK_PRIORITY   1
#define configTIMER_TASK_STACK_DEPTH   configMINIMAL_STACK_SIZE
#define configTOTAL_HEAP_SIZE   (&_heap_end - &_heap_start)
#define configUSE_16_BIT_TICKS   0
#define configUSE_CO_ROUTINES   0
#define configUSE_COUNTING_SEMAPHORES   1
#define configUSE_IDLE_HOOK   0
#define configUSE_MUTEX   1
#define configUSE_MUTEXES   1
#define configUSE_NEWLIB_REENTRANT   1
#define configUSE_PREEMPTION   1
#define configUSE_QUEUE_SETS   1
#define configUSE_RECURSIVE_MUTEXES   1
#define configUSE_STATS_FORMATTING_FUNCTIONS   0 /* Used by vTaskList in main.c */
#define configUSE_TICK_HOOK   0
#define configUSE_TIMERS   1
#define configUSE_TRACE_FACILITY   0 /* Used by vTaskList in main.c */
#define configUSE_TRACE_FACILITY_2   0 /* Provided by Xtensa port patch */
#define configXT_BOARD   1 /* Board mode */
#define configXT_INTEXC_HOOKS   1 /* Exception hooks used by certain tests */
#define configXT_SIMULATOR   0
#define INCLUDE_eTaskGetState   1
#define INCLUDE_uxTaskGetStackHighWaterMark   1
#define INCLUDE_uxTaskPriorityGet   1
#define INCLUDE_vTaskCleanUpResources   0
#define INCLUDE_vTaskDelay   1
#define INCLUDE_vTaskDelayUntil   1
#define INCLUDE_vTaskDelete   1
#define INCLUDE_vTaskPrioritySet   1
#define INCLUDE_vTaskSuspend   1
#define INCLUDE_xSemaphoreGetMutexHolder   1
#define INCLUDE_xTimerPendFunctionCall   1
#define portNUM_PROCESSORS   2
#define portUSING_MPU_WRAPPERS   0
#define XT_CLOCK_FREQ   (CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ * 1000000)
#define XT_USE_THREAD_SAFE_CLIB   0