From 1ef33e66cd6ca01cf7d595731342e6899eab5ac4 Mon Sep 17 00:00:00 2001 From: yangjie Date: Wed, 11 Sep 2019 12:06:43 +0800 Subject: [PATCH] =?UTF-8?q?[bsp][Kconfig]=E5=9C=A8bsp=E7=9A=84Kconfig?= =?UTF-8?q?=E4=B8=ADselect=E7=BB=84=E4=BB=B6=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E4=B8=8Euser=20main=E7=9A=84=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/allwinner_tina/Kconfig | 2 ++ bsp/amebaz/Kconfig | 7 ++++++- bsp/asm9260t/Kconfig | 6 +++++- bsp/at91sam9260/Kconfig | 6 ++++++ bsp/beaglebone/Kconfig | 6 ++++++ bsp/ck802/Kconfig | 6 ++++++ bsp/dm365/Kconfig | 6 ++++++ bsp/es32f0334/Kconfig | 2 ++ bsp/es32f0654/Kconfig | 2 ++ bsp/gd32303e-eval/Kconfig | 6 ++++++ bsp/gd32450z-eval/Kconfig | 6 ++++++ bsp/gd32e230k-start/Kconfig | 6 ++++++ bsp/gd32vf103v-eval/Kconfig | 6 ++++++ bsp/gkipc/Kconfig | 5 +++++ bsp/hifive1/Kconfig | 6 ++++++ bsp/imx6sx/cortex-a9/Kconfig | 6 ++++++ bsp/imx6ul/Kconfig | 6 ++++++ bsp/imxrt/imxrt1052-atk-commander/board/Kconfig | 2 ++ bsp/imxrt/imxrt1052-fire-pro/board/Kconfig | 2 ++ bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig | 2 ++ bsp/imxrt/imxrt1064-nxp-evk/board/Kconfig | 2 ++ bsp/k210/Kconfig | 2 ++ bsp/lpc1114/Kconfig | 2 ++ bsp/lpc408x/Kconfig | 2 ++ bsp/lpc54114-lite/Kconfig | 2 ++ bsp/lpc54608-LPCXpresso/Kconfig | 2 ++ bsp/ls1cdev/Kconfig | 7 ++++++- bsp/mm32l07x/Kconfig | 6 ++++++ bsp/mm32l3xx/Kconfig | 6 ++++++ bsp/nrf52832/Kconfig | 6 ++++++ bsp/nuvoton_m05x/Kconfig | 7 ++++++- bsp/nuvoton_m487/Kconfig | 5 +++++ bsp/qemu-vexpress-a9/Kconfig | 2 ++ bsp/qemu-vexpress-gemini/Kconfig | 2 ++ bsp/raspi2/Kconfig | 2 ++ bsp/rv32m1_vega/ri5cy/Kconfig | 2 ++ bsp/stm32/libraries/templates/stm32f0xx/board/Kconfig | 2 ++ bsp/stm32/libraries/templates/stm32f10x/board/Kconfig | 2 ++ bsp/stm32/libraries/templates/stm32f2xx/board/Kconfig | 2 ++ bsp/stm32/libraries/templates/stm32f4xx/board/Kconfig | 2 ++ bsp/stm32/libraries/templates/stm32f7xx/board/Kconfig | 2 ++ bsp/stm32/libraries/templates/stm32h7xx/board/Kconfig | 2 ++ bsp/stm32/libraries/templates/stm32l4xx/board/Kconfig | 2 ++ bsp/stm32/libraries/templates/stm32xx_board_Kconfig | 2 ++ bsp/stm32/stm32f072-st-nucleo/board/Kconfig | 2 ++ bsp/stm32/stm32f091-st-nucleo/board/Kconfig | 2 ++ bsp/stm32/stm32f103-atk-nano/board/Kconfig | 2 ++ bsp/stm32/stm32f103-atk-warshipv3/board/Kconfig | 2 ++ bsp/stm32/stm32f103-dofly-M3S/board/Kconfig | 2 ++ bsp/stm32/stm32f103-dofly-lyc8/board/Kconfig | 2 ++ bsp/stm32/stm32f103-fire-arbitrary/board/Kconfig | 2 ++ bsp/stm32/stm32f103-gizwits-gokitv21/board/Kconfig | 2 ++ bsp/stm32/stm32f103-hw100k-ibox/board/Kconfig | 2 ++ bsp/stm32/stm32f103-mini-system/board/Kconfig | 2 ++ bsp/stm32/stm32f103-yf-ufun/board/Kconfig | 2 ++ bsp/stm32/stm32f107-uc-eval/board/Kconfig | 2 ++ bsp/stm32/stm32f401-st-nucleo/board/Kconfig | 2 ++ bsp/stm32/stm32f405-smdz-breadfruit/board/Kconfig | 2 ++ bsp/stm32/stm32f407-atk-explorer/board/Kconfig | 2 ++ bsp/stm32/stm32f407-st-discovery/board/Kconfig | 2 ++ bsp/stm32/stm32f411-st-nucleo/board/Kconfig | 2 ++ bsp/stm32/stm32f429-armfly-v6/board/Kconfig | 2 ++ bsp/stm32/stm32f429-atk-apollo/board/Kconfig | 2 ++ bsp/stm32/stm32f429-fire-challenger/board/Kconfig | 2 ++ bsp/stm32/stm32f446-st-nucleo/board/Kconfig | 2 ++ bsp/stm32/stm32f469-st-disco/board/Kconfig | 2 ++ bsp/stm32/stm32f746-st-disco/board/Kconfig | 2 ++ bsp/stm32/stm32f767-atk-apollo/board/Kconfig | 2 ++ bsp/stm32/stm32f767-fire-challenger/board/Kconfig | 2 ++ bsp/stm32/stm32f767-st-nucleo/board/Kconfig | 2 ++ bsp/stm32/stm32g071-st-nucleo/board/Kconfig | 2 ++ bsp/stm32/stm32h743-atk-apollo/board/Kconfig | 2 ++ bsp/stm32/stm32l053-st-nucleo/board/Kconfig | 2 ++ bsp/stm32/stm32l432-st-nucleo/board/Kconfig | 2 ++ bsp/stm32/stm32l452-st-nucleo/board/Kconfig | 2 ++ bsp/stm32/stm32l475-atk-pandora/board/Kconfig | 2 ++ bsp/stm32/stm32l475-st-discovery/board/Kconfig | 2 ++ bsp/stm32/stm32l476-st-nucleo/board/Kconfig | 2 ++ bsp/stm32/stm32l496-ali-developer/board/Kconfig | 2 ++ bsp/stm32/stm32l4r9-st-eval/board/Kconfig | 2 ++ bsp/stm32f20x/Kconfig | 6 ++++++ bsp/stm32f429-disco/Kconfig | 5 +++++ bsp/stm32h743-nucleo/Kconfig | 6 ++++++ bsp/swm320-lq100/Kconfig | 2 ++ bsp/synopsys/emsk_em9d/Kconfig | 4 +++- bsp/tm4c129x/Kconfig | 6 ++++++ bsp/tms320f28379d/Kconfig | 2 ++ bsp/w60x/Kconfig | 6 ++++++ bsp/x1000/Kconfig | 2 ++ 89 files changed, 275 insertions(+), 5 deletions(-) diff --git a/bsp/allwinner_tina/Kconfig b/bsp/allwinner_tina/Kconfig index bf8ea3eb29..8f9a367dc2 100644 --- a/bsp/allwinner_tina/Kconfig +++ b/bsp/allwinner_tina/Kconfig @@ -24,6 +24,8 @@ source "$PKGS_DIR/Kconfig" config SOC_TINA bool select ARCH_ARM_ARM9 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y source "$BSP_DIR/drivers/Kconfig" diff --git a/bsp/amebaz/Kconfig b/bsp/amebaz/Kconfig index f2171e022e..0c177e6d1a 100644 --- a/bsp/amebaz/Kconfig +++ b/bsp/amebaz/Kconfig @@ -29,4 +29,9 @@ source "$ENV_DIR/tools/scripts/cmds/Kconfig" source "$BSP_DIR/libraries/Kconfig" source "$BSP_DIR/drivers/Kconfig" -select PKG_USING_REALTEK_AMEBA +config SOC_AMEBAZ + bool + select PKG_USING_REALTEK_AMEBA + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y diff --git a/bsp/asm9260t/Kconfig b/bsp/asm9260t/Kconfig index cf15b0089e..a51e806497 100644 --- a/bsp/asm9260t/Kconfig +++ b/bsp/asm9260t/Kconfig @@ -18,6 +18,11 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" +config SOC_AT91SAM926 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config RT_USING_UART0 bool "Using RT_USING_UART0" default n @@ -35,4 +40,3 @@ config RT_USING_LED default y help led blink demo - diff --git a/bsp/at91sam9260/Kconfig b/bsp/at91sam9260/Kconfig index fcc0b7f701..23b4eea1d4 100644 --- a/bsp/at91sam9260/Kconfig +++ b/bsp/at91sam9260/Kconfig @@ -18,6 +18,12 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" +config SOC_AT91SAM926 + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config RT_USING_DBGU bool "Using RT_USING_DBGU" default y diff --git a/bsp/beaglebone/Kconfig b/bsp/beaglebone/Kconfig index face1126bc..2784e36068 100644 --- a/bsp/beaglebone/Kconfig +++ b/bsp/beaglebone/Kconfig @@ -26,6 +26,12 @@ config ENV_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" +config SOC_AM335X + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config RT_USING_UART1 bool "Using RT_USING_UART1" default y diff --git a/bsp/ck802/Kconfig b/bsp/ck802/Kconfig index 57926af404..5a40c5529c 100644 --- a/bsp/ck802/Kconfig +++ b/bsp/ck802/Kconfig @@ -21,6 +21,12 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" +config SOC_CK802 + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + if RT_USING_SERIAL config RT_USING_UART1 diff --git a/bsp/dm365/Kconfig b/bsp/dm365/Kconfig index 5fe94df8ef..39a4db0ae6 100644 --- a/bsp/dm365/Kconfig +++ b/bsp/dm365/Kconfig @@ -18,6 +18,12 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" +config SOC_DM365 + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + comment "BSP configure" config RT_USING_GPIO_DEVICE diff --git a/bsp/es32f0334/Kconfig b/bsp/es32f0334/Kconfig index 7a0a1d7f75..e5b1659247 100644 --- a/bsp/es32f0334/Kconfig +++ b/bsp/es32f0334/Kconfig @@ -20,6 +20,8 @@ source "$PKGS_DIR/Kconfig" config SOC_ES32F0334LT bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y source "drivers/Kconfig" diff --git a/bsp/es32f0654/Kconfig b/bsp/es32f0654/Kconfig index f04098be6f..188eb5bfc0 100644 --- a/bsp/es32f0654/Kconfig +++ b/bsp/es32f0654/Kconfig @@ -20,6 +20,8 @@ source "$PKGS_DIR/Kconfig" config SOC_ES32F0654LT bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y source "drivers/Kconfig" diff --git a/bsp/gd32303e-eval/Kconfig b/bsp/gd32303e-eval/Kconfig index e4706f4d4f..8287403eeb 100644 --- a/bsp/gd32303e-eval/Kconfig +++ b/bsp/gd32303e-eval/Kconfig @@ -18,6 +18,12 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" +config SOC_GD32303E + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config RT_USING_USART0 bool "Using USART0" select RT_USING_SERIAL diff --git a/bsp/gd32450z-eval/Kconfig b/bsp/gd32450z-eval/Kconfig index ea48a63ec0..4227b5a0b6 100644 --- a/bsp/gd32450z-eval/Kconfig +++ b/bsp/gd32450z-eval/Kconfig @@ -21,6 +21,12 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" +config SOC_GD32450Z + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config BSP_USING_SDRAM bool "Using sdram" default y diff --git a/bsp/gd32e230k-start/Kconfig b/bsp/gd32e230k-start/Kconfig index 36b2d0eeb1..ef5abce56d 100644 --- a/bsp/gd32e230k-start/Kconfig +++ b/bsp/gd32e230k-start/Kconfig @@ -18,6 +18,12 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" +config SOC_GD32E230K + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config RT_USING_USART0 bool "Using USART0" select RT_USING_SERIAL diff --git a/bsp/gd32vf103v-eval/Kconfig b/bsp/gd32vf103v-eval/Kconfig index 223a0f5bec..5ae20db52a 100644 --- a/bsp/gd32vf103v-eval/Kconfig +++ b/bsp/gd32vf103v-eval/Kconfig @@ -18,3 +18,9 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "board/Kconfig" + +config SOC_GD32VF103 + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y diff --git a/bsp/gkipc/Kconfig b/bsp/gkipc/Kconfig index cecf754987..e49a4af73e 100644 --- a/bsp/gkipc/Kconfig +++ b/bsp/gkipc/Kconfig @@ -18,6 +18,11 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" +config SOC_GK710 + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y choice prompt "Device type" diff --git a/bsp/hifive1/Kconfig b/bsp/hifive1/Kconfig index ab8d23cfb5..64247a3ac4 100644 --- a/bsp/hifive1/Kconfig +++ b/bsp/hifive1/Kconfig @@ -17,3 +17,9 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" + +config SOC_FE310 + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y diff --git a/bsp/imx6sx/cortex-a9/Kconfig b/bsp/imx6sx/cortex-a9/Kconfig index 305671a126..0898ab8dd6 100644 --- a/bsp/imx6sx/cortex-a9/Kconfig +++ b/bsp/imx6sx/cortex-a9/Kconfig @@ -26,6 +26,12 @@ config ENV_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" +config SOC_MCIMX6X4 + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config RT_USING_UART1 bool "Using RT_USING_UART1" default y diff --git a/bsp/imx6ul/Kconfig b/bsp/imx6ul/Kconfig index 0e15f9cc18..af18576d40 100644 --- a/bsp/imx6ul/Kconfig +++ b/bsp/imx6ul/Kconfig @@ -24,3 +24,9 @@ source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "$BSP_DIR/drivers/Kconfig" + +config SOC_MCIMX6X4 + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y diff --git a/bsp/imxrt/imxrt1052-atk-commander/board/Kconfig b/bsp/imxrt/imxrt1052-atk-commander/board/Kconfig index b7a2f39323..859c2a4fdd 100644 --- a/bsp/imxrt/imxrt1052-atk-commander/board/Kconfig +++ b/bsp/imxrt/imxrt1052-atk-commander/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_IMXRT1052CVL5B bool select SOC_MIMXRT1050_SERIES + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "On-chip Peripheral Drivers" diff --git a/bsp/imxrt/imxrt1052-fire-pro/board/Kconfig b/bsp/imxrt/imxrt1052-fire-pro/board/Kconfig index 9280cbfb7f..5ab63d35a9 100644 --- a/bsp/imxrt/imxrt1052-fire-pro/board/Kconfig +++ b/bsp/imxrt/imxrt1052-fire-pro/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_IMXRT1052CVL5B bool select SOC_MIMXRT1050_SERIES + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "On-chip Peripheral Drivers" diff --git a/bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig b/bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig index 4565b07826..05ee786996 100644 --- a/bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig +++ b/bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig @@ -8,6 +8,8 @@ config SOC_MIMXRT1052DVL6B bool select SOC_MIMXRT1050_SERIES select BSP_USING_HYPERFLASH + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "On-chip Peripheral Drivers" diff --git a/bsp/imxrt/imxrt1064-nxp-evk/board/Kconfig b/bsp/imxrt/imxrt1064-nxp-evk/board/Kconfig index a5f694a6dd..7bfd46cf4b 100644 --- a/bsp/imxrt/imxrt1064-nxp-evk/board/Kconfig +++ b/bsp/imxrt/imxrt1064-nxp-evk/board/Kconfig @@ -13,6 +13,8 @@ config SOC_MIMXRT1064DVL6A bool select SOC_MIMXRT1064_SERIES select BSP_USING_4MFLASH + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "On-chip Peripheral Drivers" diff --git a/bsp/k210/Kconfig b/bsp/k210/Kconfig index 0abdcab46c..5aa1e03dab 100644 --- a/bsp/k210/Kconfig +++ b/bsp/k210/Kconfig @@ -22,6 +22,8 @@ config BOARD_K210_EVB bool select ARCH_RISCV64 select PKG_USING_KENDRYTE_SDK + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y source "driver/Kconfig" diff --git a/bsp/lpc1114/Kconfig b/bsp/lpc1114/Kconfig index 8b4bc067f8..9ff7943584 100644 --- a/bsp/lpc1114/Kconfig +++ b/bsp/lpc1114/Kconfig @@ -24,6 +24,8 @@ source "$PKGS_DIR/Kconfig" config SOC_LPC1114 bool select ARCH_ARM_CORTEX_M0 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y #source "$BSP_DIR/drivers/Kconfig" diff --git a/bsp/lpc408x/Kconfig b/bsp/lpc408x/Kconfig index e586d1b5b4..77f83a9825 100644 --- a/bsp/lpc408x/Kconfig +++ b/bsp/lpc408x/Kconfig @@ -21,6 +21,8 @@ source "$PKGS_DIR/Kconfig" config SOC_LPC4088 bool select ARCH_ARM_CORTEX_M4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y source "$BSP_DIR/drivers/Kconfig" diff --git a/bsp/lpc54114-lite/Kconfig b/bsp/lpc54114-lite/Kconfig index 4a48333983..5f245e3cb5 100644 --- a/bsp/lpc54114-lite/Kconfig +++ b/bsp/lpc54114-lite/Kconfig @@ -21,6 +21,8 @@ source "$PKGS_DIR/Kconfig" config SOC_LPC54114 bool select ARCH_ARM_CORTEX_M4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y diff --git a/bsp/lpc54608-LPCXpresso/Kconfig b/bsp/lpc54608-LPCXpresso/Kconfig index a4613012c6..e567931a1d 100644 --- a/bsp/lpc54608-LPCXpresso/Kconfig +++ b/bsp/lpc54608-LPCXpresso/Kconfig @@ -24,6 +24,8 @@ source "$PKGS_DIR/Kconfig" config SOC_LPC54608 bool select ARCH_ARM_CORTEX_M4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y source "$BSP_DIR/drivers/Kconfig" diff --git a/bsp/ls1cdev/Kconfig b/bsp/ls1cdev/Kconfig index f447bbd55e..41f951c848 100644 --- a/bsp/ls1cdev/Kconfig +++ b/bsp/ls1cdev/Kconfig @@ -1,6 +1,5 @@ mainmenu "RT-Thread Configuration" - config BSP_DIR string option env="BSP_ROOT" @@ -19,6 +18,12 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" +config SOC_1C300 + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config RT_USING_SELF_BOOT bool "Enable RT-Thread run without bootloader" default n diff --git a/bsp/mm32l07x/Kconfig b/bsp/mm32l07x/Kconfig index c481f04670..77a31c68f3 100644 --- a/bsp/mm32l07x/Kconfig +++ b/bsp/mm32l07x/Kconfig @@ -18,3 +18,9 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "drivers/Kconfig" + +config SOC_MM32L073 + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y diff --git a/bsp/mm32l3xx/Kconfig b/bsp/mm32l3xx/Kconfig index c481f04670..b6f921f99a 100644 --- a/bsp/mm32l3xx/Kconfig +++ b/bsp/mm32l3xx/Kconfig @@ -18,3 +18,9 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "drivers/Kconfig" + +config SOC_MM32L373 + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y diff --git a/bsp/nrf52832/Kconfig b/bsp/nrf52832/Kconfig index e23ec81e03..ae060439ca 100644 --- a/bsp/nrf52832/Kconfig +++ b/bsp/nrf52832/Kconfig @@ -18,3 +18,9 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" +config SOC_NRF52832 + bool + select RT_USING_COMPONENTS_INIT + # select RT_USING_USER_MAIN + default y + diff --git a/bsp/nuvoton_m05x/Kconfig b/bsp/nuvoton_m05x/Kconfig index 1503876ae3..d1f78c2844 100644 --- a/bsp/nuvoton_m05x/Kconfig +++ b/bsp/nuvoton_m05x/Kconfig @@ -18,8 +18,13 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" +config SOC_M051 + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y config RT_USING_UART0 bool "Using Uart0" select RT_USING_SERIAL - default y \ No newline at end of file + default y diff --git a/bsp/nuvoton_m487/Kconfig b/bsp/nuvoton_m487/Kconfig index 42f1ea0b62..426113c9de 100644 --- a/bsp/nuvoton_m487/Kconfig +++ b/bsp/nuvoton_m487/Kconfig @@ -23,3 +23,8 @@ source "$PKGS_DIR/Kconfig" source "$BSP_DIR/driver/Kconfig" +config SOC_M487 + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y diff --git a/bsp/qemu-vexpress-a9/Kconfig b/bsp/qemu-vexpress-a9/Kconfig index a74e2411f9..25921e6e7c 100644 --- a/bsp/qemu-vexpress-a9/Kconfig +++ b/bsp/qemu-vexpress-a9/Kconfig @@ -21,6 +21,8 @@ source "$PKGS_DIR/Kconfig" config SOC_VEXPRESS_A9 bool select ARCH_ARM_CORTEX_A9 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y source "$BSP_DIR/drivers/Kconfig" diff --git a/bsp/qemu-vexpress-gemini/Kconfig b/bsp/qemu-vexpress-gemini/Kconfig index fb1c5acd61..e86e369747 100644 --- a/bsp/qemu-vexpress-gemini/Kconfig +++ b/bsp/qemu-vexpress-gemini/Kconfig @@ -21,6 +21,8 @@ source "$PKGS_DIR/Kconfig" config SOC_VEXPRESS_GEMINI bool select ARCH_ARM_CORTEX_A9 + select RT_USING_COMPONENTS_INIT + # select RT_USING_USER_MAIN default y source "$BSP_DIR/drivers/Kconfig" diff --git a/bsp/raspi2/Kconfig b/bsp/raspi2/Kconfig index f28e22a697..06cbe1128f 100644 --- a/bsp/raspi2/Kconfig +++ b/bsp/raspi2/Kconfig @@ -21,6 +21,8 @@ source "$PKGS_DIR/Kconfig" config BCM2836_SOC bool select ARCH_ARM_CORTEX_A7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y source "driver/Kconfig" diff --git a/bsp/rv32m1_vega/ri5cy/Kconfig b/bsp/rv32m1_vega/ri5cy/Kconfig index c72e2ea344..970d729910 100644 --- a/bsp/rv32m1_vega/ri5cy/Kconfig +++ b/bsp/rv32m1_vega/ri5cy/Kconfig @@ -25,6 +25,8 @@ config SOC_VEGA_RI5CY config BOARD_X_FRDM_VEGA bool select SOC_VEGA_RI5CY + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y source "driver/Kconfig" diff --git a/bsp/stm32/libraries/templates/stm32f0xx/board/Kconfig b/bsp/stm32/libraries/templates/stm32f0xx/board/Kconfig index ad25140f65..c873cac7be 100644 --- a/bsp/stm32/libraries/templates/stm32f0xx/board/Kconfig +++ b/bsp/stm32/libraries/templates/stm32f0xx/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F091RC bool select SOC_SERIES_STM32F0 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/libraries/templates/stm32f10x/board/Kconfig b/bsp/stm32/libraries/templates/stm32f10x/board/Kconfig index fb1f508f27..ff3822a59d 100644 --- a/bsp/stm32/libraries/templates/stm32f10x/board/Kconfig +++ b/bsp/stm32/libraries/templates/stm32f10x/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F103RB bool select SOC_SERIES_STM32F1 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/libraries/templates/stm32f2xx/board/Kconfig b/bsp/stm32/libraries/templates/stm32f2xx/board/Kconfig index babf0f6e1a..7ecf21c14c 100644 --- a/bsp/stm32/libraries/templates/stm32f2xx/board/Kconfig +++ b/bsp/stm32/libraries/templates/stm32f2xx/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F207VE bool select SOC_SERIES_STM32F2 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/libraries/templates/stm32f4xx/board/Kconfig b/bsp/stm32/libraries/templates/stm32f4xx/board/Kconfig index 00b23fbd44..24a15a4e3e 100644 --- a/bsp/stm32/libraries/templates/stm32f4xx/board/Kconfig +++ b/bsp/stm32/libraries/templates/stm32f4xx/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F407ZG bool select SOC_SERIES_STM32F4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/libraries/templates/stm32f7xx/board/Kconfig b/bsp/stm32/libraries/templates/stm32f7xx/board/Kconfig index e78efb71a1..b5b0310c28 100644 --- a/bsp/stm32/libraries/templates/stm32f7xx/board/Kconfig +++ b/bsp/stm32/libraries/templates/stm32f7xx/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F767IG bool select SOC_SERIES_STM32F7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/libraries/templates/stm32h7xx/board/Kconfig b/bsp/stm32/libraries/templates/stm32h7xx/board/Kconfig index 4b0897972c..0a018a7a38 100644 --- a/bsp/stm32/libraries/templates/stm32h7xx/board/Kconfig +++ b/bsp/stm32/libraries/templates/stm32h7xx/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32H743II bool select SOC_SERIES_STM32H7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/libraries/templates/stm32l4xx/board/Kconfig b/bsp/stm32/libraries/templates/stm32l4xx/board/Kconfig index 48708ad3bc..aaf0cac98d 100644 --- a/bsp/stm32/libraries/templates/stm32l4xx/board/Kconfig +++ b/bsp/stm32/libraries/templates/stm32l4xx/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32L475VE bool select SOC_SERIES_STM32L4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/libraries/templates/stm32xx_board_Kconfig b/bsp/stm32/libraries/templates/stm32xx_board_Kconfig index ce836e027b..d419b4aea9 100644 --- a/bsp/stm32/libraries/templates/stm32xx_board_Kconfig +++ b/bsp/stm32/libraries/templates/stm32xx_board_Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32L475VE bool select SOC_SERIES_STM32L4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f072-st-nucleo/board/Kconfig b/bsp/stm32/stm32f072-st-nucleo/board/Kconfig index 252d7aa20f..d86ed868ed 100644 --- a/bsp/stm32/stm32f072-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32f072-st-nucleo/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F072RB bool select SOC_SERIES_STM32F0 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f091-st-nucleo/board/Kconfig b/bsp/stm32/stm32f091-st-nucleo/board/Kconfig index 5810eea1d0..1a169a1aee 100644 --- a/bsp/stm32/stm32f091-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32f091-st-nucleo/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F091RC bool select SOC_SERIES_STM32F0 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f103-atk-nano/board/Kconfig b/bsp/stm32/stm32f103-atk-nano/board/Kconfig index 0d53ea19d0..458d33ae0d 100644 --- a/bsp/stm32/stm32f103-atk-nano/board/Kconfig +++ b/bsp/stm32/stm32f103-atk-nano/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F103RB bool select SOC_SERIES_STM32F1 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f103-atk-warshipv3/board/Kconfig b/bsp/stm32/stm32f103-atk-warshipv3/board/Kconfig index e02250d243..aca91d47fc 100644 --- a/bsp/stm32/stm32f103-atk-warshipv3/board/Kconfig +++ b/bsp/stm32/stm32f103-atk-warshipv3/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F103ZE bool select SOC_SERIES_STM32F1 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f103-dofly-M3S/board/Kconfig b/bsp/stm32/stm32f103-dofly-M3S/board/Kconfig index 282a6fda5f..82f0ab5a1d 100644 --- a/bsp/stm32/stm32f103-dofly-M3S/board/Kconfig +++ b/bsp/stm32/stm32f103-dofly-M3S/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F103ZE bool select SOC_SERIES_STM32F1 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f103-dofly-lyc8/board/Kconfig b/bsp/stm32/stm32f103-dofly-lyc8/board/Kconfig index 96330d54e5..6670e7ea48 100644 --- a/bsp/stm32/stm32f103-dofly-lyc8/board/Kconfig +++ b/bsp/stm32/stm32f103-dofly-lyc8/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F103C8 bool select SOC_SERIES_STM32F1 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f103-fire-arbitrary/board/Kconfig b/bsp/stm32/stm32f103-fire-arbitrary/board/Kconfig index f9d8ee51d6..f113be831b 100644 --- a/bsp/stm32/stm32f103-fire-arbitrary/board/Kconfig +++ b/bsp/stm32/stm32f103-fire-arbitrary/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F103ZE bool select SOC_SERIES_STM32F1 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f103-gizwits-gokitv21/board/Kconfig b/bsp/stm32/stm32f103-gizwits-gokitv21/board/Kconfig index 8e0ef52b6d..63948e6b26 100644 --- a/bsp/stm32/stm32f103-gizwits-gokitv21/board/Kconfig +++ b/bsp/stm32/stm32f103-gizwits-gokitv21/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F103C8 bool select SOC_SERIES_STM32F1 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f103-hw100k-ibox/board/Kconfig b/bsp/stm32/stm32f103-hw100k-ibox/board/Kconfig index cf4b3feed9..2b22439e25 100644 --- a/bsp/stm32/stm32f103-hw100k-ibox/board/Kconfig +++ b/bsp/stm32/stm32f103-hw100k-ibox/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F103ZE bool select SOC_SERIES_STM32F1 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f103-mini-system/board/Kconfig b/bsp/stm32/stm32f103-mini-system/board/Kconfig index 48c5214b3f..fe4bec029d 100644 --- a/bsp/stm32/stm32f103-mini-system/board/Kconfig +++ b/bsp/stm32/stm32f103-mini-system/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F103C8 bool select SOC_SERIES_STM32F1 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f103-yf-ufun/board/Kconfig b/bsp/stm32/stm32f103-yf-ufun/board/Kconfig index 6f81de4993..2d5952ca4c 100644 --- a/bsp/stm32/stm32f103-yf-ufun/board/Kconfig +++ b/bsp/stm32/stm32f103-yf-ufun/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F103RC bool select SOC_SERIES_STM32F1 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f107-uc-eval/board/Kconfig b/bsp/stm32/stm32f107-uc-eval/board/Kconfig index b00de3bf8d..c5f23f9f56 100644 --- a/bsp/stm32/stm32f107-uc-eval/board/Kconfig +++ b/bsp/stm32/stm32f107-uc-eval/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F107VC bool select SOC_SERIES_STM32F1 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f401-st-nucleo/board/Kconfig b/bsp/stm32/stm32f401-st-nucleo/board/Kconfig index 30646918ce..829353eb19 100644 --- a/bsp/stm32/stm32f401-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32f401-st-nucleo/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F401RE bool select SOC_SERIES_STM32F4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f405-smdz-breadfruit/board/Kconfig b/bsp/stm32/stm32f405-smdz-breadfruit/board/Kconfig index 42d338626f..20a39a470b 100644 --- a/bsp/stm32/stm32f405-smdz-breadfruit/board/Kconfig +++ b/bsp/stm32/stm32f405-smdz-breadfruit/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F405RG bool select SOC_SERIES_STM32F4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f407-atk-explorer/board/Kconfig b/bsp/stm32/stm32f407-atk-explorer/board/Kconfig index 2a235f0550..5afd038648 100644 --- a/bsp/stm32/stm32f407-atk-explorer/board/Kconfig +++ b/bsp/stm32/stm32f407-atk-explorer/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F407ZG bool select SOC_SERIES_STM32F4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f407-st-discovery/board/Kconfig b/bsp/stm32/stm32f407-st-discovery/board/Kconfig index 51cb9ea9a6..476864f4e6 100644 --- a/bsp/stm32/stm32f407-st-discovery/board/Kconfig +++ b/bsp/stm32/stm32f407-st-discovery/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F407VG bool select SOC_SERIES_STM32F4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f411-st-nucleo/board/Kconfig b/bsp/stm32/stm32f411-st-nucleo/board/Kconfig index 0364dc8b17..24e0e017db 100644 --- a/bsp/stm32/stm32f411-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32f411-st-nucleo/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F411RE bool select SOC_SERIES_STM32F4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f429-armfly-v6/board/Kconfig b/bsp/stm32/stm32f429-armfly-v6/board/Kconfig index 3cdb862125..2b0c3eb34c 100644 --- a/bsp/stm32/stm32f429-armfly-v6/board/Kconfig +++ b/bsp/stm32/stm32f429-armfly-v6/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F429BI bool select SOC_SERIES_STM32F4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f429-atk-apollo/board/Kconfig b/bsp/stm32/stm32f429-atk-apollo/board/Kconfig index e7bdc34715..4705be7b46 100644 --- a/bsp/stm32/stm32f429-atk-apollo/board/Kconfig +++ b/bsp/stm32/stm32f429-atk-apollo/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F429IG bool select SOC_SERIES_STM32F4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f429-fire-challenger/board/Kconfig b/bsp/stm32/stm32f429-fire-challenger/board/Kconfig index f83b82056f..7bb6c541e5 100644 --- a/bsp/stm32/stm32f429-fire-challenger/board/Kconfig +++ b/bsp/stm32/stm32f429-fire-challenger/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F429IG bool select SOC_SERIES_STM32F4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f446-st-nucleo/board/Kconfig b/bsp/stm32/stm32f446-st-nucleo/board/Kconfig index cc61a9b5a2..04197166f0 100644 --- a/bsp/stm32/stm32f446-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32f446-st-nucleo/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F446ZE bool select SOC_SERIES_STM32F4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f469-st-disco/board/Kconfig b/bsp/stm32/stm32f469-st-disco/board/Kconfig index 726681628a..9cf1430600 100644 --- a/bsp/stm32/stm32f469-st-disco/board/Kconfig +++ b/bsp/stm32/stm32f469-st-disco/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F469NI bool select SOC_SERIES_STM32F4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f746-st-disco/board/Kconfig b/bsp/stm32/stm32f746-st-disco/board/Kconfig index fdb76f0a39..378eafb110 100644 --- a/bsp/stm32/stm32f746-st-disco/board/Kconfig +++ b/bsp/stm32/stm32f746-st-disco/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F746NG bool select SOC_SERIES_STM32F7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f767-atk-apollo/board/Kconfig b/bsp/stm32/stm32f767-atk-apollo/board/Kconfig index 5992093b44..1589fff80f 100644 --- a/bsp/stm32/stm32f767-atk-apollo/board/Kconfig +++ b/bsp/stm32/stm32f767-atk-apollo/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F767IG bool select SOC_SERIES_STM32F7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f767-fire-challenger/board/Kconfig b/bsp/stm32/stm32f767-fire-challenger/board/Kconfig index 204b28702e..1769b1cfd7 100644 --- a/bsp/stm32/stm32f767-fire-challenger/board/Kconfig +++ b/bsp/stm32/stm32f767-fire-challenger/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F767IG bool select SOC_SERIES_STM32F7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32f767-st-nucleo/board/Kconfig b/bsp/stm32/stm32f767-st-nucleo/board/Kconfig index 0d0b50b6d6..849b397b3c 100644 --- a/bsp/stm32/stm32f767-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32f767-st-nucleo/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32F767ZI bool select SOC_SERIES_STM32F7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32g071-st-nucleo/board/Kconfig b/bsp/stm32/stm32g071-st-nucleo/board/Kconfig index 1ffc07568c..f129b01c43 100644 --- a/bsp/stm32/stm32g071-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32g071-st-nucleo/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32G071RB bool select SOC_SERIES_STM32G0 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32h743-atk-apollo/board/Kconfig b/bsp/stm32/stm32h743-atk-apollo/board/Kconfig index 9b76de7dc1..981d6bef50 100644 --- a/bsp/stm32/stm32h743-atk-apollo/board/Kconfig +++ b/bsp/stm32/stm32h743-atk-apollo/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32H743II bool select SOC_SERIES_STM32H7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32l053-st-nucleo/board/Kconfig b/bsp/stm32/stm32l053-st-nucleo/board/Kconfig index 27d7acc9fb..febe9f5527 100644 --- a/bsp/stm32/stm32l053-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32l053-st-nucleo/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32L053R8 bool select SOC_SERIES_STM32L0 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32l432-st-nucleo/board/Kconfig b/bsp/stm32/stm32l432-st-nucleo/board/Kconfig index a028fb2f10..181be78e77 100644 --- a/bsp/stm32/stm32l432-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32l432-st-nucleo/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32L432KC bool select SOC_SERIES_STM32L4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32l452-st-nucleo/board/Kconfig b/bsp/stm32/stm32l452-st-nucleo/board/Kconfig index a0c9e1f009..96891266ca 100644 --- a/bsp/stm32/stm32l452-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32l452-st-nucleo/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32L452RE bool select SOC_SERIES_STM32L4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32l475-atk-pandora/board/Kconfig b/bsp/stm32/stm32l475-atk-pandora/board/Kconfig index 6504535cae..16ebda7a35 100644 --- a/bsp/stm32/stm32l475-atk-pandora/board/Kconfig +++ b/bsp/stm32/stm32l475-atk-pandora/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32L475VE bool select SOC_SERIES_STM32L4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32l475-st-discovery/board/Kconfig b/bsp/stm32/stm32l475-st-discovery/board/Kconfig index b5b0a0cd0d..24e249bc1c 100644 --- a/bsp/stm32/stm32l475-st-discovery/board/Kconfig +++ b/bsp/stm32/stm32l475-st-discovery/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32L475VG bool select SOC_SERIES_STM32L4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32l476-st-nucleo/board/Kconfig b/bsp/stm32/stm32l476-st-nucleo/board/Kconfig index 5335f7c0e8..5089c9f623 100644 --- a/bsp/stm32/stm32l476-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32l476-st-nucleo/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32L476RG bool select SOC_SERIES_STM32L4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32l496-ali-developer/board/Kconfig b/bsp/stm32/stm32l496-ali-developer/board/Kconfig index 6242d1268d..e40739e494 100644 --- a/bsp/stm32/stm32l496-ali-developer/board/Kconfig +++ b/bsp/stm32/stm32l496-ali-developer/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32L496VG bool select SOC_SERIES_STM32L4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32l4r9-st-eval/board/Kconfig b/bsp/stm32/stm32l4r9-st-eval/board/Kconfig index c409ef8073..3c0779cf98 100644 --- a/bsp/stm32/stm32l4r9-st-eval/board/Kconfig +++ b/bsp/stm32/stm32l4r9-st-eval/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_STM32L4R9AI bool select SOC_SERIES_STM32L4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32f20x/Kconfig b/bsp/stm32f20x/Kconfig index 889e08af79..08a5477c2b 100644 --- a/bsp/stm32f20x/Kconfig +++ b/bsp/stm32f20x/Kconfig @@ -24,3 +24,9 @@ config SOC_STM32F2 default y source "$BSP_DIR/Drivers/Kconfig" + +config SOC_STM32F20X + bool + # select RT_USING_COMPONENTS_INIT + # select RT_USING_USER_MAIN + default y diff --git a/bsp/stm32f429-disco/Kconfig b/bsp/stm32f429-disco/Kconfig index 4409aa2972..0623b4d46d 100644 --- a/bsp/stm32f429-disco/Kconfig +++ b/bsp/stm32f429-disco/Kconfig @@ -23,3 +23,8 @@ source "$PKGS_DIR/Kconfig" source "$BSP_DIR/drivers/Kconfig" +config SOC_STM32F429 + bool + select RT_USING_COMPONENTS_INIT + # select RT_USING_USER_MAIN + default y diff --git a/bsp/stm32h743-nucleo/Kconfig b/bsp/stm32h743-nucleo/Kconfig index a3d2727768..e61fb24e50 100644 --- a/bsp/stm32h743-nucleo/Kconfig +++ b/bsp/stm32h743-nucleo/Kconfig @@ -18,6 +18,12 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" +config SOC_STM32H743 + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config RT_USING_UART1 bool "Using uart1" select RT_USING_SERIAL diff --git a/bsp/swm320-lq100/Kconfig b/bsp/swm320-lq100/Kconfig index 70e793458e..59dcef1b29 100644 --- a/bsp/swm320-lq100/Kconfig +++ b/bsp/swm320-lq100/Kconfig @@ -20,6 +20,8 @@ source "$PKGS_DIR/Kconfig" config SOC_SWM320VET7 bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y source "drivers/Kconfig" diff --git a/bsp/synopsys/emsk_em9d/Kconfig b/bsp/synopsys/emsk_em9d/Kconfig index 1748a1e8ae..1bdec3c71f 100644 --- a/bsp/synopsys/emsk_em9d/Kconfig +++ b/bsp/synopsys/emsk_em9d/Kconfig @@ -8,7 +8,7 @@ config BSP_DIR config RTT_DIR string option env="RTT_ROOT" - default "../.." + default "../../.." config PKGS_DIR string @@ -21,6 +21,8 @@ source "$PKGS_DIR/Kconfig" config SOC_EMSK bool select ARCH_ARC_EM + select RT_USING_COMPONENTS_INIT + # select RT_USING_USER_MAIN default y source "$BSP_DIR/drivers/Kconfig" diff --git a/bsp/tm4c129x/Kconfig b/bsp/tm4c129x/Kconfig index af01ae6a33..4215b86b09 100644 --- a/bsp/tm4c129x/Kconfig +++ b/bsp/tm4c129x/Kconfig @@ -18,6 +18,12 @@ config PKGS_DIR source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" +config SOC_TM4C129 + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config RT_USING_UART0 bool "Using RT_USING_UART0" default y diff --git a/bsp/tms320f28379d/Kconfig b/bsp/tms320f28379d/Kconfig index 12fe2a87dc..63b5a0c491 100644 --- a/bsp/tms320f28379d/Kconfig +++ b/bsp/tms320f28379d/Kconfig @@ -21,6 +21,8 @@ config PKGS_DIR config SOC_TMS320F28X bool select ARCH_TIDSP_C28X + select RT_USING_COMPONENTS_INIT + # select RT_USING_USER_MAIN default y source "$RTT_DIR/Kconfig" diff --git a/bsp/w60x/Kconfig b/bsp/w60x/Kconfig index 3f862a2168..4064eec31c 100644 --- a/bsp/w60x/Kconfig +++ b/bsp/w60x/Kconfig @@ -27,3 +27,9 @@ source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "$ENV_DIR/tools/scripts/cmds/Kconfig" source "$BSP_DIR/drivers/Kconfig" + +config SOC_W60X + bool + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y diff --git a/bsp/x1000/Kconfig b/bsp/x1000/Kconfig index c74dce9bb9..83f7d059f6 100644 --- a/bsp/x1000/Kconfig +++ b/bsp/x1000/Kconfig @@ -24,6 +24,8 @@ source "$PKGS_DIR/Kconfig" config BOARD_X1000_REALBOARD bool select ARCH_MIPS_XBURST + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y config RT_USING_HARD_FLOAT