-
CONFIG_THREAD_MAX_NAME_LEN
¶
Max length of a thread name
Type: int
Help¶
Thread names get stored in the k_thread struct. Indicate the max name length, including the terminating NULL byte. Reduce this value to conserve memory.
Default¶
32
Kconfig definition¶
At <Zephyr>/kernel/Kconfig:345
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:30
Menu path: (Top) → General Kernel Options → Kernel Debugging and Metrics → Thread name [EXPERIMENTAL]
config THREAD_MAX_NAME_LEN
int "Max length of a thread name"
range 8 128
default 32
depends on THREAD_NAME
help
Thread names get stored in the k_thread struct. Indicate the max
name length, including the terminating NULL byte. Reduce this value
to conserve memory.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)