boards: Convert nucleo_g474re 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-08 15:15:22 +01:00
committed by Jamie McCrae
parent d6acb08d3e
commit ffdcb60185
12 changed files with 10 additions and 14 deletions

View File

@@ -1,8 +0,0 @@
# STM32G474RE Nucleo board configuration
# Copyright (c) 2019 STMicroelectronics.
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_G474RE
bool "Nucleo G474RE Development Board"
depends on SOC_STM32G474XX

View File

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

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2019 STMicroelectronics.
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_G474RE
select SOC_STM32G474XX

View File

@@ -0,0 +1,5 @@
board:
name: nucleo_g474re
vendor: st
socs:
- name: stm32g474xx

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

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