boards: Convert waveshare_open103z 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
9644828c81
commit
aa9597f6d9
@@ -1,8 +0,0 @@
|
||||
# Waveshare Open103Z board configuration
|
||||
|
||||
# Copyright (c) 2020 Stefano Manni
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_WAVESHARE_OPEN103Z
|
||||
bool "Waveshare OPEN103Z Development Board"
|
||||
depends on SOC_STM32F103XE
|
||||
@@ -1,11 +0,0 @@
|
||||
# Waveshare Open103Z board configuration
|
||||
|
||||
# Copyright (c) 2020 Stefano Manni
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_WAVESHARE_OPEN103Z
|
||||
|
||||
config BOARD
|
||||
default "waveshare_open103z"
|
||||
|
||||
endif # BOARD_WAVESHARE_OPEN103Z
|
||||
@@ -41,4 +41,5 @@ available under :zephyr_file:`doc/templates/board.tmpl`.
|
||||
v2/seagate/index.rst
|
||||
v2/sparkfun/index.rst
|
||||
v2/st/index.rst
|
||||
v2/waveshare/index.rst
|
||||
v2/wiznet/index.rst
|
||||
|
||||
10
boards/v2/waveshare/index.rst
Normal file
10
boards/v2/waveshare/index.rst
Normal file
@@ -0,0 +1,10 @@
|
||||
.. _boards-st:
|
||||
|
||||
STMicroelectronics
|
||||
##################
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:glob:
|
||||
|
||||
**/*
|
||||
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2020 Stefano Manni
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_WAVESHARE_OPEN103Z
|
||||
select SOC_STM32F103XE
|
||||
5
boards/v2/waveshare/waveshare_open103z/board.yml
Normal file
5
boards/v2/waveshare/waveshare_open103z/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: waveshare_open103z
|
||||
vendor: waveshare
|
||||
socs:
|
||||
- name: stm32f103xe
|
||||
|
Before Width: | Height: | Size: 745 KiB After Width: | Height: | Size: 745 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
@@ -1,8 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_SERIES_STM32F1X=y
|
||||
CONFIG_SOC_STM32F103XE=y
|
||||
|
||||
# enable uart driver
|
||||
CONFIG_SERIAL=y
|
||||
# enable console
|
||||
Reference in New Issue
Block a user