summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2023-11-30 18:55:35 +0800
committerguo <[email protected]>2023-12-01 14:43:05 +0800
commitc06a31c7d38c236b7461a2f6bba084f8a4497ffc (patch)
tree97fa293b686aa7d70d306f925dd9fad8c0427d3f /components
parent031a81a98e6961bbc51f0bc62a308832bc0a39cb (diff)
[msh] add dependency of RT_USING_CONSOLE
Diffstat (limited to 'components')
-rw-r--r--components/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/Kconfig b/components/Kconfig
index b1a57b96ba..cef29589c9 100644
--- a/components/Kconfig
+++ b/components/Kconfig
@@ -25,7 +25,9 @@ config RT_USING_LEGACY
bool "Support legacy version for compatibility"
default n
+if RT_USING_CONSOLE
source "$RTT_DIR/components/finsh/Kconfig"
+endif
if !RT_USING_NANO
source "$RTT_DIR/components/dfs/Kconfig"