Skip to content

Supports hal_nxp of MCUX SDK 25.06.00 #93306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions boards/nxp/frdm_mcxa166/Kconfig.frdm_mcxa166

This file was deleted.

6 changes: 0 additions & 6 deletions boards/nxp/frdm_mcxa166/board.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright 2025 NXP
# SPDX-License-Identifier: Apache-2.0

config BOARD_FRDM_MCXA166
config BOARD_FRDM_MCXA266
select BOARD_EARLY_INIT_HOOK
6 changes: 6 additions & 0 deletions boards/nxp/frdm_mcxa266/Kconfig.frdm_mcxa266
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2025 NXP
# SPDX-License-Identifier: Apache-2.0

config BOARD_FRDM_MCXA266
select SOC_MCXA266
select SOC_PART_NUMBER_MCXA266VLQ
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
# SPDX-License-Identifier: Apache-2.0
#

board_runner_args(jlink "--device=MCXA276")
board_runner_args(linkserver "--device=MCXA276:FRDM-MCXA276")
board_runner_args(pyocd "--target=mcxA276")
board_runner_args(jlink "--device=MCXA266")
board_runner_args(linkserver "--device=MCXA266:FRDM-MCXA266")
board_runner_args(pyocd "--target=mcxa266")

include(${ZEPHYR_BASE}/boards/common/linkserver.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
Expand Down
6 changes: 6 additions & 0 deletions boards/nxp/frdm_mcxa266/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
board:
name: frdm_mcxa266
full_name: FRDM-MCXA266
vendor: nxp
socs:
- name: mcxa266
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.. zephyr:board:: frdm_mcxa276
.. zephyr:board:: frdm_mcxa266
Overview
********

FRDM-MCXA276 are compact and scalable development boards for rapid prototyping of
FRDM-MCXA266 are compact and scalable development boards for rapid prototyping of
MCX A27X MCUs. They offer industry standard headers for easy access to the MCUs I/Os,
integrated open-standard serial interfaces and an on-board MCU-Link debugger.
MCX A Series are high-performance, low-power microcontrollers with MAU,SmartDMA and performance efficiency.
Expand All @@ -18,15 +18,15 @@ Hardware
- On-board MCU-Link debugger with CMSIS-DAP
- Arduino Header, SmartDMA/Camera Header, mikroBUS

For more information about the MCX-A276 SoC and FRDM-MCXA276 board, see:
For more information about the MCX-A276 SoC and FRDM-MCXA266 board, see:

- `MCX-A276 SoC Website`_
- `MCX-A276 Datasheet`_
- `MCX-A276 Reference Manual`_
- `FRDM-MCXA276 Website`_
- `FRDM-MCXA276 User Guide`_
- `FRDM-MCXA276 Board User Manual`_
- `FRDM-MCXA276 Schematics`_
- `FRDM-MCXA266 Website`_
- `FRDM-MCXA266 User Guide`_
- `FRDM-MCXA266 Board User Manual`_
- `FRDM-MCXA266 Schematics`_

Supported Features
==================
Expand Down Expand Up @@ -56,7 +56,7 @@ the system clock.
Serial Port
===========

The FRDM-MCXA276 SoC has 6 LPUART interfaces for serial communication.
The FRDM-MCXA266 SoC has 6 LPUART interfaces for serial communication.
LPUART 2 is configured as UART for the console.

Programming and Debugging
Expand Down Expand Up @@ -121,7 +121,7 @@ Here is an example for the :zephyr:code-sample:`hello_world` application.

.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: frdm_mcxa276
:board: frdm_mcxa266
:goals: flash

Open a serial terminal, reset the board (press the RESET button), and you should
Expand All @@ -130,7 +130,7 @@ see the following message in the terminal:
.. code-block:: console
*** Booting Zephyr OS build v3.6.0-4478-ge6c3a42f5f52 ***
Hello World! frdm_mcxa276/mcxa276
Hello World! frdm_mcxa266/mcxa266
Debugging
=========
Expand All @@ -139,7 +139,7 @@ Here is an example for the :zephyr:code-sample:`hello_world` application.

.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: frdm_mcxa276/mcxa276
:board: frdm_mcxa266/mcxa266
:goals: debug

Open a serial terminal, step through the application in your debugger, and you
Expand All @@ -148,7 +148,7 @@ should see the following message in the terminal:
.. code-block:: console
*** Booting Zephyr OS build v3.6.0-4478-ge6c3a42f5f52 ***
Hello World! frdm_mcxa276/mcxa276
Hello World! frdm_mcxa266/mcxa266
Troubleshooting
===============
Expand All @@ -168,14 +168,14 @@ Troubleshooting
.. _MCX-A276 Reference Manual:
https://www.nxp.com/webapp/Download?colCode=MCXAP100M96FS6RM

.. _FRDM-MCXA276 Website:
https://www.nxp.com/design/design-center/development-boards-and-designs/general-purpose-mcus/frdm-development-board-for-mcx-a144-5-6-a154-5-6-mcus:FRDM-MCXA276
.. _FRDM-MCXA266 Website:
https://www.nxp.com/design/design-center/development-boards-and-designs/general-purpose-mcus/frdm-development-board-for-mcx-a144-5-6-a154-5-6-mcus:FRDM-MCXA266

.. _FRDM-MCXA276 User Guide:
https://www.nxp.com/document/guide/getting-started-with-frdm-mcxa276:GS-FRDM-MCXA276
.. _FRDM-MCXA266 User Guide:
https://www.nxp.com/document/guide/getting-started-with-frdm-mcxa266:GS-FRDM-MCXA266

.. _FRDM-MCXA276 Board User Manual:
.. _FRDM-MCXA266 Board User Manual:
https://www.nxp.com/docs/en/user-manual/UM12121.pdf

.. _FRDM-MCXA276 Schematics:
.. _FRDM-MCXA266 Schematics:
https://www.nxp.com/webapp/Download?colCode=SPF-90841
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/


#include <nxp/mcx/MCXA276VLQ-pinctrl.h>
#include <nxp/mcx/MCXA266VLQ-pinctrl.h>

&pinctrl {
pinmux_lpuart2: pinmux_lpuart2 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

/dts-v1/;

#include <nxp/nxp_mcxa276.dtsi>
#include "frdm_mcxa276-pinctrl.dtsi"
#include <nxp/nxp_mcxa266.dtsi>
#include "frdm_mcxa266-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <freq.h>

/ {
model = "NXP FRDM_MCXA276 board";
compatible = "nxp,mcxa276", "nxp,mcx";
model = "NXP FRDM_MCXA266 board";
compatible = "nxp,mcxa266", "nxp,mcx";

aliases{
led0 = &red_led;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# SPDX-License-Identifier: Apache-2.0
#

identifier: frdm_mcxa276
name: NXP FRDM MCXA276
identifier: frdm_mcxa266
name: NXP FRDM MCXA266
type: mcu
arch: arm
ram: 240
Expand Down
6 changes: 0 additions & 6 deletions boards/nxp/frdm_mcxa276/Kconfig.frdm_mcxa276

This file was deleted.

6 changes: 0 additions & 6 deletions boards/nxp/frdm_mcxa276/board.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright 2025 NXP
# SPDX-License-Identifier: Apache-2.0

config BOARD_FRDM_MCXA276
config BOARD_FRDM_MCXA346
select BOARD_EARLY_INIT_HOOK
6 changes: 6 additions & 0 deletions boards/nxp/frdm_mcxa346/Kconfig.frdm_mcxa346
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2025 NXP
# SPDX-License-Identifier: Apache-2.0

config BOARD_FRDM_MCXA346
select SOC_MCXA346
select SOC_PART_NUMBER_MCXA346VLQ
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
# SPDX-License-Identifier: Apache-2.0
#

board_runner_args(jlink "--device=MCXA166")
board_runner_args(linkserver "--device=MCXA166:FRDM-MCXA166")
board_runner_args(pyocd "--target=mcxA166")
board_runner_args(jlink "--device=MCXA346")
board_runner_args(linkserver "--device=MCXA346:FRDM-MCXA346")
board_runner_args(pyocd "--target=MCXA346")

include(${ZEPHYR_BASE}/boards/common/linkserver.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
Expand Down
6 changes: 6 additions & 0 deletions boards/nxp/frdm_mcxa346/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
board:
name: frdm_mcxa346
full_name: FRDM-MCXA346
vendor: nxp
socs:
- name: mcxa346
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
.. zephyr:board:: frdm_mcxa166
.. zephyr:board:: frdm_mcxa346

Overview
********

FRDM-MCXA166 are compact and scalable development boards for rapid prototyping of
FRDM-MCXA346 are compact and scalable development boards for rapid prototyping of
MCX A16X MCUs. They offer industry standard headers for easy access to the MCUs I/Os,
integrated open-standard serial interfaces and an on-board MCU-Link debugger.
MCX A Series are high-performance, low-power microcontrollers with MAU,SmartDMA and performance efficiency.

Hardware
********

- MCX-A166 Arm Cortex-M33 microcontroller running at 180 MHz
- MCX-A346 Arm Cortex-M33 microcontroller running at 180 MHz
- 1MB dual-bank on chip Flash
- 256 KB RAM
- 1x FlexCAN with FD, 1x RGB LED, 3x SW buttons
- On-board MCU-Link debugger with CMSIS-DAP
- Arduino Header, SmartDMA/Camera Header, mikroBUS

For more information about the MCX-A166 SoC and FRDM-MCXA166 board, see:
For more information about the MCX-A346 SoC and FRDM-MCXA346 board, see:

- `MCX-A166 SoC Website`_
- `MCX-A166 Datasheet`_
- `MCX-A166 Reference Manual`_
- `FRDM-MCXA166 Website`_
- `FRDM-MCXA166 User Guide`_
- `FRDM-MCXA166 Board User Manual`_
- `FRDM-MCXA166 Schematics`_
- `MCX-A346 SoC Website`_
- `MCX-A346 Datasheet`_
- `MCX-A346 Reference Manual`_
- `FRDM-MCXA346 Website`_
- `FRDM-MCXA346 User Guide`_
- `FRDM-MCXA346 Board User Manual`_
- `FRDM-MCXA346 Schematics`_

Supported Features
==================
Expand All @@ -36,7 +36,7 @@ Supported Features
Connections and IOs
===================

The MCX-A166 SoC has 6 gpio controllers and has pinmux registers which
The MCX-A346 SoC has 6 gpio controllers and has pinmux registers which
can be used to configure the functionality of a pin.

+------------+-----------------+----------------------------+
Expand All @@ -50,13 +50,13 @@ can be used to configure the functionality of a pin.
System Clock
============

The MCX-A166 SoC is configured to use FRO running at 180MHz as a source for
The MCX-A346 SoC is configured to use FRO running at 180MHz as a source for
the system clock.

Serial Port
===========

The FRDM-MCXA166 SoC has 6 LPUART interfaces for serial communication.
The FRDM-MCXA346 SoC has 6 LPUART interfaces for serial communication.
LPUART 2 is configured as UART for the console.

Programming and Debugging
Expand Down Expand Up @@ -118,7 +118,7 @@ Here is an example for the :zephyr:code-sample:`hello_world` application.

.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: frdm_mcxa166
:board: frdm_mcxa346
:goals: flash

Open a serial terminal, reset the board (press the RESET button), and you should
Expand All @@ -127,7 +127,7 @@ see the following message in the terminal:
.. code-block:: console

*** Booting Zephyr OS build v3.6.0-4478-ge6c3a42f5f52 ***
Hello World! frdm_mcxa166/mcxa166
Hello World! frdm_mcxa346/mcxa346

Debugging
=========
Expand All @@ -136,7 +136,7 @@ Here is an example for the :zephyr:code-sample:`hello_world` application.

.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: frdm_mcxa166/mcxa166
:board: frdm_mcxa346/mcxa346
:goals: debug

Open a serial terminal, step through the application in your debugger, and you
Expand All @@ -145,7 +145,7 @@ should see the following message in the terminal:
.. code-block:: console

*** Booting Zephyr OS build v3.6.0-4478-ge6c3a42f5f52 ***
Hello World! frdm_mcxa166/mcxa166
Hello World! frdm_mcxa346/mcxa346

Troubleshooting
===============
Expand All @@ -156,23 +156,23 @@ Troubleshooting
.. include:: ../../common/board-footer.rst
:start-after: nxp-board-footer

.. _MCX-A166 SoC Website:
.. _MCX-A346 SoC Website:
https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/mcx-arm-cortex-m/mcx-a-series-microcontrollers/mcx-a13x-14x-15x-mcus-with-arm-cortex-m33-scalable-device-options-low-power-and-intelligent-peripherals:MCX-A13X-A14X-A15X

.. _MCX-A166 Datasheet:
.. _MCX-A346 Datasheet:
https://www.nxp.com/docs/en/data-sheet/MCXAP100M96FS6.pdf

.. _MCX-A166 Reference Manual:
.. _MCX-A346 Reference Manual:
https://www.nxp.com/webapp/Download?colCode=MCXAP100M96FS6RM

.. _FRDM-MCXA166 Website:
https://www.nxp.com/design/design-center/development-boards-and-designs/general-purpose-mcus/frdm-development-board-for-mcx-a144-5-6-a154-5-6-mcus:FRDM-MCXA166
.. _FRDM-MCXA346 Website:
https://www.nxp.com/design/design-center/development-boards-and-designs/general-purpose-mcus/frdm-development-board-for-mcx-a144-5-6-a154-5-6-mcus:FRDM-MCXA346

.. _FRDM-MCXA166 User Guide:
https://www.nxp.com/document/guide/getting-started-with-frdm-mcxa166:GS-FRDM-MCXA166
.. _FRDM-MCXA346 User Guide:
https://www.nxp.com/document/guide/getting-started-with-frdm-mcxa346:GS-FRDM-MCXA346

.. _FRDM-MCXA166 Board User Manual:
.. _FRDM-MCXA346 Board User Manual:
https://www.nxp.com/docs/en/user-manual/UM12121.pdf

.. _FRDM-MCXA166 Schematics:
.. _FRDM-MCXA346 Schematics:
https://www.nxp.com/webapp/Download?colCode=SPF-90841
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/


#include <nxp/mcx/MCXA166VLQ-pinctrl.h>
#include <nxp/mcx/MCXA346VLQ-pinctrl.h>

&pinctrl {
pinmux_lpuart2: pinmux_lpuart2 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

/dts-v1/;

#include <nxp/nxp_mcxa166.dtsi>
#include "frdm_mcxa166-pinctrl.dtsi"
#include <nxp/nxp_mcxa346.dtsi>
#include "frdm_mcxa346-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>

/ {
model = "NXP FRDM_MCXA166 board";
compatible = "nxp,mcxa166", "nxp,mcx";
model = "NXP FRDM_MCXA346 board";
compatible = "nxp,mcxa346", "nxp,mcx";

aliases{
led0 = &red_led;
Expand Down
Loading
Loading