boards: Convert olimex_stm32_p405 to HWM v2

Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
This commit is contained in:
Abderrahmane Jarmouni
2024-02-06 17:52:30 +01:00
committed by Jamie McCrae
parent 1f5e228ec8
commit f0ad6ee6b8
11 changed files with 6 additions and 18 deletions

View File

@@ -1,11 +0,0 @@
# OLIMEX-STM32-P405 board configuration
# Copyright (c) 2017, Erwin Rol <erwin@erwinrol.com>
# SPDX-License-Identifier: Apache-2.0
if BOARD_OLIMEX_STM32_P405
config BOARD
default "olimex_stm32_p405"
endif # BOARD_OLIMEX_STM32_P405

View File

@@ -1,8 +1,5 @@
# OLIMEX-STM32-P405 board configuration
# Copyright (c) 2017, Erwin Rol <erwin@erwinrol.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_OLIMEX_STM32_P405
bool "OLIMEX-STM32-P405 Development Board"
depends on SOC_STM32F405XG
select SOC_STM32F405XG

View File

@@ -0,0 +1,5 @@
board:
name: olimex_stm32_p405
vendor: olimex
socs:
- name: stm32f405xx

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

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