boards: Convert stm32f072b_disco to HWM v2

Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
Erwan Gouriou
2024-01-26 16:13:45 +01:00
committed by Jamie McCrae
parent 9dc78e4025
commit 6f9fe5429d
11 changed files with 10 additions and 15 deletions

View File

@@ -1,8 +0,0 @@
# STM32F072B-DISCO board configuration
# Copyright (c) 2017 Clage GmbH
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32F072B_DISCO
bool "STM32F072B-DISCO Development Board"
depends on SOC_STM32F072XB

View File

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

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2017 Clage GmbH
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32F072B_DISCO
select SOC_STM32F072XB

View File

@@ -0,0 +1,5 @@
board:
name: stm32f072b_disco
vendor: st
socs:
- name: stm32f072xb

View File

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

View File

@@ -1,11 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
# Zephyr Kernel Configuration
CONFIG_SOC_SERIES_STM32F0X=y
# Platform Configuration
CONFIG_SOC_STM32F072XB=y
# Serial Drivers
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y