Browse Source

boards: Convert swan_r5 to HWM v2

Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
pull/69687/head
Guillaume Gautier 1 year ago committed by Carles Cufi
parent
commit
ae42be236b
  1. 0
      boards/blues/swan_r5/CMakeLists.txt
  2. 3
      boards/blues/swan_r5/Kconfig.defconfig
  3. 5
      boards/blues/swan_r5/Kconfig.swan_r5
  4. 0
      boards/blues/swan_r5/board.c
  5. 0
      boards/blues/swan_r5/board.cmake
  6. 5
      boards/blues/swan_r5/board.yml
  7. 0
      boards/blues/swan_r5/doc/img/swan.jpg
  8. 2
      boards/blues/swan_r5/doc/index.rst
  9. 0
      boards/blues/swan_r5/feather_connector.dtsi
  10. 0
      boards/blues/swan_r5/support/openocd.cfg
  11. 0
      boards/blues/swan_r5/swan_r5.dts
  12. 0
      boards/blues/swan_r5/swan_r5.yaml
  13. 3
      boards/blues/swan_r5/swan_r5_defconfig
  14. 8
      boards/boards_legacy/arm/swan_r5/Kconfig.board

0
boards/boards_legacy/arm/swan_r5/CMakeLists.txt → boards/blues/swan_r5/CMakeLists.txt

3
boards/boards_legacy/arm/swan_r5/Kconfig.defconfig → boards/blues/swan_r5/Kconfig.defconfig

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

5
boards/blues/swan_r5/Kconfig.swan_r5

@ -0,0 +1,5 @@
# Copyright (c) 2022 Blues Inc.
# SPDX-License-Identifier: Apache-2.0
config BOARD_SWAN_R5
select SOC_STM32L4R5XX

0
boards/boards_legacy/arm/swan_r5/board.c → boards/blues/swan_r5/board.c

0
boards/boards_legacy/arm/swan_r5/board.cmake → boards/blues/swan_r5/board.cmake

5
boards/blues/swan_r5/board.yml

@ -0,0 +1,5 @@
board:
name: swan_r5
vendor: blues
socs:
- name: stm32l4r5xx

0
boards/boards_legacy/arm/swan_r5/doc/img/swan.jpg → boards/blues/swan_r5/doc/img/swan.jpg

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

2
boards/boards_legacy/arm/swan_r5/doc/index.rst → boards/blues/swan_r5/doc/index.rst

@ -121,7 +121,7 @@ hardware features:
Other hardware features are not yet supported on this Zephyr port. Other hardware features are not yet supported on 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/swan_r5/swan_r5_defconfig`` ``boards/blues/swan_r5/swan_r5_defconfig``
Connections and IOs Connections and IOs

0
boards/boards_legacy/arm/swan_r5/feather_connector.dtsi → boards/blues/swan_r5/feather_connector.dtsi

0
boards/boards_legacy/arm/swan_r5/support/openocd.cfg → boards/blues/swan_r5/support/openocd.cfg

0
boards/boards_legacy/arm/swan_r5/swan_r5.dts → boards/blues/swan_r5/swan_r5.dts

0
boards/boards_legacy/arm/swan_r5/swan_r5.yaml → boards/blues/swan_r5/swan_r5.yaml

3
boards/boards_legacy/arm/swan_r5/swan_r5_defconfig → boards/blues/swan_r5/swan_r5_defconfig

@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_STM32L4X=y
CONFIG_SOC_STM32L4R5XX=y
# enable uart driver # enable uart driver
CONFIG_SERIAL=y CONFIG_SERIAL=y

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

@ -1,8 +0,0 @@
# Blues Wireless Swan board configuration
# Copyright (c) 2022 Blues Inc.
# SPDX-License-Identifier: Apache-2.0
config BOARD_SWAN_R5
bool "Blues Wireless Swan Development Board"
depends on SOC_STM32L4R5XX
Loading…
Cancel
Save