Browse Source

boards: Convert nucleo_l031k6 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
70c004fd83
  1. 8
      boards/boards_legacy/arm/nucleo_l031k6/Kconfig.board
  2. 3
      boards/st/nucleo_l031k6/Kconfig.defconfig
  3. 5
      boards/st/nucleo_l031k6/Kconfig.nucleo_l031k6
  4. 0
      boards/st/nucleo_l031k6/arduino_nano_r3_connector.dtsi
  5. 0
      boards/st/nucleo_l031k6/board.cmake
  6. 5
      boards/st/nucleo_l031k6/board.yml
  7. 0
      boards/st/nucleo_l031k6/doc/img/nucleo_l031k6.jpg
  8. 2
      boards/st/nucleo_l031k6/doc/index.rst
  9. 0
      boards/st/nucleo_l031k6/nucleo_l031k6.dts
  10. 0
      boards/st/nucleo_l031k6/nucleo_l031k6.yaml
  11. 4
      boards/st/nucleo_l031k6/nucleo_l031k6_defconfig
  12. 0
      boards/st/nucleo_l031k6/support/openocd.cfg

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

@ -1,8 +0,0 @@
# STM32 Nucleo-32 development board with STM32L031K6 MCU configuration
# Copyright (c) 2020 Steven Daglish <s.c.daglish@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_L031K6
bool "NUCLEO-32 L031K6 Development Board"
depends on SOC_STM32L031XX

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

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

5
boards/st/nucleo_l031k6/Kconfig.nucleo_l031k6

@ -0,0 +1,5 @@
# Copyright (c) 2020 Steven Daglish <s.c.daglish@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_L031K6
select SOC_STM32L031XX

0
boards/boards_legacy/arm/nucleo_l031k6/arduino_nano_r3_connector.dtsi → boards/st/nucleo_l031k6/arduino_nano_r3_connector.dtsi

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

5
boards/st/nucleo_l031k6/board.yml

@ -0,0 +1,5 @@
board:
name: nucleo_l031k6
vendor: st
socs:
- name: stm32l031xx

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

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

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

@ -88,7 +88,7 @@ The Zephyr nucleo_l031k6 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_l031k6/nucleo_l031k6_defconfig`` :zephyr_file:`boards/st/nucleo_l031k6/nucleo_l031k6_defconfig`
Connections and IOs Connections and IOs
=================== ===================

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

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

4
boards/boards_legacy/arm/nucleo_l031k6/nucleo_l031k6_defconfig → boards/st/nucleo_l031k6/nucleo_l031k6_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_STM32L031XX=y
# Kernel Options due to Low Memory (8k) # Kernel Options due to Low Memory (8k)
CONFIG_MAIN_STACK_SIZE=640 CONFIG_MAIN_STACK_SIZE=640
CONFIG_IDLE_STACK_SIZE=200 CONFIG_IDLE_STACK_SIZE=200

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

Loading…
Cancel
Save