boards: Convert stm32f072_eval 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
6f9fe5429d
commit
1933585785
@@ -1,8 +0,0 @@
|
||||
# STM32F072-EVAL board configuration
|
||||
|
||||
# Copyright (c) 2017 BayLibre, SAS
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_STM32F072_EVAL
|
||||
bool "STM32F072-EVAL Development Board"
|
||||
depends on SOC_STM32F072XB
|
||||
@@ -1,11 +0,0 @@
|
||||
# STM32F072-EVAL board configuration
|
||||
|
||||
# Copyright (c) 2017 BayLibre, SAS
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_STM32F072_EVAL
|
||||
|
||||
config BOARD
|
||||
default "stm32f072_eval"
|
||||
|
||||
endif # BOARD_STM32F072_EVAL
|
||||
5
boards/v2/st/stm32f072_eval/Kconfig.stm32f072_eval
Normal file
5
boards/v2/st/stm32f072_eval/Kconfig.stm32f072_eval
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2017 BayLibre, SAS
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_STM32F072_EVAL
|
||||
select SOC_STM32F072XB
|
||||
5
boards/v2/st/stm32f072_eval/board.yml
Normal file
5
boards/v2/st/stm32f072_eval/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: stm32f072_eval
|
||||
vendor: st
|
||||
socs:
|
||||
- name: stm32f072xb
|
||||
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 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