boards: Convert nucleo_c031c6 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 09:02:49 +01:00
committed by Jamie McCrae
parent dbc5ed79f5
commit 2ba3639b2a
11 changed files with 10 additions and 25 deletions

View File

@@ -1,8 +0,0 @@
# STM32 Nucleo-64 development board with STM32C031C6 MCU configuration
# Copyright (c) 2023 Benjamin Björnsson <benjamin.bjornsson@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_C031C6
bool "NUCLEO-64 C031C6 Development Board"
depends on SOC_STM32C031XX

View File

@@ -1,11 +0,0 @@
# STM32 Nucleo-64 development board with STM32C031C6 MCU
# Copyright (c) 2023 Benjamin Björnsson <benjamin.bjornsson@gmail.com>
# SPDX-License-Identifier: Apache-2.0
if BOARD_NUCLEO_C031C6
config BOARD
default "nucleo_c031c6"
endif # BOARD_NUCLEO_C031C6

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2023 Benjamin Björnsson <benjamin.bjornsson@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_C031C6
select SOC_STM32C031XX

View File

@@ -0,0 +1,5 @@
board:
name: nucleo_c031c6
vendor: st
socs:
- name: stm32c031xx

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

@@ -1,11 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
# Zephyr Kernel Configuration
CONFIG_SOC_SERIES_STM32C0X=y
# Platform Configuration
CONFIG_SOC_STM32C031XX=y
# Serial Drivers
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y