boards: Convert nucleo_l476rg 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:12:25 +01:00
committed by Carles Cufi
parent 15956a69b8
commit 4da061646f
15 changed files with 11 additions and 16 deletions

View File

@@ -1,9 +0,0 @@
# STM32L476RG Nucleo board configuration
# Copyright (c) 2016 Open-RnD Sp. z o.o.
# Copyright (c) 2016 BayLibre, SAS
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_L476RG
bool "Nucleo L476RG Development Board"
depends on SOC_STM32L476XX

View File

@@ -6,9 +6,6 @@
if BOARD_NUCLEO_L476RG
config BOARD
default "nucleo_l476rg"
config SPI_STM32_INTERRUPT
default y
depends on SPI

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2016 BayLibre, SAS
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_L476RG
select SOC_STM32L476XX

View File

@@ -0,0 +1,5 @@
board:
name: nucleo_l476rg
vendor: st
socs:
- name: stm32l476xx

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

View File

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

@@ -127,7 +127,7 @@ The Zephyr nucleo_l476rg board configuration supports the following hardware fea
Other hardware features are not yet supported on this Zephyr port.
The default configuration can be found in the defconfig file:
``boards/arm/nucleo_l476rg/nucleo_l476rg_defconfig``
``boards/st/nucleo_l476rg/nucleo_l476rg_defconfig``
Connections and IOs

View File

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