Browse Source

boards: Convert nucleo_l053r8 to HWM v2

Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
pull/69687/head
Erwan Gouriou 1 year ago committed by Carles Cufi
parent
commit
09396eb2e6
  1. 8
      boards/boards_legacy/arm/nucleo_l053r8/Kconfig.board
  2. 3
      boards/st/nucleo_l053r8/Kconfig.defconfig
  3. 5
      boards/st/nucleo_l053r8/Kconfig.nucleo_l053r8
  4. 0
      boards/st/nucleo_l053r8/arduino_r3_connector.dtsi
  5. 0
      boards/st/nucleo_l053r8/board.cmake
  6. 5
      boards/st/nucleo_l053r8/board.yml
  7. 0
      boards/st/nucleo_l053r8/doc/img/nucleo_l053r8.jpg
  8. 0
      boards/st/nucleo_l053r8/doc/img/nucleo_l053r8_connectors.jpg
  9. 2
      boards/st/nucleo_l053r8/doc/index.rst
  10. 0
      boards/st/nucleo_l053r8/nucleo_l053r8.dts
  11. 0
      boards/st/nucleo_l053r8/nucleo_l053r8.yaml
  12. 4
      boards/st/nucleo_l053r8/nucleo_l053r8_defconfig
  13. 0
      boards/st/nucleo_l053r8/st_morpho_connector.dtsi
  14. 0
      boards/st/nucleo_l053r8/support/openocd.cfg

8
boards/boards_legacy/arm/nucleo_l053r8/Kconfig.board

@ -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

3
boards/boards_legacy/arm/nucleo_l053r8/Kconfig.defconfig → boards/st/nucleo_l053r8/Kconfig.defconfig

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

5
boards/st/nucleo_l053r8/Kconfig.nucleo_l053r8

@ -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

0
boards/boards_legacy/arm/nucleo_l053r8/arduino_r3_connector.dtsi → boards/st/nucleo_l053r8/arduino_r3_connector.dtsi

0
boards/boards_legacy/arm/nucleo_l053r8/board.cmake → boards/st/nucleo_l053r8/board.cmake

5
boards/st/nucleo_l053r8/board.yml

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

0
boards/boards_legacy/arm/nucleo_l053r8/doc/img/nucleo_l053r8.jpg → boards/st/nucleo_l053r8/doc/img/nucleo_l053r8.jpg

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

0
boards/boards_legacy/arm/nucleo_l053r8/doc/img/nucleo_l053r8_connectors.jpg → boards/st/nucleo_l053r8/doc/img/nucleo_l053r8_connectors.jpg

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 73 KiB

2
boards/boards_legacy/arm/nucleo_l053r8/doc/index.rst → boards/st/nucleo_l053r8/doc/index.rst

@ -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. Other hardware features are not yet supported in this Zephyr port.
The default configuration can be found in the defconfig file: 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 Connections and IOs
=================== ===================

0
boards/boards_legacy/arm/nucleo_l053r8/nucleo_l053r8.dts → boards/st/nucleo_l053r8/nucleo_l053r8.dts

0
boards/boards_legacy/arm/nucleo_l053r8/nucleo_l053r8.yaml → boards/st/nucleo_l053r8/nucleo_l053r8.yaml

4
boards/boards_legacy/arm/nucleo_l053r8/nucleo_l053r8_defconfig → boards/st/nucleo_l053r8/nucleo_l053r8_defconfig

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

0
boards/boards_legacy/arm/nucleo_l053r8/st_morpho_connector.dtsi → boards/st/nucleo_l053r8/st_morpho_connector.dtsi

0
boards/boards_legacy/arm/nucleo_l053r8/support/openocd.cfg → boards/st/nucleo_l053r8/support/openocd.cfg

Loading…
Cancel
Save