diff options
| author | SummerGift <[email protected]> | 2017-11-01 11:02:09 +0800 |
|---|---|---|
| committer | SummerGift <[email protected]> | 2017-11-01 11:02:48 +0800 |
| commit | a9e20047c26fa1d676792ae2f5b473316bed0482 (patch) | |
| tree | a73ac51f9ed0331db6e5136cb214fc02feb44ee5 /bsp | |
| parent | 42e374e4f45a85d16ecff660f09c7632a7fbaf21 (diff) | |
add bsp/stm32f429-disco/Kconfig bsp/stm32f429-disco/drivers/Kconfig
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/stm32f429-disco/Kconfig | 29 | ||||
| -rw-r--r-- | bsp/stm32f429-disco/drivers/Kconfig | 19 |
2 files changed, 48 insertions, 0 deletions
diff --git a/bsp/stm32f429-disco/Kconfig b/bsp/stm32f429-disco/Kconfig new file mode 100644 index 0000000000..fe7347e14f --- /dev/null +++ b/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" + + + + +
\ No newline at end of file diff --git a/bsp/stm32f429-disco/drivers/Kconfig b/bsp/stm32f429-disco/drivers/Kconfig new file mode 100644 index 0000000000..77c7d9ce6e --- /dev/null +++ b/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 |
