boards: Convert nucleo_f334r8 to HWM v2

Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
This commit is contained in:
Abderrahmane Jarmouni
2024-02-06 14:24:24 +01:00
committed by Jamie McCrae
parent c319cb19f0
commit 10e5d1122b
14 changed files with 12 additions and 18 deletions

View File

@@ -1,8 +0,0 @@
# STM32 Nucleo-64 development board with STM32F334R8 MCU configuration
# Copyright (c) 2016 RnDity Sp. z o.o.
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_F334R8
bool "NUCLEO-64 F334R8 Development Board"
depends on SOC_STM32F334X8

View File

@@ -5,9 +5,6 @@
if BOARD_NUCLEO_F334R8
config BOARD
default "nucleo_f334r8"
config SPI_STM32_INTERRUPT
default y
depends on SPI

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2016 RnDity Sp. z o.o.
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_F334R8
select SOC_STM32F334X8

View File

@@ -0,0 +1,5 @@
board:
name: nucleo_f334r8
vendor: st
socs:
- name: stm32f334x8

View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 73 KiB

View File

@@ -1,15 +1,10 @@
# SPDX-License-Identifier: Apache-2.0
# Zephyr Kernel Configuration
CONFIG_SOC_SERIES_STM32F3X=y
# Platform Configuration
CONFIG_SOC_STM32F334X8=y
# Serial Drivers
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
# enable console
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y