boards: custom_plank: port to HWMv2

Port the custom_plank example out-of-tree board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2024-02-15 11:42:33 +01:00 committed by Carles Cufí
parent 06b6bcf1dc
commit f9f2da2404
10 changed files with 10 additions and 15 deletions

View file

@ -1,9 +0,0 @@
# Copyright (c) 2021 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
if BOARD_CUSTOM_PLANK
config BOARD
default "custom_plank"
endif # BOARD_CUSTOM_PLANK

View file

@ -2,5 +2,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_CUSTOM_PLANK
bool "Custom Plank Board"
depends on SOC_NRF52840_QIAA
select SOC_NRF52840_QIAA

8
boards/vendor/custom_plank/board.yml vendored Normal file
View file

@ -0,0 +1,8 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
board:
name: custom_plank
vendor: vendor
socs:
- name: nrf52840

View file

@ -3,6 +3,7 @@
identifier: custom_plank
name: Custom-Plank
vendor: vendor
type: mcu
arch: arm
ram: 256

View file

@ -1,10 +1,6 @@
# Copyright (c) 2021 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52840_QIAA=y
CONFIG_BOARD_CUSTOM_PLANK=y
CONFIG_ARM_MPU=y
CONFIG_HW_STACK_PROTECTION=y