boards: Convert olimex_stm32_h103 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
a2c2e1406d
commit
dd9972d782
@@ -1,8 +0,0 @@
|
||||
# OLIMEX-STM32-H103 board configuration
|
||||
|
||||
# Copyright (c) 2020, Josep Puigdemont
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_OLIMEX_STM32_H103
|
||||
bool "OLIMEX-STM32-H103 Development Board"
|
||||
depends on SOC_STM32F103XB
|
||||
@@ -1,11 +0,0 @@
|
||||
# OLIMEX-STM32-H103 board configuration
|
||||
|
||||
# Copyright (c) 2020, Josep Puigdemont
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_OLIMEX_STM32_H103
|
||||
|
||||
config BOARD
|
||||
default "olimex_stm32_h103"
|
||||
|
||||
endif # BOARD_OLIMEX_STM32_H103
|
||||
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2020, Josep Puigdemont
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_OLIMEX_STM32_H103
|
||||
select SOC_STM32F103XB
|
||||
5
boards/v2/olimex/olimex_stm32_h103/board.yml
Normal file
5
boards/v2/olimex/olimex_stm32_h103/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: olimex_stm32_h103
|
||||
vendor: olimex
|
||||
socs:
|
||||
- name: stm32f103xb
|
||||
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
@@ -1,8 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_SERIES_STM32F1X=y
|
||||
CONFIG_SOC_STM32F103XB=y
|
||||
|
||||
# enable uart driver
|
||||
CONFIG_SERIAL=y
|
||||
# enable console
|
||||
Reference in New Issue
Block a user