boards: Convert mikroe_clicker_2 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:48:41 +01:00
committed by Jamie McCrae
parent 6b62d90114
commit 73fc26225c
10 changed files with 10 additions and 15 deletions

View File

@@ -1,8 +0,0 @@
# MikroE Clicker 2 board configuration
# Copyright (c) 2020 Trifork
# SPDX-License-Identifier: Apache-2.0
config BOARD_MIKROE_CLICKER_2
bool "MikroE Clicker 2 for STM32 board"
depends on SOC_STM32F407XG

View File

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

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2020 Trifork
# SPDX-License-Identifier: Apache-2.0
config BOARD_MIKROE_CLICKER_2
select SOC_STM32F407XG

View File

@@ -0,0 +1,5 @@
board:
name: mikroe_clicker_2
vendor: mikroe
socs:
- name: stm32f407xx

View File

@@ -1,7 +1,3 @@
CONFIG_BOARD_MIKROE_CLICKER_2=y
CONFIG_SOC_SERIES_STM32F4X=y
CONFIG_SOC_STM32F407XG=y
# Enable MPU
CONFIG_ARM_MPU=y