Chapter 2. API Reference
If disabled, automatic light sleep support will be disabled.
Default value:
• No (disabled) if
CONFIG_FREERTOS_IDLE_TIME_BEFORE_SLEEP
Minimum number of ticks to enter sleep mode for
Found in:
Component config
FreeRTOS will enter light sleep mode if no tasks need to run for this number of ticks.
Range:
• from 2 to 4294967295 if
Default value:
• 3 if
CONFIG_FREERTOS_USE_TICKLESS_IDLE
CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER
Enclose all task functions in a wrapper function
Found in:
Component config
If enabled, all FreeRTOS task functions will be enclosed in a wrapper function. If a task function
mistakenly returns (i.e. does not delete), the call flow will return to the wrapper function. The wrapper
function will then log an error and abort the application. This option is also required for GDB backtraces
and C++ exceptions to work correctly inside top-level task functions.
Default value:
• Yes (enabled)
CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER
Check that mutex semaphore is given by owner task
Found in:
Component config
If enabled, assert that when a mutex semaphore is given, the task giving the semaphore is the task which
is currently holding the mutex.
Default value:
• Yes (enabled)
CONFIG_FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE
Tests compliance with Vanilla FreeRTOS port*_CRITICAL calls
Found in:
Component config
If enabled, context of port*_CRITICAL calls (ISR or Non-ISR) would be checked to be in compliance
with Vanilla FreeRTOS. e.g Calling port*_CRITICAL from ISR context would cause assert failure
Default value:
• No (disabled)
CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH
Place FreeRTOS functions into Flash
Found in:
Component config
When enabled the selected Non-ISR FreeRTOS functions will be placed into Flash memory instead of
IRAM. This saves up to 8KB of IRAM depending on which functions are used.
Espressif Systems
CONFIG_PM_ENABLE
>
FreeRTOS
>
CONFIG_FREERTOS_USE_TICKLESS_IDLE
CONFIG_FREERTOS_USE_TICKLESS_IDLE
>
FreeRTOS
>
FreeRTOS
>
FreeRTOS
>
FreeRTOS
1153
Submit Document Feedback
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?