boards: Convert nucleo_g431rb 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:16 +01:00
committed by Jamie McCrae
parent 90e592ffd1
commit d6acb08d3e
12 changed files with 6 additions and 10 deletions

View File

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

View File

@@ -1,8 +1,5 @@
# STM32G431RB Nucleo board configuration
# Copyright (c) 2019 Richard Osterloh <richard.osterloh@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_G431RB
bool "Nucleo G431RB Development Board"
depends on SOC_STM32G431XX
select SOC_STM32G431XX

View File

@@ -0,0 +1,5 @@
board:
name: nucleo_g431rb
vendor: st
socs:
- name: stm32g431xx

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_STM32G431XX=y
# enable uart driver
CONFIG_SERIAL=y