summaryrefslogtreecommitdiff
path: root/components/KConfig
diff options
context:
space:
mode:
Diffstat (limited to 'components/KConfig')
-rw-r--r--components/KConfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/components/KConfig b/components/KConfig
index 5747befe3a..0ec586b2be 100644
--- a/components/KConfig
+++ b/components/KConfig
@@ -1,5 +1,17 @@
menu "RT-Thread Components"
+config RT_USING_COMPONENTS_INIT
+ bool "Use components automatically initialization"
+ default y
+
+if RT_USING_COMPONENTS_INIT
+ config RT_USING_USER_MAIN
+ bool "The main() function as user entry function"
+ default y
+endif
+
+source "$RTT_DIR/components/cplusplus/KConfig"
+
source "$RTT_DIR/components/finsh/KConfig"
source "$RTT_DIR/components/dfs/KConfig"