esp-idf/tools/mocks/freertos/Kconfig
Darian Leung a23ba22fb7 fix(freertos/cmock): Fix FreeRTOS CMock builds for v10.5.1 kernel
This commit fixes the FreeRTOS CMock component in the following ways:

- Updated include directories to work with vanilla FreeRTOS v10.5.1
`#include "portmacro.h"` style inclusion.
2023-10-21 04:39:16 +08:00

49 lines
1.8 KiB
Plaintext

menu "FreeRTOS"
menu "Kernel"
config FREERTOS_HZ
int "configTICK_RATE_HZ"
range 1 1000
default 1000
help
Sets the FreeRTOS tick interrupt frequency in Hz (see configTICK_RATE_HZ documentation for more
details).
config FREERTOS_MAX_TASK_NAME_LEN
int "configMAX_TASK_NAME_LEN"
range 1 256
default 16
help
Sets the maximum number of characters for task names (see configMAX_TASK_NAME_LEN documentation for
more details).
Note: For most uses, the default of 16 characters is sufficient.
config FREERTOS_TASK_NOTIFICATION_ARRAY_ENTRIES
int "configTASK_NOTIFICATION_ARRAY_ENTRIES"
range 1 32
default 1
help
Set the size of the task notification array of each task. When increasing this value, keep in
mind that this means additional memory for each and every task on the system.
However, task notifications in general are more light weight compared to alternatives
such as semaphores.
endmenu
config FREERTOS_NO_AFFINITY
# This invisible config value sets the value of tskNO_AFFINITY in task.h.
# Intended to be used as a constant from other Kconfig files.
# Value is (32-bit) INT_MAX.
hex
default 0x7FFFFFFF if !FREERTOS_SMP
default 0xFFFFFFFF if FREERTOS_SMP
config FREERTOS_UNICORE
# This invisible config ensures that ESP-IDF components are always built as single-core
# when building for CMock. CMock is currently only supported on the Linux target, and the
# Linux FreeRTOS port supports single-core only.
bool
default y
endmenu