boards: Convert segger_trb_stm32f407 to HWM v2

Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
This commit is contained in:
Abderrahmane Jarmouni 2024-02-06 17:53:06 +01:00 committed by Jamie McCrae
parent f0ad6ee6b8
commit 4454648976
10 changed files with 6 additions and 18 deletions

View File

@ -1,11 +0,0 @@
# SEGGER-TRB-STM32F407 board configuration
# Copyright (c) 2020, Erwin Rol <erwin@erwinrol.com>
# SPDX-License-Identifier: Apache-2.0
if BOARD_SEGGER_TRB_STM32F407
config BOARD
default "segger_trb_stm32f407"
endif # BOARD_SEGGER_TRB_STM32F407

View File

@ -1,8 +1,5 @@
# SEGGER-TRB-STM32F407 board configuration
# Copyright (c) 2020, Erwin Rol <erwin@erwinrol.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_SEGGER_TRB_STM32F407
bool "SEGGER STM32F407 Trace Reference Board"
depends on SOC_STM32F407XE
select SOC_STM32F407XE

View File

@ -0,0 +1,5 @@
board:
name: segger_trb_stm32f407
vendor: segger
socs:
- name: stm32f407xx

View File

@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_STM32F4X=y
CONFIG_SOC_STM32F407XE=y
# Enable MPU
CONFIG_ARM_MPU=y