boards: arm: we_proteus3ev_nrf52840: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-02-02 11:38:05 +00:00
committed by Carles Cufi
parent eecff8ee7a
commit c3f5ed8157
13 changed files with 21 additions and 22 deletions

View File

@@ -1,6 +0,0 @@
# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config BOARD_WE_PROTEUS3EV_NRF52840
bool "we_proteus3ev_nrf52840"
depends on SOC_NRF52840_QIAA

View File

@@ -3,7 +3,7 @@
# Copyright (c) 2016 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
if BOARD_WE_PROTEUS3EV_NRF52840
if BOARD_WE_PROTEUS3EV
config BOARD_ENABLE_DCDC
bool "DCDC mode"
@@ -15,4 +15,4 @@ config BOARD_ENABLE_DCDC_HV
select SOC_DCDC_NRF52X_HV
default y
endif # BOARD_WE_PROTEUS3EV_NRF52840
endif # BOARD_WE_PROTEUS3EV

View File

@@ -1,12 +1,9 @@
# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
if BOARD_WE_PROTEUS3EV_NRF52840
config BOARD
default "we_proteus3ev_nrf52840"
if BOARD_WE_PROTEUS3EV
config BT_CTLR
default BT
endif
endif # BOARD_WE_PROTEUS3EV

View File

@@ -0,0 +1,7 @@
# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config BOARD_WE_PROTEUS3EV
bool
default y
select SOC_NRF52840_QIAA

View File

@@ -0,0 +1,5 @@
board:
name: we_proteus3ev
vendor: Würth Elektronik
socs:
- name: nrf52840

View File

@@ -45,7 +45,7 @@ clock is 32 MHz.
Supported Features
==================
The we_proteus3ev_nrf52840 board configuration supports the following
The we_proteus3ev/nrf52840 board configuration supports the following
hardware features:
+-----------+------------+----------------------+
@@ -100,7 +100,7 @@ Push buttons
Programming and Debugging
*************************
Applications for the ``we_proteus3ev_nrf52840`` board configuration can be
Applications for the ``we_proteus3ev/nrf52840`` board configuration can be
built, flashed, and debugged in the usual way. See
:ref:`build_an_application` and :ref:`application_run` for more details on
building and running.
@@ -129,7 +129,7 @@ Then build and flash the application in the usual way.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: we_proteus3ev_nrf52840
:board: we_proteus3ev/nrf52840
:goals: build flash
Debugging
@@ -151,7 +151,7 @@ LEDs on the board are working properly with Zephyr:
You can build and flash the examples to make sure Zephyr is running correctly
on your board. The button and LED definitions can be found in
:zephyr_file:`boards/arm/we_proteus3ev_nrf52840/we_proteus3ev_nrf52840.dts`.
:zephyr_file:`boards/wurth_elektronik/we_proteus3ev/we_proteus3ev_nrf52840.dts`.
References
**********

View File

@@ -1,7 +1,7 @@
# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
identifier: we_proteus3ev_nrf52840
identifier: we_proteus3ev/nrf52840
name: we_proteus3ev_nrf52840
type: mcu
arch: arm

View File

@@ -1,10 +1,6 @@
# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52840_QIAA=y
CONFIG_BOARD_WE_PROTEUS3EV_NRF52840=y
# Enable MPU
CONFIG_ARM_MPU=y