4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 09:03:30 +08:00

[bsp][stm32] add board identification macros

This commit is contained in:
Meco Man 2023-12-17 23:59:08 +08:00
parent d92cd77117
commit 0a1566661f
5 changed files with 27 additions and 0 deletions

View File

@ -91,4 +91,11 @@ config SOC_SERIES_STM32WB
select ARCH_ARM_CORTEX_M4
select SOC_FAMILY_STM32
config BOARD_SERIES_STM32_NUCLEO_32
bool
config BOARD_SERIES_STM32_NUCLEO_64
bool
config BOARD_SERIES_STM32_NUCLEO_144
bool

View File

@ -22,6 +22,11 @@ config SOC_STM32F401RE
select RT_USING_USER_MAIN
default y
config BOARD_STM32F401_NUCLEO
bool
select BOARD_SERIES_STM32_NUCLEO_64
default y
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
source "../libraries/Kconfig"

View File

@ -22,6 +22,11 @@ config SOC_STM32F411RE
select RT_USING_USER_MAIN
default y
config BOARD_STM32F411_NUCLEO
bool
select BOARD_SERIES_STM32_NUCLEO_64
default y
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
source "../libraries/Kconfig"

View File

@ -22,6 +22,11 @@ config SOC_STM32F412ZG
select RT_USING_USER_MAIN
default y
config BOARD_STM32F412_NUCLEO
bool
select BOARD_SERIES_STM32_NUCLEO_144
default y
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
source "../libraries/Kconfig"

View File

@ -23,6 +23,11 @@ config SOC_STM32F413ZH
select RT_USING_USER_MAIN
default y
config BOARD_STM32F413_NUCLEO
bool
select BOARD_SERIES_STM32_NUCLEO_144
default y
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
source "../libraries/Kconfig"