boards: Convert nucleo_l452re 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:36 +01:00
committed by Carles Cufi
parent 46f92b227b
commit 9893e0d111
19 changed files with 11 additions and 21 deletions

View File

@@ -1,13 +0,0 @@
# STM32L452RE Nucleo board configuration
#
# Copyright (c) 2019 Libre Solar Technologies GmbH
#
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_L452RE
bool "Nucleo L452RE Development Board"
depends on SOC_STM32L452XX
config BOARD_NUCLEO_L452RE_P
bool "Nucleo L452RE-P Development Board"
depends on SOC_STM32L452XX

View File

@@ -6,10 +6,6 @@
if BOARD_NUCLEO_L452RE || BOARD_NUCLEO_L452RE_P
config BOARD
default "nucleo_l452re" if BOARD_NUCLEO_L452RE
default "nucleo_l452re_p" if BOARD_NUCLEO_L452RE_P
config SPI_STM32_INTERRUPT
default y
depends on SPI

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2019 Libre Solar Technologies GmbH
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_L452RE
select SOC_STM32L452XX

View File

@@ -0,0 +1,5 @@
board:
name: nucleo_l452re
vendor: st
socs:
- name: stm32l452xx

View File

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View File

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

View File

@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_STM32L4X=y
CONFIG_SOC_STM32L452XX=y
# enable uart driver
CONFIG_SERIAL=y