boards: Convert stm32l476g_disco 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-09 09:14:41 +01:00
committed by Carles Cufi
parent 74acec315c
commit 29d03c970b
11 changed files with 11 additions and 23 deletions

View File

@@ -1,8 +0,0 @@
# STM32L476G Discovery board configuration
# Copyright (c) 2017 Arthur Sfez
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32L476G_DISCO
bool "STM32L476G Discovery Development Board"
depends on SOC_STM32L476XX

View File

@@ -1,11 +0,0 @@
# STM32L476G DISCOVERY board configuration
# Copyright (c) 2017 Arthur Sfez
# SPDX-License-Identifier: Apache-2.0
if BOARD_STM32L476G_DISCO
config BOARD
default "stm32l476g_disco"
endif # BOARD_STM32L476G_DISCO

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2017 Arthur Sfez
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32L476G_DISCO
select SOC_STM32L476XX

View File

@@ -0,0 +1,5 @@
board:
name: stm32l476g_disco
vendor: st
socs:
- name: stm32l476xx

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View File

@@ -126,7 +126,7 @@ Other hardware features are not yet supported on this Zephyr port.
The default configuration can be found in the defconfig file:
``boards/arm/stm32l476g_disco/stm32l476g_disco_defconfig``
``boards/st/stm32l476g_disco/stm32l476g_disco_defconfig``
Connections and IOs

View File

@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_STM32L4X=y
CONFIG_SOC_STM32L476XX=y
# Enable MPU
CONFIG_ARM_MPU=y