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>
This commit is contained in:
committed by
Carles Cufi
parent
7cf4ff43a1
commit
8f20ea6e93
@@ -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,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
|
||||
@@ -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
Normal file
9
boards/nuvoton/numaker_pfm_m467/board.cmake
Normal file
@@ -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)
|
||||
@@ -1,6 +1,5 @@
|
||||
board:
|
||||
name: numaker_pfm
|
||||
name: numaker_pfm_m467
|
||||
vendor: Nuvoton
|
||||
socs:
|
||||
- name: m467
|
||||
- name: m487
|
||||
@@ -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.
|
||||
|
||||
.. 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.
|
||||
|
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 77 KiB |
@@ -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
|
||||
8
boards/nuvoton/numaker_pfm_m487/Kconfig.numaker_pfm_m487
Normal file
8
boards/nuvoton/numaker_pfm_m487/Kconfig.numaker_pfm_m487
Normal file
@@ -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
Normal file
6
boards/nuvoton/numaker_pfm_m487/board.cmake
Normal file
@@ -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
Normal file
5
boards/nuvoton/numaker_pfm_m487/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: numaker_pfm_m487
|
||||
vendor: Nuvoton
|
||||
socs:
|
||||
- name: m487
|
||||
@@ -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.
|
||||
|
||||
.. 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.
|
||||
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
@@ -1,4 +1,4 @@
|
||||
identifier: numaker_pfm/m487
|
||||
identifier: numaker_pfm_m487
|
||||
name: NUVOTON-PFM-M487
|
||||
type: mcu
|
||||
arch: arm
|
||||
Reference in New Issue
Block a user