Просмотр исходного кода

add bsp/stm32f429-disco/Kconfig bsp/stm32f429-disco/drivers/Kconfig

SummerGift 7 лет назад
Родитель
Сommit
a9e20047c2
2 измененных файлов с 48 добавлено и 0 удалено
  1. 29 0
      bsp/stm32f429-disco/Kconfig
  2. 19 0
      bsp/stm32f429-disco/drivers/Kconfig

+ 29 - 0
bsp/stm32f429-disco/Kconfig

@@ -0,0 +1,29 @@
+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"
+
+source "$BSP_DIR/drivers/Kconfig"
+
+
+
+    
+    

+ 19 - 0
bsp/stm32f429-disco/drivers/Kconfig

@@ -0,0 +1,19 @@
+config RT_USING_EXT_SDRAM
+    bool "Enable SDRAM on the board"
+    default y
+ 
+config RT_USING_UART1
+    bool "Enable UART1"
+    default y    
+    
+config RT_USING_UART2
+    bool "Enable UART2"
+    default n    
+
+config RT_USING_UART3
+    bool "Enable UART3"
+    default n
+
+config RT_USING_SPI5
+    bool "Enable SPI5"
+    default n