boards: Convert nucleo_g070rb 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 11:36:18 +01:00
committed by Jamie McCrae
parent acc932b424
commit 353da23ffb
12 changed files with 10 additions and 23 deletions

View File

@@ -1,8 +0,0 @@
# STM32 Nucleo-64 development board with STM32G070RB MCU configuration
# Copyright (c) 2023 Marin Jurjević <marin.jurjevic@hotmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_G070RB
bool "NUCLEO-64 G070RB Development Board"
depends on SOC_STM32G070XX

View File

@@ -1,11 +0,0 @@
# STM32 Nucleo-64 development board with STM32G070RB MCU
# Copyright (c) 2023 Marin Jurjević <marin.jurjevic@hotmail.com>
# SPDX-License-Identifier: Apache-2.0
if BOARD_NUCLEO_G070RB
config BOARD
default "nucleo_g070rb"
endif # BOARD_NUCLEO_G070RB

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2023 Marin Jurjević <marin.jurjevic@hotmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_G070RB
select SOC_STM32G070XX

View File

@@ -0,0 +1,5 @@
board:
name: nucleo_g070rb
vendor: st
socs:
- name: stm32g070xx

View File

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

View File

@@ -1,7 +1,3 @@
# Zephyr Kernel Configuration
CONFIG_SOC_SERIES_STM32G0X=y
CONFIG_SOC_STM32G070XX=y
# Enable MPU
CONFIG_ARM_MPU=y