boards: Convert nucleo_l152re to HWM v2

Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
This commit is contained in:
Abderrahmane Jarmouni
2024-02-07 15:42:01 +01:00
committed by Jamie McCrae
parent 1b2a511d06
commit a28086a9ca
13 changed files with 6 additions and 20 deletions

View File

@@ -1,12 +0,0 @@
#
# Copyright (c) 2019 Antony Pavlov <antonynpavlov@gmail.com>
#
# SPDX-License-Identifier: Apache-2.0
#
if BOARD_NUCLEO_L152RE
config BOARD
default "nucleo_l152re"
endif # BOARD_NUCLEO_L152RE

View File

@@ -1,9 +1,5 @@
#
# Copyright (c) 2019 Antony Pavlov <antonynpavlov@gmail.com>
#
# SPDX-License-Identifier: Apache-2.0
#
config BOARD_NUCLEO_L152RE
bool "NUCLEO-64 L152RE Development Board"
depends on SOC_STM32L152XE
select SOC_STM32L152XE

View File

@@ -0,0 +1,5 @@
board:
name: nucleo_l152re
vendor: st
socs:
- name: stm32l152xe

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 73 KiB

View File

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