:orphan: .. title:: CONFIG_THREAD_MAX_NAME_LEN .. kconfig:: CONFIG_THREAD_MAX_NAME_LEN CONFIG_THREAD_MAX_NAME_LEN ########################## *Max length of a thread name* Type: ``int`` Help ==== .. code-block:: none 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. Direct dependencies =================== \ :kconfig:`THREAD_NAME ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - 32 - 64 if \ :kconfig:`ZTEST ` Kconfig definition ================== At ``/Kconfig:351`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:40`` Menu path: (Top) → General Kernel Options → Kernel Debugging and Metrics → Thread name .. code-block:: kconfig config THREAD_MAX_NAME_LEN int "Max length of a thread name" range 8 128 default 32 default 64 if ZTEST 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.)*