diff options
| author | Meco Man <[email protected]> | 2022-12-24 23:41:22 -0500 |
|---|---|---|
| committer | Man, Jianting (Meco) <[email protected]> | 2022-12-26 01:35:14 -0500 |
| commit | a2676b0544d5f1b1102e8ecf31610b58053698e8 (patch) | |
| tree | 0ce8e4ac1db9dea0c5ad3f08422eb8f3621899bc /src | |
| parent | 1f092da9e0b332f3a03b09d030acc470a0169599 (diff) | |
[kernel] RT_NAME_MAX set the range from 1
RT_NAME_MAX为0是nano中使用,完整版中不支持const name
Diffstat (limited to 'src')
| -rw-r--r-- | src/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Kconfig b/src/Kconfig index 0a583b407f..1711b67bc3 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -3,12 +3,11 @@ menu "RT-Thread Kernel" config RT_NAME_MAX int "The maximal size of kernel object name" - range 0 64 + range 1 64 default 8 help Each kernel object, such as thread, timer, semaphore etc, has a 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 bool "Use the data types defined in ARCH_CPU" |
