boards: Convert stm32f412g_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:55:45 +01:00
committed by Jamie McCrae
parent 2a572e3fb0
commit 69ecab3c90
12 changed files with 10 additions and 20 deletions

View File

@@ -1,7 +0,0 @@
# STM32F412G-DISCO board configuration
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32F412G_DISCO
bool "STM32F412G-DISCO Development Board"
depends on SOC_STM32F412ZX

View File

@@ -1,10 +0,0 @@
# STM32F412G-DISCO board configuration
# SPDX-License-Identifier: Apache-2.0
if BOARD_STM32F412G_DISCO
config BOARD
default "stm32f412g_disco"
endif # BOARD_STM32F412G_DISCO

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2017 Powersoft
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32F412G_DISCO
select SOC_STM32F412ZX

View File

@@ -0,0 +1,5 @@
board:
name: stm32f412g_disco
vendor: st
socs:
- name: stm32f412zx

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

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