boards: Convert stm32g071b_disco 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 11:36:53 +01:00
committed by Jamie McCrae
parent ca36d331d2
commit 6f2835cb11
9 changed files with 6 additions and 18 deletions

View File

@@ -1,11 +0,0 @@
# STM32G071B Discovery board configuration
# Copyright 2021 The Chromium OS Authors
# SPDX-License-Identifier: Apache-2.0
if BOARD_STM32G071B_DISCO
config BOARD
default "stm32g071b_disco"
endif # BOARD_STM32G071B_DISCO

View File

@@ -1,8 +1,5 @@
# STM32G071B Discovery board configuration
# Copyright 2021 The Chromium OS Authors
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32G071B_DISCO
bool "STM32G071B Discovery Board"
depends on SOC_STM32G071XX
select SOC_STM32G071XX

View File

@@ -0,0 +1,5 @@
board:
name: stm32g071b_disco
vendor: st
socs:
- name: stm32g071xx

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -2,9 +2,6 @@
#
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_STM32G0X=y
CONFIG_SOC_STM32G071XX=y
# Serial Drivers
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y