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:
committed by
Carles Cufi
parent
70c004fd83
commit
09396eb2e6
@@ -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
|
||||
@@ -5,9 +5,6 @@
|
||||
|
||||
if BOARD_NUCLEO_L053R8
|
||||
|
||||
config BOARD
|
||||
default "nucleo_l053r8"
|
||||
|
||||
config SPI_STM32_INTERRUPT
|
||||
default y
|
||||
depends on SPI
|
||||
5
boards/st/nucleo_l053r8/Kconfig.nucleo_l053r8
Normal file
5
boards/st/nucleo_l053r8/Kconfig.nucleo_l053r8
Normal 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
|
||||
5
boards/st/nucleo_l053r8/board.yml
Normal file
5
boards/st/nucleo_l053r8/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: nucleo_l053r8
|
||||
vendor: st
|
||||
socs:
|
||||
- name: stm32l053xx
|
||||
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 73 KiB |
@@ -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
|
||||
===================
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user