boards: Convert stm32g0316_disco to HWM v2

Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
Guillaume Gautier
2024-02-08 11:36:45 +01:00
committed by Jamie McCrae
parent 662cc4e09b
commit ca36d331d2
10 changed files with 10 additions and 23 deletions

View File

@@ -1,8 +0,0 @@
# STM32G0316 Discovery board configuration
# Copyright (c) 2019 SEAL AG
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32G0316_DISCO
bool "STM32G0316 Discovery Development Board"
depends on SOC_STM32G031XX

View File

@@ -1,11 +0,0 @@
# STM32G0316 Discovery board configuration
# Copyright (c) 2019 SEAL AG
# SPDX-License-Identifier: Apache-2.0
if BOARD_STM32G0316_DISCO
config BOARD
default "stm32g0316_disco"
endif # BOARD_STM32G0316_DISCO

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2019 SEAL AG
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32G0316_DISCO
select SOC_STM32G031XX

View File

@@ -0,0 +1,5 @@
board:
name: stm32g0316_disco
vendor: st
socs:
- name: stm32g031xx

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -1,7 +1,3 @@
# Zephyr Kernel Configuration
CONFIG_SOC_SERIES_STM32G0X=y
CONFIG_SOC_STM32G031XX=y
# Kernel Options due to Low Memory (8k)
CONFIG_MAIN_STACK_SIZE=640
CONFIG_IDLE_STACK_SIZE=200