boards: Convert pandora_stm32l475 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:26 +01:00
committed by Carles Cufi
parent 008b5d9392
commit fee6d8676e
11 changed files with 11 additions and 23 deletions

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2023 Tisilicon
# SPDX-License-Identifier: Apache-2.0
config BOARD_PANDORA_STM32L475
select SOC_STM32L475XX

View File

@@ -0,0 +1,5 @@
board:
name: pandora_stm32l475
vendor: alientek
socs:
- name: stm32l475xx

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

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

View File

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

View File

@@ -1,8 +0,0 @@
# STM32L475 Pandora board configuration
# Copyright (c) 2023 Tisilicon
# SPDX-License-Identifier: Apache-2.0
config BOARD_PANDORA_STM32L475
bool "STM32L475 Pandora Development Board"
depends on SOC_STM32L475XX

View File

@@ -1,11 +0,0 @@
# STM32L475 Pandora board configuration
# Copyright (c) 2023 Tisilicon
# SPDX-License-Identifier: Apache-2.0
if BOARD_PANDORA_STM32L475
config BOARD
default "pandora_stm32l475"
endif # BOARD_PANDORA_STM32L475