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:
committed by
Jamie McCrae
parent
acc932b424
commit
353da23ffb
@@ -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
|
||||
@@ -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
|
||||
5
boards/st/nucleo_g070rb/Kconfig.nucleo_g070rb
Normal file
5
boards/st/nucleo_g070rb/Kconfig.nucleo_g070rb
Normal 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
|
||||
5
boards/st/nucleo_g070rb/board.yml
Normal file
5
boards/st/nucleo_g070rb/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: nucleo_g070rb
|
||||
vendor: st
|
||||
socs:
|
||||
- name: stm32g070xx
|
||||
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 88 KiB |
@@ -1,7 +1,3 @@
|
||||
# Zephyr Kernel Configuration
|
||||
CONFIG_SOC_SERIES_STM32G0X=y
|
||||
CONFIG_SOC_STM32G070XX=y
|
||||
|
||||
# Enable MPU
|
||||
CONFIG_ARM_MPU=y
|
||||
|
||||
Reference in New Issue
Block a user