boards: Convert stm32f401_mini 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:55:06 +01:00
committed by Jamie McCrae
parent e0191d03bb
commit ecfbf42757
10 changed files with 6 additions and 10 deletions

View File

@@ -5,9 +5,6 @@
if BOARD_STM32F401_MINI
config BOARD
default "stm32f401_mini"
config SPI_STM32_INTERRUPT
default y
depends on SPI

View File

@@ -1,8 +1,5 @@
# Copyright (c) 2022 Brian Bradley
# SPDX-License-Identifier: Apache-2.0
# STM32 Mini F401 Board
config BOARD_STM32F401_MINI
bool "STM32 Mini F401 Board"
depends on SOC_STM32F401XC
select SOC_STM32F401XC

View File

@@ -0,0 +1,5 @@
board:
name: stm32f401_mini
vendor: others
socs:
- name: stm32f401xc

View File

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 95 KiB

View File

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