boards: Convert swan_r5 to HWM v2

Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
Guillaume Gautier
2024-02-09 09:15:07 +01:00
committed by Carles Cufi
parent 83bd1a9ecc
commit ae42be236b
14 changed files with 11 additions and 15 deletions

View File

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

View File

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

View File

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

View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View File

@@ -121,7 +121,7 @@ hardware features:
Other hardware features are not yet supported on this Zephyr port.
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

View File

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

View File

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