boards: Convert stm32f0_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:14:03 +01:00
committed by Jamie McCrae
parent 1933585785
commit 8d87bcc167
11 changed files with 10 additions and 23 deletions

View File

@@ -1,8 +0,0 @@
# STM32F0DISCOVERY development board with STM32F051R8 MCU configuration
# Copyright (c) 2018 Nathan Tsoi <nathan@vertile.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32F0_DISCO
bool "STM32F0DISCOVERY Development Board"
depends on SOC_STM32F051X8

View File

@@ -1,11 +0,0 @@
# STM32F0 development board with STM32F051R8T6 MCU
# Copyright (c) 2018 Nathan Tsoi <nathan@vertile.com>
# SPDX-License-Identifier: Apache-2.0
if BOARD_STM32F0_DISCO
config BOARD
default "stm32f0_disco"
endif # BOARD_STM32F0_DISCO

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2018 Nathan Tsoi <nathan@vertile.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32F0_DISCO
select SOC_STM32F051X8

View File

@@ -0,0 +1,5 @@
board:
name: stm32f0_disco
vendor: st
socs:
- name: stm32f051x8

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 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_STM32F051X8=y
# Kernel Options due to Low Memory (8k)
CONFIG_MAIN_STACK_SIZE=640
CONFIG_IDLE_STACK_SIZE=200