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:
parent
d92cd77117
commit
0a1566661f
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user