summaryrefslogtreecommitdiff
path: root/bsp/thead-smart/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/thead-smart/Kconfig')
-rw-r--r--bsp/thead-smart/Kconfig36
1 files changed, 36 insertions, 0 deletions
diff --git a/bsp/thead-smart/Kconfig b/bsp/thead-smart/Kconfig
new file mode 100644
index 0000000000..b2fde84dc0
--- /dev/null
+++ b/bsp/thead-smart/Kconfig
@@ -0,0 +1,36 @@
+mainmenu "RT-Thread Configuration"
+
+config BSP_DIR
+ string
+ option env="BSP_ROOT"
+ default "."
+
+config RTT_DIR
+ string
+ option env="RTT_ROOT"
+ default "../.."
+
+# you can change the RTT_ROOT default "../.." to your rtthread_root,
+# example : default "F:/git_repositories/rt-thread"
+
+config PKGS_DIR
+ string
+ option env="PKGS_ROOT"
+ default "packages"
+
+source "$RTT_DIR/Kconfig"
+source "$PKGS_DIR/Kconfig"
+
+config SOC_THEAD_SMART
+ bool
+ select RT_USING_COMPONENTS_INIT
+ select RT_USING_USER_MAIN
+ default y
+
+if RT_USING_SERIAL
+
+ config RT_USING_UART1
+ bool "Using uart1"
+ default y
+
+endif