boards: Convert nucleo_f412zg to HWM v2
Port the board to HWMv2. Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
@@ -5,9 +5,6 @@
|
|||||||
|
|
||||||
if BOARD_NUCLEO_F412ZG
|
if BOARD_NUCLEO_F412ZG
|
||||||
|
|
||||||
config BOARD
|
|
||||||
default "nucleo_f412zg"
|
|
||||||
|
|
||||||
if NETWORKING
|
if NETWORKING
|
||||||
|
|
||||||
config USB_DEVICE_STACK
|
config USB_DEVICE_STACK
|
||||||
@@ -1,8 +1,5 @@
|
|||||||
# NUCLEO-144 F412ZG board configuration
|
|
||||||
|
|
||||||
# Copyright (c) 2017 Florian Vaussard, HEIG-VD
|
# Copyright (c) 2017 Florian Vaussard, HEIG-VD
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
config BOARD_NUCLEO_F412ZG
|
config BOARD_NUCLEO_F412ZG
|
||||||
bool "NUCLEO-144 F412ZG Development Board"
|
select SOC_STM32F412ZX
|
||||||
depends on SOC_STM32F412ZX
|
|
||||||
5
boards/st/nucleo_f412zg/board.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
board:
|
||||||
|
name: nucleo_f412zg
|
||||||
|
vendor: st
|
||||||
|
socs:
|
||||||
|
- name: stm32f412zx
|
||||||
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
@@ -1,8 +1,5 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
CONFIG_SOC_SERIES_STM32F4X=y
|
|
||||||
CONFIG_SOC_STM32F412ZX=y
|
|
||||||
|
|
||||||
# Enable MPU
|
# Enable MPU
|
||||||
CONFIG_ARM_MPU=y
|
CONFIG_ARM_MPU=y
|
||||||
|
|
||||||