summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"