-
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.
Defaults¶
- 32 if
THREAD_NAME
Kconfig definition¶
At kernel/Kconfig:365
Included via Kconfig:10
→ Kconfig.zephyr:31
Menu path: (top menu) → General Kernel Options → Kernel Debugging and Metrics
config THREAD_MAX_NAME_LEN int prompt "Max length of a thread name" ifTHREAD_NAME
range 8 128 ifTHREAD_NAME
default 32 ifTHREAD_NAME
depends onTHREAD_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.
(Definitions include propagated dependencies, including from if’s and menus.)