boards: Convert nucleo_l412rb_p to HWM v2

Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
Guillaume Gautier
2024-02-09 09:10:11 +01:00
committed by Carles Cufi
parent d055676307
commit 325f95ec20
13 changed files with 11 additions and 15 deletions

View File

@@ -1,8 +0,0 @@
# STM32L412RB Nucleo board configuration
# Copyright (c) 2021 Guðni Már Gilbert
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_L412RB_P
bool "Nucleo L412RB-P Development Board"
depends on SOC_STM32L412XX

View File

@@ -5,9 +5,6 @@
if BOARD_NUCLEO_L412RB_P
config BOARD
default "nucleo_l412rb_p"
config SPI_STM32_INTERRUPT
default y
depends on SPI

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2021 Guðni Már Gilbert
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_L412RB_P
select SOC_STM32L412XX

View File

@@ -0,0 +1,5 @@
board:
name: nucleo_l412rb_p
vendor: st
socs:
- name: stm32l412xx

View File

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

View File

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

View File

@@ -161,7 +161,7 @@ The Zephyr ``nucleo_l412rb_p`` board configuration supports the following hardwa
Other hardware features are not yet supported on this Zephyr port.
The default configuration can be found in the defconfig file:
``boards/arm/nucleo_l412rb_p/nucleo_l412rb_p_defconfig``
``boards/st/nucleo_l412rb_p/nucleo_l412rb_p_defconfig``
Connections and IOs

View File

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