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:
committed by
Jamie McCrae
parent
2a572e3fb0
commit
69ecab3c90
@@ -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
|
||||
@@ -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
|
||||
5
boards/st/stm32f412g_disco/Kconfig.stm32f412g_disco
Normal file
5
boards/st/stm32f412g_disco/Kconfig.stm32f412g_disco
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2017 Powersoft
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_STM32F412G_DISCO
|
||||
select SOC_STM32F412ZX
|
||||
5
boards/st/stm32f412g_disco/board.yml
Normal file
5
boards/st/stm32f412g_disco/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: stm32f412g_disco
|
||||
vendor: st
|
||||
socs:
|
||||
- name: stm32f412zx
|
||||
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user