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:
committed by
Jamie McCrae
parent
35fb228599
commit
a1688ff641
@@ -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
|
|
||||||
@@ -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
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
board_check_revision(
|
|
||||||
FORMAT LETTER
|
|
||||||
DEFAULT_REVISION B
|
|
||||||
)
|
|
||||||
5
boards/st/stm32f3_disco/Kconfig.stm32f3_disco
Normal file
5
boards/st/stm32f3_disco/Kconfig.stm32f3_disco
Normal 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
|
||||||
11
boards/st/stm32f3_disco/board.yml
Normal file
11
boards/st/stm32f3_disco/board.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
board:
|
||||||
|
name: stm32f3_disco
|
||||||
|
vendor: st
|
||||||
|
revision:
|
||||||
|
format: letter
|
||||||
|
default: "B"
|
||||||
|
revisions:
|
||||||
|
- name: "B"
|
||||||
|
- name: "E"
|
||||||
|
socs:
|
||||||
|
- name: stm32f303xc
|
||||||
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
@@ -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
|
||||||
|
|
||||||
Reference in New Issue
Block a user