From 341ce50067e0744487326532321a59ea809ba38c Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Sun, 5 May 2024 15:19:25 -0400 Subject: [PATCH] [stm32] format Kconfig --- bsp/stm32/stm32f723-st-disco/Kconfig | 7 +++++++ bsp/stm32/stm32f723-st-disco/board/Kconfig | 7 ------- bsp/stm32/stm32f746-st-disco/Kconfig | 7 +++++++ bsp/stm32/stm32f746-st-disco/board/Kconfig | 7 ------- bsp/stm32/stm32f746-st-nucleo/Kconfig | 7 +++++++ bsp/stm32/stm32f746-st-nucleo/board/Kconfig | 7 ------- bsp/stm32/stm32f767-atk-apollo/Kconfig | 7 +++++++ bsp/stm32/stm32f767-atk-apollo/board/Kconfig | 7 ------- bsp/stm32/stm32f767-fire-challenger-v1/Kconfig | 7 +++++++ .../stm32f767-fire-challenger-v1/board/Kconfig | 7 ------- bsp/stm32/stm32f767-st-nucleo/Kconfig | 7 +++++++ bsp/stm32/stm32f767-st-nucleo/board/Kconfig | 7 ------- bsp/stm32/stm32f769-st-disco/Kconfig | 7 +++++++ bsp/stm32/stm32f769-st-disco/board/Kconfig | 7 ------- bsp/stm32/stm32h503-st-nucleo/Kconfig | 7 +++++++ bsp/stm32/stm32h503-st-nucleo/board/Kconfig | 7 ------- bsp/stm32/stm32h563-st-nucleo/Kconfig | 7 +++++++ bsp/stm32/stm32h563-st-nucleo/board/Kconfig | 7 ------- bsp/stm32/stm32h743-armfly-v7/Kconfig | 7 +++++++ bsp/stm32/stm32h743-armfly-v7/board/Kconfig | 7 ------- bsp/stm32/stm32h743-atk-apollo/Kconfig | 7 +++++++ bsp/stm32/stm32h743-atk-apollo/board/Kconfig | 7 ------- bsp/stm32/stm32h743-openmv-h7plus/Kconfig | 7 +++++++ bsp/stm32/stm32h743-openmv-h7plus/board/Kconfig | 7 ------- bsp/stm32/stm32h743-st-nucleo/Kconfig | 7 +++++++ bsp/stm32/stm32h743-st-nucleo/board/Kconfig | 7 ------- bsp/stm32/stm32h747-st-discovery/Kconfig | 7 +++++++ bsp/stm32/stm32h747-st-discovery/board/Kconfig | 7 ------- bsp/stm32/stm32h750-armfly-h7-tool/Kconfig | 7 +++++++ bsp/stm32/stm32h750-armfly-h7-tool/board/Kconfig | 7 ------- bsp/stm32/stm32h750-artpi/Kconfig | 13 +++++++++++++ bsp/stm32/stm32h750-artpi/board/Kconfig | 12 ------------ bsp/stm32/stm32h750-fk750m1-vbt6/Kconfig | 7 +++++++ bsp/stm32/stm32h750-fk750m1-vbt6/board/Kconfig | 7 ------- bsp/stm32/stm32h750-weact-ministm32h7xx/Kconfig | 7 +++++++ .../stm32h750-weact-ministm32h7xx/board/Kconfig | 7 ------- bsp/stm32/stm32h7s7-st-disco/Kconfig | 14 ++++++++++++++ bsp/stm32/stm32h7s7-st-disco/board/Kconfig | 13 ------------- bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/Kconfig | 7 +++++++ .../stm32l431-tencentos-tiny-EVB_MX+/board/Kconfig | 7 ------- bsp/stm32/stm32l552-st-nucleo/Kconfig | 7 +++++++ bsp/stm32/stm32l552-st-nucleo/board/Kconfig | 7 ------- bsp/stm32/stm32mp157a-st-discovery/Kconfig | 7 +++++++ bsp/stm32/stm32mp157a-st-discovery/board/Kconfig | 7 ------- bsp/stm32/stm32mp157a-st-ev1/Kconfig | 7 +++++++ bsp/stm32/stm32mp157a-st-ev1/board/Kconfig | 7 ------- bsp/stm32/stm32u575-st-nucleo/Kconfig | 7 +++++++ bsp/stm32/stm32u575-st-nucleo/board/Kconfig | 7 ------- bsp/stm32/stm32u585-iot02a/Kconfig | 7 +++++++ bsp/stm32/stm32u585-iot02a/board/Kconfig | 8 -------- bsp/stm32/stm32wb55-st-nucleo/Kconfig | 7 +++++++ bsp/stm32/stm32wb55-st-nucleo/board/Kconfig | 7 ------- bsp/stm32/stm32wl55-st-nucleo/Kconfig | 7 +++++++ bsp/stm32/stm32wl55-st-nucleo/board/Kconfig | 7 ------- bsp/stm32/stm32wle5-yizhilian-lm401/Kconfig | 7 +++++++ bsp/stm32/stm32wle5-yizhilian-lm401/board/Kconfig | 7 ------- bsp/stm32/stm32wle5-yizhilian-lm402/Kconfig | 7 +++++++ bsp/stm32/stm32wle5-yizhilian-lm402/board/Kconfig | 7 ------- 58 files changed, 216 insertions(+), 215 deletions(-) diff --git a/bsp/stm32/stm32f723-st-disco/Kconfig b/bsp/stm32/stm32f723-st-disco/Kconfig index 362bdfbed8..176a4dc13a 100644 --- a/bsp/stm32/stm32f723-st-disco/Kconfig +++ b/bsp/stm32/stm32f723-st-disco/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32F723E + bool + select SOC_SERIES_STM32F7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32f723-st-disco/board/Kconfig b/bsp/stm32/stm32f723-st-disco/board/Kconfig index f77c9ec8d9..e4d8ffc7ff 100644 --- a/bsp/stm32/stm32f723-st-disco/board/Kconfig +++ b/bsp/stm32/stm32f723-st-disco/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32F723E - bool - select SOC_SERIES_STM32F7 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" config BSP_USING_USB_TO_USART bool "Enable USB TO USART (uart6)" diff --git a/bsp/stm32/stm32f746-st-disco/Kconfig b/bsp/stm32/stm32f746-st-disco/Kconfig index 362bdfbed8..fa29455dce 100644 --- a/bsp/stm32/stm32f746-st-disco/Kconfig +++ b/bsp/stm32/stm32f746-st-disco/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32F746NG + bool + select SOC_SERIES_STM32F7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32f746-st-disco/board/Kconfig b/bsp/stm32/stm32f746-st-disco/board/Kconfig index b5519dace3..8e8a5ef067 100644 --- a/bsp/stm32/stm32f746-st-disco/board/Kconfig +++ b/bsp/stm32/stm32f746-st-disco/board/Kconfig @@ -1,12 +1,5 @@ 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" config BSP_USING_USB_TO_USART bool "Enable USB TO USART (uart1)" diff --git a/bsp/stm32/stm32f746-st-nucleo/Kconfig b/bsp/stm32/stm32f746-st-nucleo/Kconfig index d2425aab36..0fb51a6b42 100644 --- a/bsp/stm32/stm32f746-st-nucleo/Kconfig +++ b/bsp/stm32/stm32f746-st-nucleo/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32F746ZG + bool + select SOC_SERIES_STM32F7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config BOARD_STM32F746_NUCLEO bool select BOARD_SERIES_STM32_NUCLEO_144 diff --git a/bsp/stm32/stm32f746-st-nucleo/board/Kconfig b/bsp/stm32/stm32f746-st-nucleo/board/Kconfig index df051d1362..adab207577 100644 --- a/bsp/stm32/stm32f746-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32f746-st-nucleo/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32F746ZG - bool - select SOC_SERIES_STM32F7 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" config BSP_USING_USB_TO_USART diff --git a/bsp/stm32/stm32f767-atk-apollo/Kconfig b/bsp/stm32/stm32f767-atk-apollo/Kconfig index 362bdfbed8..88fda21d84 100644 --- a/bsp/stm32/stm32f767-atk-apollo/Kconfig +++ b/bsp/stm32/stm32f767-atk-apollo/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32F767IG + bool + select SOC_SERIES_STM32F7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32f767-atk-apollo/board/Kconfig b/bsp/stm32/stm32f767-atk-apollo/board/Kconfig index e337a09428..02f04af0a0 100644 --- a/bsp/stm32/stm32f767-atk-apollo/board/Kconfig +++ b/bsp/stm32/stm32f767-atk-apollo/board/Kconfig @@ -1,12 +1,5 @@ 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" config BSP_USING_USB_TO_USART diff --git a/bsp/stm32/stm32f767-fire-challenger-v1/Kconfig b/bsp/stm32/stm32f767-fire-challenger-v1/Kconfig index 362bdfbed8..88fda21d84 100644 --- a/bsp/stm32/stm32f767-fire-challenger-v1/Kconfig +++ b/bsp/stm32/stm32f767-fire-challenger-v1/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32F767IG + bool + select SOC_SERIES_STM32F7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32f767-fire-challenger-v1/board/Kconfig b/bsp/stm32/stm32f767-fire-challenger-v1/board/Kconfig index fc0562c09c..be59b9242e 100644 --- a/bsp/stm32/stm32f767-fire-challenger-v1/board/Kconfig +++ b/bsp/stm32/stm32f767-fire-challenger-v1/board/Kconfig @@ -1,12 +1,5 @@ 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" config BSP_USING_USB_TO_USART diff --git a/bsp/stm32/stm32f767-st-nucleo/Kconfig b/bsp/stm32/stm32f767-st-nucleo/Kconfig index 34903f1c44..c30b7e5421 100644 --- a/bsp/stm32/stm32f767-st-nucleo/Kconfig +++ b/bsp/stm32/stm32f767-st-nucleo/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32F767ZI + bool + select SOC_SERIES_STM32F7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config BOARD_STM32F767_NUCLEO bool select BOARD_SERIES_STM32_NUCLEO_144 diff --git a/bsp/stm32/stm32f767-st-nucleo/board/Kconfig b/bsp/stm32/stm32f767-st-nucleo/board/Kconfig index 3cb7a5ccd1..8e13a59a36 100644 --- a/bsp/stm32/stm32f767-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32f767-st-nucleo/board/Kconfig @@ -1,12 +1,5 @@ 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" config BSP_USING_USB_TO_USART diff --git a/bsp/stm32/stm32f769-st-disco/Kconfig b/bsp/stm32/stm32f769-st-disco/Kconfig index 362bdfbed8..af02a42c67 100644 --- a/bsp/stm32/stm32f769-st-disco/Kconfig +++ b/bsp/stm32/stm32f769-st-disco/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32F769NI + bool + select SOC_SERIES_STM32F7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32f769-st-disco/board/Kconfig b/bsp/stm32/stm32f769-st-disco/board/Kconfig index fc6b54dd38..53b0163b13 100644 --- a/bsp/stm32/stm32f769-st-disco/board/Kconfig +++ b/bsp/stm32/stm32f769-st-disco/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32F769NI - bool - select SOC_SERIES_STM32F7 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" config BSP_USING_ETH diff --git a/bsp/stm32/stm32h503-st-nucleo/Kconfig b/bsp/stm32/stm32h503-st-nucleo/Kconfig index ce51889a94..53dc959599 100644 --- a/bsp/stm32/stm32h503-st-nucleo/Kconfig +++ b/bsp/stm32/stm32h503-st-nucleo/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32H503RB + bool + select SOC_SERIES_STM32H5 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config BOARD_STM32H503_NUCLEO bool select BOARD_SERIES_STM32_NUCLEO_64 diff --git a/bsp/stm32/stm32h503-st-nucleo/board/Kconfig b/bsp/stm32/stm32h503-st-nucleo/board/Kconfig index 79ab804251..783939e179 100644 --- a/bsp/stm32/stm32h503-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32h503-st-nucleo/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32H503RB - bool - select SOC_SERIES_STM32H5 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" config BSP_USING_ARDUINO diff --git a/bsp/stm32/stm32h563-st-nucleo/Kconfig b/bsp/stm32/stm32h563-st-nucleo/Kconfig index 61de77a858..40b5238eb8 100644 --- a/bsp/stm32/stm32h563-st-nucleo/Kconfig +++ b/bsp/stm32/stm32h563-st-nucleo/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32H563ZI + bool + select SOC_SERIES_STM32H5 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config BOARD_STM32H563_NUCLEO bool select BOARD_SERIES_STM32_NUCLEO_144 diff --git a/bsp/stm32/stm32h563-st-nucleo/board/Kconfig b/bsp/stm32/stm32h563-st-nucleo/board/Kconfig index cb80a39c29..e0a230be85 100644 --- a/bsp/stm32/stm32h563-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32h563-st-nucleo/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32H563ZI - bool - select SOC_SERIES_STM32H5 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" config BSP_USING_ARDUINO diff --git a/bsp/stm32/stm32h743-armfly-v7/Kconfig b/bsp/stm32/stm32h743-armfly-v7/Kconfig index 362bdfbed8..bd16e1ea50 100644 --- a/bsp/stm32/stm32h743-armfly-v7/Kconfig +++ b/bsp/stm32/stm32h743-armfly-v7/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32H743XI + bool + select SOC_SERIES_STM32H7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32h743-armfly-v7/board/Kconfig b/bsp/stm32/stm32h743-armfly-v7/board/Kconfig index 0dedbb0d58..9ede69138b 100644 --- a/bsp/stm32/stm32h743-armfly-v7/board/Kconfig +++ b/bsp/stm32/stm32h743-armfly-v7/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32H743XI - bool - select SOC_SERIES_STM32H7 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" endmenu diff --git a/bsp/stm32/stm32h743-atk-apollo/Kconfig b/bsp/stm32/stm32h743-atk-apollo/Kconfig index 362bdfbed8..04e8d21677 100644 --- a/bsp/stm32/stm32h743-atk-apollo/Kconfig +++ b/bsp/stm32/stm32h743-atk-apollo/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32H743II + bool + select SOC_SERIES_STM32H7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32h743-atk-apollo/board/Kconfig b/bsp/stm32/stm32h743-atk-apollo/board/Kconfig index f46f5f7956..71302e87c6 100644 --- a/bsp/stm32/stm32h743-atk-apollo/board/Kconfig +++ b/bsp/stm32/stm32h743-atk-apollo/board/Kconfig @@ -1,12 +1,5 @@ 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" config BSP_USING_COM2 diff --git a/bsp/stm32/stm32h743-openmv-h7plus/Kconfig b/bsp/stm32/stm32h743-openmv-h7plus/Kconfig index 362bdfbed8..04e8d21677 100644 --- a/bsp/stm32/stm32h743-openmv-h7plus/Kconfig +++ b/bsp/stm32/stm32h743-openmv-h7plus/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32H743II + bool + select SOC_SERIES_STM32H7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32h743-openmv-h7plus/board/Kconfig b/bsp/stm32/stm32h743-openmv-h7plus/board/Kconfig index 656e2f955a..482850b2a0 100644 --- a/bsp/stm32/stm32h743-openmv-h7plus/board/Kconfig +++ b/bsp/stm32/stm32h743-openmv-h7plus/board/Kconfig @@ -1,12 +1,5 @@ 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 "On-chip Peripheral Drivers" config BSP_USING_GPIO diff --git a/bsp/stm32/stm32h743-st-nucleo/Kconfig b/bsp/stm32/stm32h743-st-nucleo/Kconfig index 48670e1c90..87c278b577 100644 --- a/bsp/stm32/stm32h743-st-nucleo/Kconfig +++ b/bsp/stm32/stm32h743-st-nucleo/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32H743ZI + bool + select SOC_SERIES_STM32H7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config BOARD_STM32H743_NUCLEO bool select BOARD_SERIES_STM32_NUCLEO_144 diff --git a/bsp/stm32/stm32h743-st-nucleo/board/Kconfig b/bsp/stm32/stm32h743-st-nucleo/board/Kconfig index 4cf0104dfd..c5e156ee10 100644 --- a/bsp/stm32/stm32h743-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32h743-st-nucleo/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32H743ZI - bool - select SOC_SERIES_STM32H7 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" endmenu diff --git a/bsp/stm32/stm32h747-st-discovery/Kconfig b/bsp/stm32/stm32h747-st-discovery/Kconfig index 362bdfbed8..f3e8c9fdaf 100644 --- a/bsp/stm32/stm32h747-st-discovery/Kconfig +++ b/bsp/stm32/stm32h747-st-discovery/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32H747XI + bool + select SOC_SERIES_STM32H7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32h747-st-discovery/board/Kconfig b/bsp/stm32/stm32h747-st-discovery/board/Kconfig index b7770bbdc8..9ede69138b 100644 --- a/bsp/stm32/stm32h747-st-discovery/board/Kconfig +++ b/bsp/stm32/stm32h747-st-discovery/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32H747XI - bool - select SOC_SERIES_STM32H7 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" endmenu diff --git a/bsp/stm32/stm32h750-armfly-h7-tool/Kconfig b/bsp/stm32/stm32h750-armfly-h7-tool/Kconfig index 362bdfbed8..10a7297604 100644 --- a/bsp/stm32/stm32h750-armfly-h7-tool/Kconfig +++ b/bsp/stm32/stm32h750-armfly-h7-tool/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32H750IB + bool + select SOC_SERIES_STM32H7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32h750-armfly-h7-tool/board/Kconfig b/bsp/stm32/stm32h750-armfly-h7-tool/board/Kconfig index ff284c91f4..7a9e759fe5 100644 --- a/bsp/stm32/stm32h750-armfly-h7-tool/board/Kconfig +++ b/bsp/stm32/stm32h750-armfly-h7-tool/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32H750IB - bool - select SOC_SERIES_STM32H7 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" config BSP_USING_QSPI_FLASH diff --git a/bsp/stm32/stm32h750-artpi/Kconfig b/bsp/stm32/stm32h750-artpi/Kconfig index 362bdfbed8..b48418c872 100644 --- a/bsp/stm32/stm32h750-artpi/Kconfig +++ b/bsp/stm32/stm32h750-artpi/Kconfig @@ -15,6 +15,19 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32H750XB + bool + select SOC_SERIES_STM32H7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + select RT_USING_CACHE + default y + +config BOARD_STM32H750_ARTPI + bool + select SOC_STM32H750XB + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32h750-artpi/board/Kconfig b/bsp/stm32/stm32h750-artpi/board/Kconfig index 0e1b0972a7..64e0966570 100644 --- a/bsp/stm32/stm32h750-artpi/board/Kconfig +++ b/bsp/stm32/stm32h750-artpi/board/Kconfig @@ -1,17 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32H750XB - bool - select SOC_SERIES_STM32H7 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - select RT_USING_CACHE - default y - -config BOARD_STM32H750_ARTPI - bool - default y - menu "Board extended module" menuconfig ART_PI_USING_MEDIA_IO diff --git a/bsp/stm32/stm32h750-fk750m1-vbt6/Kconfig b/bsp/stm32/stm32h750-fk750m1-vbt6/Kconfig index 362bdfbed8..cbb7a95083 100644 --- a/bsp/stm32/stm32h750-fk750m1-vbt6/Kconfig +++ b/bsp/stm32/stm32h750-fk750m1-vbt6/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32H750VBT6 + bool + select SOC_SERIES_STM32H7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32h750-fk750m1-vbt6/board/Kconfig b/bsp/stm32/stm32h750-fk750m1-vbt6/board/Kconfig index 43416899bf..79ba08bc6a 100644 --- a/bsp/stm32/stm32h750-fk750m1-vbt6/board/Kconfig +++ b/bsp/stm32/stm32h750-fk750m1-vbt6/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32H750VBT6 - bool - select SOC_SERIES_STM32H7 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" config BSP_USING_LCD_SPI diff --git a/bsp/stm32/stm32h750-weact-ministm32h7xx/Kconfig b/bsp/stm32/stm32h750-weact-ministm32h7xx/Kconfig index 362bdfbed8..cbb7a95083 100644 --- a/bsp/stm32/stm32h750-weact-ministm32h7xx/Kconfig +++ b/bsp/stm32/stm32h750-weact-ministm32h7xx/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32H750VBT6 + bool + select SOC_SERIES_STM32H7 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32h750-weact-ministm32h7xx/board/Kconfig b/bsp/stm32/stm32h750-weact-ministm32h7xx/board/Kconfig index ae3e8fabc5..b545a27d3d 100644 --- a/bsp/stm32/stm32h750-weact-ministm32h7xx/board/Kconfig +++ b/bsp/stm32/stm32h750-weact-ministm32h7xx/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32H750VBT6 - bool - select SOC_SERIES_STM32H7 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" config BSP_USING_SPI_FLASH diff --git a/bsp/stm32/stm32h7s7-st-disco/Kconfig b/bsp/stm32/stm32h7s7-st-disco/Kconfig index 362bdfbed8..a1bc5a0328 100644 --- a/bsp/stm32/stm32h7s7-st-disco/Kconfig +++ b/bsp/stm32/stm32h7s7-st-disco/Kconfig @@ -15,6 +15,20 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32H7RS + bool + select SOC_SERIES_STM32H7RS + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + select RT_USING_CACHE + default y + +config SOC_SERIES_STM32H7RS + bool + select ARCH_ARM_CORTEX_M7 + select SOC_FAMILY_STM32 + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32h7s7-st-disco/board/Kconfig b/bsp/stm32/stm32h7s7-st-disco/board/Kconfig index a5afaf4547..c4756ec4f5 100644 --- a/bsp/stm32/stm32h7s7-st-disco/board/Kconfig +++ b/bsp/stm32/stm32h7s7-st-disco/board/Kconfig @@ -1,17 +1,4 @@ menu "Hardware Drivers Config" -config SOC_STM32H7RS - bool - select SOC_SERIES_STM32H7RS - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - select RT_USING_CACHE - default y - -config SOC_SERIES_STM32H7RS - bool - select ARCH_ARM_CORTEX_M7 - select SOC_FAMILY_STM32 - default y menu "Onboard Peripheral Drivers" diff --git a/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/Kconfig b/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/Kconfig index 362bdfbed8..608f70fd64 100644 --- a/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/Kconfig +++ b/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32L431RC + bool + select SOC_SERIES_STM32L4 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/board/Kconfig b/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/board/Kconfig index 6dac49cae1..b0afe02b2b 100644 --- a/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/board/Kconfig +++ b/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32L431RC - bool - select SOC_SERIES_STM32L4 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" endmenu diff --git a/bsp/stm32/stm32l552-st-nucleo/Kconfig b/bsp/stm32/stm32l552-st-nucleo/Kconfig index 7cd9a9f08e..fead64633b 100644 --- a/bsp/stm32/stm32l552-st-nucleo/Kconfig +++ b/bsp/stm32/stm32l552-st-nucleo/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32L552ZE + bool + select SOC_SERIES_STM32L5 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config BOARD_STM32L552_NUCLEO bool select BOARD_SERIES_STM32_NUCLEO_144 diff --git a/bsp/stm32/stm32l552-st-nucleo/board/Kconfig b/bsp/stm32/stm32l552-st-nucleo/board/Kconfig index 4bcfb716af..70e7044763 100644 --- a/bsp/stm32/stm32l552-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32l552-st-nucleo/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32L552ZE - bool - select SOC_SERIES_STM32L5 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" endmenu diff --git a/bsp/stm32/stm32mp157a-st-discovery/Kconfig b/bsp/stm32/stm32mp157a-st-discovery/Kconfig index 1b639d65a7..d9cc77c245 100644 --- a/bsp/stm32/stm32mp157a-st-discovery/Kconfig +++ b/bsp/stm32/stm32mp157a-st-discovery/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32MP157A + bool + select SOC_SERIES_STM32MP1 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32mp157a-st-discovery/board/Kconfig b/bsp/stm32/stm32mp157a-st-discovery/board/Kconfig index ae00b7a4f7..0d82464b45 100644 --- a/bsp/stm32/stm32mp157a-st-discovery/board/Kconfig +++ b/bsp/stm32/stm32mp157a-st-discovery/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32MP157A - bool - select SOC_SERIES_STM32MP1 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" config BSP_USING_STLINK_TO_USART diff --git a/bsp/stm32/stm32mp157a-st-ev1/Kconfig b/bsp/stm32/stm32mp157a-st-ev1/Kconfig index 1b639d65a7..d9cc77c245 100644 --- a/bsp/stm32/stm32mp157a-st-ev1/Kconfig +++ b/bsp/stm32/stm32mp157a-st-ev1/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32MP157A + bool + select SOC_SERIES_STM32MP1 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32mp157a-st-ev1/board/Kconfig b/bsp/stm32/stm32mp157a-st-ev1/board/Kconfig index 4574839263..6d0ae38f91 100644 --- a/bsp/stm32/stm32mp157a-st-ev1/board/Kconfig +++ b/bsp/stm32/stm32mp157a-st-ev1/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32MP157A - bool - select SOC_SERIES_STM32MP1 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" config BSP_USING_STLINK_TO_USART diff --git a/bsp/stm32/stm32u575-st-nucleo/Kconfig b/bsp/stm32/stm32u575-st-nucleo/Kconfig index 00b4a3161d..0082404ca2 100644 --- a/bsp/stm32/stm32u575-st-nucleo/Kconfig +++ b/bsp/stm32/stm32u575-st-nucleo/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32U575ZI + bool + select SOC_SERIES_STM32U5 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config BOARD_STM32U575_NUCLEO bool select BOARD_SERIES_STM32_NUCLEO_144 diff --git a/bsp/stm32/stm32u575-st-nucleo/board/Kconfig b/bsp/stm32/stm32u575-st-nucleo/board/Kconfig index 7b9d6e7800..3a1f26fcb9 100644 --- a/bsp/stm32/stm32u575-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32u575-st-nucleo/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32U575ZI - bool - select SOC_SERIES_STM32U5 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" config BSP_USING_ARDUINO diff --git a/bsp/stm32/stm32u585-iot02a/Kconfig b/bsp/stm32/stm32u585-iot02a/Kconfig index 362bdfbed8..de46c0fa4d 100644 --- a/bsp/stm32/stm32u585-iot02a/Kconfig +++ b/bsp/stm32/stm32u585-iot02a/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32U585AIIxQ + bool + select SOC_SERIES_STM32U5 + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32u585-iot02a/board/Kconfig b/bsp/stm32/stm32u585-iot02a/board/Kconfig index 995dfbc7e0..1910745a2c 100644 --- a/bsp/stm32/stm32u585-iot02a/board/Kconfig +++ b/bsp/stm32/stm32u585-iot02a/board/Kconfig @@ -1,13 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32U585AIIxQ - bool - select SOC_SERIES_STM32U5 - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - - menu "On-chip Peripheral Drivers" config BSP_USING_GPIO diff --git a/bsp/stm32/stm32wb55-st-nucleo/Kconfig b/bsp/stm32/stm32wb55-st-nucleo/Kconfig index 84747df01d..07e1cf0d4d 100644 --- a/bsp/stm32/stm32wb55-st-nucleo/Kconfig +++ b/bsp/stm32/stm32wb55-st-nucleo/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32WB55RG + bool + select SOC_SERIES_STM32WB + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config BOARD_STM32WB55_NUCLEO bool select BOARD_SERIES_STM32_NUCLEO_64 diff --git a/bsp/stm32/stm32wb55-st-nucleo/board/Kconfig b/bsp/stm32/stm32wb55-st-nucleo/board/Kconfig index dde7b3fca3..0c0ee73d9f 100644 --- a/bsp/stm32/stm32wb55-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32wb55-st-nucleo/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32WB55RG - bool - select SOC_SERIES_STM32WB - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" config BSP_USING_STLINK_TO_USART diff --git a/bsp/stm32/stm32wl55-st-nucleo/Kconfig b/bsp/stm32/stm32wl55-st-nucleo/Kconfig index db0d4e3e25..62dec28906 100644 --- a/bsp/stm32/stm32wl55-st-nucleo/Kconfig +++ b/bsp/stm32/stm32wl55-st-nucleo/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32WL55JC + bool + select SOC_SERIES_STM32WL + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + config BOARD_STM32WL55_NUCLEO bool select BOARD_SERIES_STM32_NUCLEO_64 diff --git a/bsp/stm32/stm32wl55-st-nucleo/board/Kconfig b/bsp/stm32/stm32wl55-st-nucleo/board/Kconfig index 83c7bf597b..87f6c7a695 100644 --- a/bsp/stm32/stm32wl55-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32wl55-st-nucleo/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32WL55JC - bool - select SOC_SERIES_STM32WL - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" config BSP_USING_STLINK_TO_UART diff --git a/bsp/stm32/stm32wle5-yizhilian-lm401/Kconfig b/bsp/stm32/stm32wle5-yizhilian-lm401/Kconfig index 362bdfbed8..8040316b48 100644 --- a/bsp/stm32/stm32wle5-yizhilian-lm401/Kconfig +++ b/bsp/stm32/stm32wle5-yizhilian-lm401/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32WLE5CB + bool + select SOC_SERIES_STM32WL + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32wle5-yizhilian-lm401/board/Kconfig b/bsp/stm32/stm32wle5-yizhilian-lm401/board/Kconfig index 6f780ec196..0c78adae1e 100644 --- a/bsp/stm32/stm32wle5-yizhilian-lm401/board/Kconfig +++ b/bsp/stm32/stm32wle5-yizhilian-lm401/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32WLE5CB - bool - select SOC_SERIES_STM32WL - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" config BSP_USING_USB_TO_UART diff --git a/bsp/stm32/stm32wle5-yizhilian-lm402/Kconfig b/bsp/stm32/stm32wle5-yizhilian-lm402/Kconfig index 362bdfbed8..442a6738a8 100644 --- a/bsp/stm32/stm32wle5-yizhilian-lm402/Kconfig +++ b/bsp/stm32/stm32wle5-yizhilian-lm402/Kconfig @@ -15,6 +15,13 @@ config PKGS_DIR option env="PKGS_ROOT" default "packages" +config SOC_STM32WLE5JC + bool + select SOC_SERIES_STM32WL + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN + default y + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32wle5-yizhilian-lm402/board/Kconfig b/bsp/stm32/stm32wle5-yizhilian-lm402/board/Kconfig index aa2e87d496..0c78adae1e 100644 --- a/bsp/stm32/stm32wle5-yizhilian-lm402/board/Kconfig +++ b/bsp/stm32/stm32wle5-yizhilian-lm402/board/Kconfig @@ -1,12 +1,5 @@ menu "Hardware Drivers Config" -config SOC_STM32WLE5JC - bool - select SOC_SERIES_STM32WL - select RT_USING_COMPONENTS_INIT - select RT_USING_USER_MAIN - default y - menu "Onboard Peripheral Drivers" config BSP_USING_USB_TO_UART