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:
committed by
Jamie McCrae
parent
9dc78e4025
commit
6f9fe5429d
@@ -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
|
||||
@@ -5,9 +5,6 @@
|
||||
|
||||
if BOARD_STM32F072B_DISCO
|
||||
|
||||
config BOARD
|
||||
default "stm32f072b_disco"
|
||||
|
||||
config SPI_STM32_INTERRUPT
|
||||
default y
|
||||
depends on SPI
|
||||
5
boards/v2/st/stm32f072b_disco/Kconfig.stm32f072b_disco
Normal file
5
boards/v2/st/stm32f072b_disco/Kconfig.stm32f072b_disco
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2017 Clage GmbH
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_STM32F072B_DISCO
|
||||
select SOC_STM32F072XB
|
||||
5
boards/v2/st/stm32f072b_disco/board.yml
Normal file
5
boards/v2/st/stm32f072b_disco/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: stm32f072b_disco
|
||||
vendor: st
|
||||
socs:
|
||||
- name: stm32f072xb
|
||||
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
@@ -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
|
||||
Reference in New Issue
Block a user