From a9e20047c26fa1d676792ae2f5b473316bed0482 Mon Sep 17 00:00:00 2001 From: SummerGift Date: Wed, 1 Nov 2017 11:02:09 +0800 Subject: [PATCH] add bsp/stm32f429-disco/Kconfig bsp/stm32f429-disco/drivers/Kconfig --- bsp/stm32f429-disco/Kconfig | 29 +++++++++++++++++++++++++++++ bsp/stm32f429-disco/drivers/Kconfig | 19 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 bsp/stm32f429-disco/Kconfig create mode 100644 bsp/stm32f429-disco/drivers/Kconfig diff --git a/bsp/stm32f429-disco/Kconfig b/bsp/stm32f429-disco/Kconfig new file mode 100644 index 000000000..fe7347e14 --- /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 000000000..77c7d9ce6 --- /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 -- GitLab