From a2676b0544d5f1b1102e8ecf31610b58053698e8 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Sat, 24 Dec 2022 23:41:22 -0500 Subject: [kernel] RT_NAME_MAX set the range from 1 RT_NAME_MAX为0是nano中使用,完整版中不支持const name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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" -- cgit v1.3.1