boards: Convert nucleo_l053r8 to HWM v2

Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
Erwan Gouriou
2024-02-15 17:34:02 +01:00
committed by Carles Cufi
parent 70c004fd83
commit 09396eb2e6
14 changed files with 11 additions and 16 deletions

View File

@@ -1,8 +0,0 @@
# STM32 Nucleo-64 development board with STM32L053R8 MCU configuration
# Copyright (c) 2018 Anthony Kreft <anthony.kreft@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_L053R8
bool "NUCLEO-64 L053R8 Development Board"
depends on SOC_STM32L053XX

View File

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

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2018 Anthony Kreft <anthony.kreft@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_L053R8
select SOC_STM32L053XX

View File

@@ -0,0 +1,5 @@
board:
name: nucleo_l053r8
vendor: st
socs:
- name: stm32l053xx

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 73 KiB

View File

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

View File

@@ -1,11 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
# Zephyr Kernel Configuration
CONFIG_SOC_SERIES_STM32L0X=y
# Platform Configuration
CONFIG_SOC_STM32L053XX=y
# Enable MPU
CONFIG_ARM_MPU=y