From d76eca13840eba4a94cbd22e184076998ad3e973 Mon Sep 17 00:00:00 2001 From: wdfk-prog <1425075683@qq.com> Date: Mon, 19 Jan 2026 09:05:49 +0800 Subject: [PATCH] fix(Kconfig): Update the default value of FINSH_THREAD_PRIORITY to support different thread priorities --- components/finsh/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/finsh/Kconfig b/components/finsh/Kconfig index 67a50a28d7..4aa83b34d7 100644 --- a/components/finsh/Kconfig +++ b/components/finsh/Kconfig @@ -20,7 +20,9 @@ if RT_USING_MSH config FINSH_THREAD_PRIORITY int "The priority level value of thread" - default 20 + default 5 if RT_THREAD_PRIORITY_8 + default 20 if RT_THREAD_PRIORITY_32 + default 160 if RT_THREAD_PRIORITY_256 config FINSH_THREAD_STACK_SIZE int "The stack size for thread"