Browse Source

boards: nuvoton: numaker_pfm: Split into 2 boards

Splits up a wrongly unified board into 2 boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
pull/69687/head
Jamie McCrae 1 year ago committed by Carles Cufi
parent
commit
8f20ea6e93
  1. 15
      boards/nuvoton/numaker_pfm/board.cmake
  2. 4
      boards/nuvoton/numaker_pfm_m467/Kconfig
  3. 0
      boards/nuvoton/numaker_pfm_m467/Kconfig.defconfig
  4. 5
      boards/nuvoton/numaker_pfm_m467/Kconfig.numaker_pfm_m467
  5. 9
      boards/nuvoton/numaker_pfm_m467/board.cmake
  6. 3
      boards/nuvoton/numaker_pfm_m467/board.yml
  7. 4
      boards/nuvoton/numaker_pfm_m467/doc/index.rst
  8. 0
      boards/nuvoton/numaker_pfm_m467/doc/pfm_m467.jpeg
  9. 0
      boards/nuvoton/numaker_pfm_m467/numaker_pfm_m467-pinctrl.dtsi
  10. 0
      boards/nuvoton/numaker_pfm_m467/numaker_pfm_m467.dts
  11. 2
      boards/nuvoton/numaker_pfm_m467/numaker_pfm_m467.yaml
  12. 0
      boards/nuvoton/numaker_pfm_m467/numaker_pfm_m467_defconfig
  13. 0
      boards/nuvoton/numaker_pfm_m467/support/openocd.cfg
  14. 8
      boards/nuvoton/numaker_pfm_m487/Kconfig.numaker_pfm_m487
  15. 6
      boards/nuvoton/numaker_pfm_m487/board.cmake
  16. 5
      boards/nuvoton/numaker_pfm_m487/board.yml
  17. 4
      boards/nuvoton/numaker_pfm_m487/doc/index.rst
  18. 0
      boards/nuvoton/numaker_pfm_m487/doc/pfm_m487.jpg
  19. 0
      boards/nuvoton/numaker_pfm_m487/numaker_pfm_m487-pinctrl.dtsi
  20. 0
      boards/nuvoton/numaker_pfm_m487/numaker_pfm_m487.dts
  21. 2
      boards/nuvoton/numaker_pfm_m487/numaker_pfm_m487.yaml
  22. 0
      boards/nuvoton/numaker_pfm_m487/numaker_pfm_m487_defconfig
  23. 0
      boards/nuvoton/numaker_pfm_m487/support/openocd.cfg

15
boards/nuvoton/numaker_pfm/board.cmake

@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
# SPDX-License-Identifier: Apache-2.0
if(CONFIG_BOARD_NUMAKER_PFM_M467)
board_runner_args(pyocd "--target=m467hjhae")
endif()
board_runner_args(nulink "-f")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nulink.board.cmake)
if(CONFIG_BOARD_NUMAKER_PFM_M467)
include(${ZEPHYR_BASE}/boards/common/canopen.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
endif()

4
boards/nuvoton/numaker_pfm/Kconfig → boards/nuvoton/numaker_pfm_m467/Kconfig

@ -4,5 +4,5 @@ @@ -4,5 +4,5 @@
#
# Copyright (c) 2023 Nuvoton Technology Corporation.
config BOARD_NUMAKER_PFM
select SOC_FLASH_NUMAKER if BOARD_NUMAKER_PFM_M467
config BOARD_NUMAKER_PFM_M467
select SOC_FLASH_NUMAKER

0
boards/nuvoton/numaker_pfm/Kconfig.defconfig → boards/nuvoton/numaker_pfm_m467/Kconfig.defconfig

5
boards/nuvoton/numaker_pfm/Kconfig.numaker_pfm → boards/nuvoton/numaker_pfm_m467/Kconfig.numaker_pfm_m467

@ -4,6 +4,5 @@ @@ -4,6 +4,5 @@
#
# Copyright (c) 2023 Nuvoton Technology Corporation.
config BOARD_NUMAKER_PFM
select SOC_M467 if BOARD_NUMAKER_PFM_M467
select SOC_M487 if BOARD_NUMAKER_PFM_M487
config BOARD_NUMAKER_PFM_M467
select SOC_M467

9
boards/nuvoton/numaker_pfm_m467/board.cmake

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
# SPDX-License-Identifier: Apache-2.0
board_runner_args(pyocd "--target=m467hjhae")
board_runner_args(nulink "-f")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nulink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/canopen.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)

3
boards/nuvoton/numaker_pfm/board.yml → boards/nuvoton/numaker_pfm_m467/board.yml

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
board:
name: numaker_pfm
name: numaker_pfm_m467
vendor: Nuvoton
socs:
- name: m467
- name: m487

4
boards/nuvoton/numaker_pfm/doc/index.rst → boards/nuvoton/numaker_pfm_m467/doc/index.rst

@ -75,7 +75,7 @@ run a serial host program to connect with your board. For example: @@ -75,7 +75,7 @@ run a serial host program to connect with your board. For example:
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: numaker_pfm/m467
:board: numaker_pfm_m467
:goals: flash
Debugging
@ -85,7 +85,7 @@ Here is an example for the :ref:`hello_world` application. @@ -85,7 +85,7 @@ Here is an example for the :ref:`hello_world` application.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: numaker_pfm/m467
:board: numaker_pfm_m467
:goals: debug
Step through the application in your debugger.

0
boards/nuvoton/numaker_pfm/doc/pfm_m467.jpeg → boards/nuvoton/numaker_pfm_m467/doc/pfm_m467.jpeg

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 77 KiB

0
boards/nuvoton/numaker_pfm/numaker_pfm_m467-pinctrl.dtsi → boards/nuvoton/numaker_pfm_m467/numaker_pfm_m467-pinctrl.dtsi

0
boards/nuvoton/numaker_pfm/numaker_pfm_m467.dts → boards/nuvoton/numaker_pfm_m467/numaker_pfm_m467.dts

2
boards/nuvoton/numaker_pfm/numaker_pfm_m467.yaml → boards/nuvoton/numaker_pfm_m467/numaker_pfm_m467.yaml

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
# Copyright (c) 2023 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
identifier: numaker_pfm/m467
identifier: numaker_pfm_m467
name: NUVOTON NUMAKER-PFM-M467 Kit
type: mcu
arch: arm

0
boards/nuvoton/numaker_pfm/numaker_pfm_m467_defconfig → boards/nuvoton/numaker_pfm_m467/numaker_pfm_m467_defconfig

0
boards/nuvoton/numaker_pfm/support/openocd.cfg → boards/nuvoton/numaker_pfm_m467/support/openocd.cfg

8
boards/nuvoton/numaker_pfm_m487/Kconfig.numaker_pfm_m487

@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
# SPDX-License-Identifier: Apache-2.0
#
# Nuvoton PFM M467 board configuration
#
# Copyright (c) 2023 Nuvoton Technology Corporation.
config BOARD_NUMAKER_PFM_M487
select SOC_M487

6
boards/nuvoton/numaker_pfm_m487/board.cmake

@ -0,0 +1,6 @@ @@ -0,0 +1,6 @@
# SPDX-License-Identifier: Apache-2.0
board_runner_args(nulink "-f")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nulink.board.cmake)

5
boards/nuvoton/numaker_pfm_m487/board.yml

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
board:
name: numaker_pfm_m487
vendor: Nuvoton
socs:
- name: m487

4
boards/nuvoton/numaker_pfm/doc/m487.rst → boards/nuvoton/numaker_pfm_m487/doc/index.rst

@ -74,7 +74,7 @@ run a serial host program to connect with your board. For example: @@ -74,7 +74,7 @@ run a serial host program to connect with your board. For example:
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: numaker_pfm/m487
:board: numaker_pfm_m487
:goals: flash
Debugging
@ -84,7 +84,7 @@ Here is an example for the :ref:`hello_world` application. @@ -84,7 +84,7 @@ Here is an example for the :ref:`hello_world` application.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: numaker_pfm/m487
:board: numaker_pfm_m487
:goals: debug
Step through the application in your debugger.

0
boards/nuvoton/numaker_pfm/doc/pfm_m487.jpg → boards/nuvoton/numaker_pfm_m487/doc/pfm_m487.jpg

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

0
boards/nuvoton/numaker_pfm/numaker_pfm_m487-pinctrl.dtsi → boards/nuvoton/numaker_pfm_m487/numaker_pfm_m487-pinctrl.dtsi

0
boards/nuvoton/numaker_pfm/numaker_pfm_m487.dts → boards/nuvoton/numaker_pfm_m487/numaker_pfm_m487.dts

2
boards/nuvoton/numaker_pfm/numaker_pfm_m487.yaml → boards/nuvoton/numaker_pfm_m487/numaker_pfm_m487.yaml

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
identifier: numaker_pfm/m487
identifier: numaker_pfm_m487
name: NUVOTON-PFM-M487
type: mcu
arch: arm

0
boards/nuvoton/numaker_pfm/numaker_pfm_m487_defconfig → boards/nuvoton/numaker_pfm_m487/numaker_pfm_m487_defconfig

0
boards/nuvoton/numaker_pfm/support/openocd_m487.cfg → boards/nuvoton/numaker_pfm_m487/support/openocd.cfg

Loading…
Cancel
Save