[kernel] RT_NAME_MAX set the range from 1
RT_NAME_MAX为0是nano中使用,完整版中不支持const name
This commit is contained in:
parent
1f092da9e0
commit
a2676b0544
|
@ -3,12 +3,11 @@ menu "RT-Thread Kernel"
|
||||||
|
|
||||||
config RT_NAME_MAX
|
config RT_NAME_MAX
|
||||||
int "The maximal size of kernel object name"
|
int "The maximal size of kernel object name"
|
||||||
range 0 64
|
range 1 64
|
||||||
default 8
|
default 8
|
||||||
help
|
help
|
||||||
Each kernel object, such as thread, timer, semaphore etc, has a name,
|
Each kernel object, such as thread, timer, semaphore etc, has a name,
|
||||||
the RT_NAME_MAX is the maximal size of this object name.
|
the RT_NAME_MAX is the maximal size of this object name.
|
||||||
If RT_NAME_MAX sets as 0, the name will be const.
|
|
||||||
|
|
||||||
config RT_USING_ARCH_DATA_TYPE
|
config RT_USING_ARCH_DATA_TYPE
|
||||||
bool "Use the data types defined in ARCH_CPU"
|
bool "Use the data types defined in ARCH_CPU"
|
||||||
|
|
Loading…
Reference in New Issue