boards: Convert nucleo_f042k6 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:13:13 +01:00
committed by Jamie McCrae
parent 2d82646443
commit 795f8d611b
12 changed files with 10 additions and 25 deletions

View File

@@ -1,9 +0,0 @@
# STM32 Nucleo-32 development board with STM32F031K6 MCU configuration
# Copyright (c) 2023 STMicroelectronics
# SPDX -License-Identifier: Apache-2.0
config BOARD_NUCLEO_F042K6
bool "NUCLEO-32 F042K6 Development Board"
depends on SOC_STM32F042X6

View File

@@ -1,12 +0,0 @@
# STM32 Nucleo-32 development board with STM32F042K6 MCU
# Copyright (c) 2023 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
if BOARD_NUCLEO_F042K6
config BOARD
default "nucleo_f042k6"
endif # BOARD_NUCLEO_F042K6

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2023 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_F042K6
select SOC_STM32F042X6

View File

@@ -0,0 +1,5 @@
board:
name: nucleo_f042k6
vendor: st
socs:
- name: stm32f042x6

View File

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View File

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 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_STM32F042X6=y
# Serial Drivers
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y