boards: Convert stm32f4_disco 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:56:52 +01:00
committed by Jamie McCrae
parent 5be404b365
commit a1712cdd53
11 changed files with 10 additions and 22 deletions

View File

@@ -1,8 +0,0 @@
# STM32F4DISCOVERY board configuration
# Copyright (c) 2016 Linaro Limited.
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32F4_DISCO
bool "STM32F4DISCOVERY Development Board"
depends on SOC_STM32F407XG

View File

@@ -1,11 +0,0 @@
# STM32F4DISCOVERY board configuration
# Copyright (c) 2016 Linaro Limited.
# SPDX-License-Identifier: Apache-2.0
if BOARD_STM32F4_DISCO
config BOARD
default "stm32f4_disco"
endif # BOARD_STM32F4_DISCO

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2016 Linaro Limited.
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32F4_DISCO
select SOC_STM32F407XG

View File

@@ -0,0 +1,5 @@
board:
name: stm32f4_disco
vendor: st
socs:
- name: stm32f407xx

View File

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

View File

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