mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
FreeRTOS: Support setting task name max length
Ref: https://esp32.com/viewtopic.php?f=13&t=1297&p=5762
This commit is contained in:
parent
36b3963efb
commit
3050f06a8d
@ -164,6 +164,17 @@ config FREERTOS_LEGACY_TICK_HOOK
|
|||||||
|
|
||||||
endif #FREERTOS_LEGACY_HOOKS
|
endif #FREERTOS_LEGACY_HOOKS
|
||||||
|
|
||||||
|
config FREERTOS_MAX_TASK_NAME_LEN
|
||||||
|
int "Maximum task name length"
|
||||||
|
range 1 256
|
||||||
|
default 16
|
||||||
|
help
|
||||||
|
Changes the maximum task name length. Each task allocated will
|
||||||
|
include this many bytes for a task name. Using a shorter value
|
||||||
|
saves a small amount of RAM, a longer value allows more complex
|
||||||
|
names.
|
||||||
|
|
||||||
|
For most uses, the default of 16 is OK.
|
||||||
|
|
||||||
menuconfig FREERTOS_DEBUG_INTERNALS
|
menuconfig FREERTOS_DEBUG_INTERNALS
|
||||||
bool "Debug FreeRTOS internals"
|
bool "Debug FreeRTOS internals"
|
||||||
|
@ -187,7 +187,7 @@
|
|||||||
#define configAPPLICATION_ALLOCATED_HEAP 1
|
#define configAPPLICATION_ALLOCATED_HEAP 1
|
||||||
#define configTOTAL_HEAP_SIZE (&_heap_end - &_heap_start)//( ( size_t ) (64 * 1024) )
|
#define configTOTAL_HEAP_SIZE (&_heap_end - &_heap_start)//( ( size_t ) (64 * 1024) )
|
||||||
|
|
||||||
#define configMAX_TASK_NAME_LEN ( 16 )
|
#define configMAX_TASK_NAME_LEN ( CONFIG_FREERTOS_MAX_TASK_NAME_LEN )
|
||||||
#define configUSE_TRACE_FACILITY 0 /* Used by vTaskList in main.c */
|
#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_STATS_FORMATTING_FUNCTIONS 0 /* Used by vTaskList in main.c */
|
||||||
#define configUSE_TRACE_FACILITY_2 0 /* Provided by Xtensa port patch */
|
#define configUSE_TRACE_FACILITY_2 0 /* Provided by Xtensa port patch */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user