boards: Convert adafruit_feather_stm32f405 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
58ed121c3a
commit
eb272ddf19
@@ -1,8 +1,5 @@
|
||||
# Adafruit Feather STM32F405 Express board configuration
|
||||
|
||||
# Copyright (c) 2020 Lucian Copeland for Adafruit Industries
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_ADAFRUIT_FEATHER_STM32F405
|
||||
bool "Feather STM32F405 Express Board"
|
||||
depends on SOC_STM32F405XG
|
||||
select SOC_STM32F405XG
|
||||
@@ -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
|
||||
|
||||
5
boards/adafruit/adafruit_feather_stm32f405/board.yml
Normal file
5
boards/adafruit/adafruit_feather_stm32f405/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: adafruit_feather_stm32f405
|
||||
vendor: adafruit
|
||||
socs:
|
||||
- name: stm32f405xx
|
||||
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
@@ -1,11 +0,0 @@
|
||||
# Adafruit Feather STM32F405 Express board configuration
|
||||
|
||||
# Copyright (c) 2020 Lucian Copeland for Adafruit Industries.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_ADAFRUIT_FEATHER_STM32F405
|
||||
|
||||
config BOARD
|
||||
default "adafruit_feather_stm32f405"
|
||||
|
||||
endif # BOARD_ADAFRUIT_FEATHER_STM32F405
|
||||
Reference in New Issue
Block a user