Browse Source

boards: arm: we_proteus3ev_nrf52840: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
pull/69687/head
Jamie McCrae 1 year ago committed by Carles Cufi
parent
commit
c3f5ed8157
  1. 6
      boards/boards_legacy/arm/we_proteus3ev_nrf52840/Kconfig.board
  2. 4
      boards/wurth_elektronik/we_proteus3ev/Kconfig
  3. 7
      boards/wurth_elektronik/we_proteus3ev/Kconfig.defconfig
  4. 7
      boards/wurth_elektronik/we_proteus3ev/Kconfig.we_proteus3ev
  5. 0
      boards/wurth_elektronik/we_proteus3ev/board.cmake
  6. 5
      boards/wurth_elektronik/we_proteus3ev/board.yml
  7. 0
      boards/wurth_elektronik/we_proteus3ev/doc/img/we_proteus3ev_nrf52840.jpg
  8. 8
      boards/wurth_elektronik/we_proteus3ev/doc/index.rst
  9. 0
      boards/wurth_elektronik/we_proteus3ev/pre_dt_board.cmake
  10. 0
      boards/wurth_elektronik/we_proteus3ev/we_proteus3ev_nrf52840-pinctrl.dtsi
  11. 0
      boards/wurth_elektronik/we_proteus3ev/we_proteus3ev_nrf52840.dts
  12. 2
      boards/wurth_elektronik/we_proteus3ev/we_proteus3ev_nrf52840.yaml
  13. 4
      boards/wurth_elektronik/we_proteus3ev/we_proteus3ev_nrf52840_defconfig

6
boards/boards_legacy/arm/we_proteus3ev_nrf52840/Kconfig.board

@ -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

4
boards/boards_legacy/arm/we_proteus3ev_nrf52840/Kconfig → boards/wurth_elektronik/we_proteus3ev/Kconfig

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

7
boards/boards_legacy/arm/we_proteus3ev_nrf52840/Kconfig.defconfig → boards/wurth_elektronik/we_proteus3ev/Kconfig.defconfig

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

7
boards/wurth_elektronik/we_proteus3ev/Kconfig.we_proteus3ev

@ -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

0
boards/boards_legacy/arm/we_proteus3ev_nrf52840/board.cmake → boards/wurth_elektronik/we_proteus3ev/board.cmake

5
boards/wurth_elektronik/we_proteus3ev/board.yml

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

0
boards/boards_legacy/arm/we_proteus3ev_nrf52840/doc/img/we_proteus3ev_nrf52840.jpg → boards/wurth_elektronik/we_proteus3ev/doc/img/we_proteus3ev_nrf52840.jpg

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 119 KiB

8
boards/boards_legacy/arm/we_proteus3ev_nrf52840/doc/index.rst → boards/wurth_elektronik/we_proteus3ev/doc/index.rst

@ -45,7 +45,7 @@ clock is 32 MHz.
Supported Features Supported Features
================== ==================
The we_proteus3ev_nrf52840 board configuration supports the following The we_proteus3ev/nrf52840 board configuration supports the following
hardware features: hardware features:
+-----------+------------+----------------------+ +-----------+------------+----------------------+
@ -100,7 +100,7 @@ Push buttons
Programming and Debugging 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 built, flashed, and debugged in the usual way. See
:ref:`build_an_application` and :ref:`application_run` for more details on :ref:`build_an_application` and :ref:`application_run` for more details on
building and running. building and running.
@ -129,7 +129,7 @@ Then build and flash the application in the usual way.
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/hello_world :zephyr-app: samples/hello_world
:board: we_proteus3ev_nrf52840 :board: we_proteus3ev/nrf52840
:goals: build flash :goals: build flash
Debugging 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 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 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 References
********** **********

0
boards/boards_legacy/arm/we_proteus3ev_nrf52840/pre_dt_board.cmake → boards/wurth_elektronik/we_proteus3ev/pre_dt_board.cmake

0
boards/boards_legacy/arm/we_proteus3ev_nrf52840/we_proteus3ev_nrf52840-pinctrl.dtsi → boards/wurth_elektronik/we_proteus3ev/we_proteus3ev_nrf52840-pinctrl.dtsi

0
boards/boards_legacy/arm/we_proteus3ev_nrf52840/we_proteus3ev_nrf52840.dts → boards/wurth_elektronik/we_proteus3ev/we_proteus3ev_nrf52840.dts

2
boards/boards_legacy/arm/we_proteus3ev_nrf52840/we_proteus3ev_nrf52840.yaml → boards/wurth_elektronik/we_proteus3ev/we_proteus3ev_nrf52840.yaml

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

4
boards/boards_legacy/arm/we_proteus3ev_nrf52840/we_proteus3ev_nrf52840_defconfig → boards/wurth_elektronik/we_proteus3ev/we_proteus3ev_nrf52840_defconfig

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