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
bool "Debug FreeRTOS internals"
#define configAPPLICATION_ALLOCATED_HEAP 1
#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_STATS_FORMATTING_FUNCTIONS 0 /* Used by vTaskList in main.c */
#define configUSE_TRACE_FACILITY_2 0 /* Provided by Xtensa port patch */