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:
committed by
Jamie McCrae
parent
c319cb19f0
commit
10e5d1122b
@@ -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
|
||||
@@ -5,9 +5,6 @@
|
||||
|
||||
if BOARD_NUCLEO_F334R8
|
||||
|
||||
config BOARD
|
||||
default "nucleo_f334r8"
|
||||
|
||||
config SPI_STM32_INTERRUPT
|
||||
default y
|
||||
depends on SPI
|
||||
5
boards/st/nucleo_f334r8/Kconfig.nucleo_f334r8
Normal file
5
boards/st/nucleo_f334r8/Kconfig.nucleo_f334r8
Normal 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
|
||||
5
boards/st/nucleo_f334r8/board.yml
Normal file
5
boards/st/nucleo_f334r8/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: nucleo_f334r8
|
||||
vendor: st
|
||||
socs:
|
||||
- name: stm32f334x8
|
||||
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 73 KiB |
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user