summaryrefslogtreecommitdiff
path: root/bsp/gd32303e-eval/Kconfig
diff options
context:
space:
mode:
authorluo jiao <[email protected]>2018-05-21 11:13:46 +0800
committerluo jiao <[email protected]>2018-05-21 17:15:05 +0800
commit4f4a04437fcb7c8fead289d1eb8202f136024691 (patch)
tree77486dd937f3fd016ba1bfb71e2fc3ca77823ed2 /bsp/gd32303e-eval/Kconfig
parenta99b09658e6e1ef9fa45b2095ffaa5976fcdef0b (diff)
add gd32303e-eval BSP
Diffstat (limited to 'bsp/gd32303e-eval/Kconfig')
-rw-r--r--bsp/gd32303e-eval/Kconfig72
1 files changed, 72 insertions, 0 deletions
diff --git a/bsp/gd32303e-eval/Kconfig b/bsp/gd32303e-eval/Kconfig
new file mode 100644
index 0000000000..c1e97ccd3f
--- /dev/null
+++ b/bsp/gd32303e-eval/Kconfig
@@ -0,0 +1,72 @@
+mainmenu "RT-Thread Configuration"
+
+config $BSP_DIR
+ string
+ option env="BSP_ROOT"
+ default "."
+
+config $RTT_DIR
+ string
+ option env="RTT_ROOT"
+ default "../.."
+
+config $PKGS_DIR
+ string
+ option env="PKGS_ROOT"
+ default "packages"
+
+source "$RTT_DIR/Kconfig"
+source "$PKGS_DIR/Kconfig"
+
+config RT_USING_USART0
+ bool "Using USART0"
+ select RT_USING_SERIAL
+ default y
+
+config RT_USING_USART1
+ bool "Using USART1"
+ select RT_USING_SERIAL
+ default n
+
+config RT_USING_USART2
+ bool "Using USART2"
+ select RT_USING_SERIAL
+ default n
+
+config RT_USING_UART3
+ bool "Using UART3"
+ select RT_USING_SERIAL
+ default n
+
+config RT_USING_UART4
+ bool "Using UART4"
+ select RT_USING_SERIAL
+ default n
+
+config RT_USING_SPI0
+ bool "Using SPI0"
+ select RT_USING_SPI
+ default y
+
+config RT_USING_SPI1
+ bool "Using SPI1"
+ select RT_USING_SPI
+ default n
+
+config RT_USING_SPI2
+ bool "Using SPI2"
+ select RT_USING_SPI
+ default n
+
+config RT_USING_I2C0
+ bool "Using I2C0"
+ select RT_USING_I2C
+ default n
+
+config RT_USING_I2C1
+ bool "Using I2C1"
+ select RT_USING_I2C
+ default n
+
+
+