boards: arm: numaker_pfm_m467: 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 09:13:34 +00:00
parent 3b0bd70c8c
commit 5bae4a6480
12 changed files with 17 additions and 7 deletions

View File

@@ -5,5 +5,4 @@
# Copyright (c) 2023 Nuvoton Technology Corporation.
config BOARD_NUMAKER_PFM_M467
bool "NUVOTON PFM M467 Development Board"
depends on SOC_M467
select SOC_FLASH_NUMAKER

View File

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

View File

@@ -0,0 +1,5 @@
board:
name: numaker_pfm
vendor: Nuvoton
socs:
- name: m467

View File

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

View File

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 77 KiB

View File

@@ -1,7 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_M46X=y
CONFIG_SOC_M467=y
CONFIG_PINCTRL=y
CONFIG_GPIO=y
@@ -23,4 +21,3 @@ CONFIG_UART_CONSOLE=y
# Enable FMC
CONFIG_FLASH=y
CONFIG_SOC_FLASH_NUMAKER=y