boards: Convert stm32f3_disco 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 14:26:42 +01:00
committed by Jamie McCrae
parent 35fb228599
commit a1688ff641
16 changed files with 16 additions and 26 deletions

View File

@@ -1,8 +0,0 @@
# STM32F3DISCOVERY board configuration
# Copyright (c) 2017 I-SENSE group of ICCS
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32F3_DISCO
bool "STM32F3DISCOVERY Development Board"
depends on SOC_STM32F303XC

View File

@@ -1,11 +0,0 @@
# STM32F3DISCOVERY board configuration
# Copyright (c) 2017 I-SENSE group of ICCS
# SPDX-License-Identifier: Apache-2.0
if BOARD_STM32F3_DISCO
config BOARD
default "stm32f3_disco"
endif # BOARD_STM32F3_DISCO

View File

@@ -1,4 +0,0 @@
board_check_revision(
FORMAT LETTER
DEFAULT_REVISION B
)

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2017 I-SENSE group of ICCS
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32F3_DISCO
select SOC_STM32F303XC

View File

@@ -0,0 +1,11 @@
board:
name: stm32f3_disco
vendor: st
revision:
format: letter
default: "B"
revisions:
- name: "B"
- name: "E"
socs:
- name: stm32f303xc

View File

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View File

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