boards: Convert stm32l4r9i_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:58 +01:00
committed by Carles Cufi
parent 39c26f09ed
commit 83bd1a9ecc
12 changed files with 11 additions and 23 deletions

View File

@@ -1,8 +0,0 @@
# STM32L4R9I Discovery board configuration
# Copyright (c) 2023 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32L4R9I_DISCO
bool "STM32L4R9I Discovery Development Board"
depends on SOC_STM32L4R9XX

View File

@@ -1,11 +0,0 @@
# STM32L4R9I Discovery board configuration
# Copyright (c) 2023 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
if BOARD_STM32L4R9I_DISCO
config BOARD
default "stm32l4r9i_disco"
endif # BOARD_STM32L4R9I_DISCO

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2023 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32L4R9I_DISCO
select SOC_STM32L4R9XX

View File

@@ -0,0 +1,5 @@
board:
name: stm32l4r9i_disco
vendor: st
socs:
- name: stm32l4r9xx

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

@@ -65,7 +65,7 @@ Other hardware features are not yet supported on Zephyr porting.
The default configuration can be found in the defconfig file:
``boards/arm/stm32l4r9i_disco/stm32l4r9i_disco_defconfig``
``boards/st/stm32l4r9i_disco/stm32l4r9i_disco_defconfig``
Pin Mapping

View File

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