boards: Convert blackpill_f401cc 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
7eeb723cb7
commit
3c02db1290
@@ -1,8 +0,0 @@
|
||||
# Copyright (c) 2022 Linaro Limited
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# STM32F401CC based Black Pill V3.0+ board configuration
|
||||
|
||||
config BOARD_BLACKPILL_F401CC
|
||||
bool "WeAct Studio Black Pill V3.0+ Board"
|
||||
depends on SOC_STM32F401XC
|
||||
5
boards/weact/blackpill_f401cc/Kconfig.blackpill_f401cc
Normal file
5
boards/weact/blackpill_f401cc/Kconfig.blackpill_f401cc
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2022 Linaro Limited
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_BLACKPILL_F401CC
|
||||
select SOC_STM32F401XC
|
||||
@@ -5,9 +5,6 @@
|
||||
|
||||
if BOARD_BLACKPILL_F401CC
|
||||
|
||||
config BOARD
|
||||
default "blackpill_f401cc"
|
||||
|
||||
config SPI_STM32_INTERRUPT
|
||||
default y
|
||||
depends on SPI
|
||||
@@ -1,9 +1,6 @@
|
||||
# Copyright (c) 2022 Linaro Limited
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_SERIES_STM32F4X=y
|
||||
CONFIG_SOC_STM32F401XC=y
|
||||
|
||||
# Enable MPU
|
||||
CONFIG_ARM_MPU=y
|
||||
|
||||
5
boards/weact/blackpill_f401cc/board.yml
Normal file
5
boards/weact/blackpill_f401cc/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: blackpill_f401cc
|
||||
vendor: weact
|
||||
socs:
|
||||
- name: stm32f401xc
|
||||
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Reference in New Issue
Block a user