boards: Convert nucleo_f070rb to HWM v2
Port the board to HWMv2. Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
committed by
Jamie McCrae
parent
795f8d611b
commit
b276aee9a4
@@ -1,8 +0,0 @@
|
||||
# NUCLEO_F070RB board configuration
|
||||
|
||||
# Copyright (c) 2018 qianfan Zhao
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_NUCLEO_F070RB
|
||||
bool "NUCLEO-64 F070RB Development Board"
|
||||
depends on SOC_STM32F070XB
|
||||
@@ -5,9 +5,6 @@
|
||||
|
||||
if BOARD_NUCLEO_F070RB
|
||||
|
||||
config BOARD
|
||||
default "nucleo_f070rb"
|
||||
|
||||
config SPI_STM32_INTERRUPT
|
||||
default y
|
||||
depends on SPI
|
||||
5
boards/v2/st/nucleo_f070rb/Kconfig.nucleo_f070rb
Normal file
5
boards/v2/st/nucleo_f070rb/Kconfig.nucleo_f070rb
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2018 qianfan Zhao
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_NUCLEO_F070RB
|
||||
select SOC_STM32F070XB
|
||||
5
boards/v2/st/nucleo_f070rb/board.yml
Normal file
5
boards/v2/st/nucleo_f070rb/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: nucleo_f070rb
|
||||
vendor: st
|
||||
socs:
|
||||
- name: stm32f070xb
|
||||
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
@@ -1,11 +1,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Zephyr Kernel Configuration
|
||||
CONFIG_SOC_SERIES_STM32F0X=y
|
||||
|
||||
# Platform Configuration
|
||||
CONFIG_SOC_STM32F070XB=y
|
||||
|
||||
# Serial Drivers
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
||||
Reference in New Issue
Block a user