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:
committed by
Jamie McCrae
parent
1b2a511d06
commit
a28086a9ca
@@ -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
|
||||
@@ -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
|
||||
5
boards/st/nucleo_l152re/board.yml
Normal file
5
boards/st/nucleo_l152re/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: nucleo_l152re
|
||||
vendor: st
|
||||
socs:
|
||||
- name: stm32l152xe
|
||||
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 73 KiB |
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user