Skip to content

NXP backend: Building MCUXpresso example - #21140

Merged
jirioc merged 1 commit into
pytorch:mainfrom
nxp-upstream:EIEX-1006-building-mcuxpresso-example-from-oss-executorch
Sep 4, 2026
Merged

NXP backend: Building MCUXpresso example#21140
jirioc merged 1 commit into
pytorch:mainfrom
nxp-upstream:EIEX-1006-building-mcuxpresso-example-from-oss-executorch

Conversation

@jirioc

@jiriocjirioc commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

This commit enables to build and run the ExecuTorch CIFARNet application for the NXP RT700 platform using the MCUXpresso SDK and the GNU Arm Embedded Toolchain.

Test plan

The application was built and it produces valid classification result.

cc @robert-kalmar@JakeStevens@digantdesai@rascani

@pytorch-bot

pytorch-botBot commented Jul 22, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/21140

Note: Links to docs will display an error until the docs builds have been completed.

❌ 2 New Failures

As of commit b4d811f with merge base 80a07e6 (image):

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-clameta-claBot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 22, 2026
@linux-foundation-easycla

linux-foundation-easyclaBot commented Jul 22, 2026

Copy link
Copy Markdown

CLA Not Signed

@jiriocjirioc added module: nxp Issues related to NXP Neutron NPU delegation and code under backends/nxp/ release notes: nxp Changes to the NXP Neutron backend delegate and removed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Jul 22, 2026
@jirioc
jirioc marked this pull request as draft July 22, 2026 12:53
@jirioc
jiriocforce-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch from 31bf5a6 to fdceff7CompareJuly 22, 2026 13:05
@meta-clameta-claBot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 22, 2026
@jirioc
jiriocforce-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch 3 times, most recently from a94c258 to e4ec09aCompareJuly 23, 2026 08:18
@jirioc
jirioc marked this pull request as ready for review July 23, 2026 08:18
@jirioc

Copy link
Copy Markdown
CollaboratorAuthor

It was decided that the west system will be used to build the SDK. With this, the whole build process can be tested using CI.

@jirioc
jirioc marked this pull request as draft July 27, 2026 10:31
Comment threaddocs/source/backends/nxp/nxp-mcuxpresso-example.md
@jirioc
jiriocforce-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch 8 times, most recently from 6a0c3e5 to 4d37f7fCompareAugust 6, 2026 09:44
@jirioc
jiriocforce-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch 3 times, most recently from 2fef887 to bef2830CompareAugust 6, 2026 19:43
@jirioc
jiriocforce-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch from bef2830 to 2fffa09CompareAugust 7, 2026 07:44
@jirioc
jirioc marked this pull request as ready for review August 7, 2026 08:55
@jirioc
jiriocforce-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch 2 times, most recently from 83b1046 to a28e56bCompareAugust 7, 2026 10:25
Comment thread.github/workflows/pull.yml Outdated
Comment threadexamples/nxp/mcuxpresso/imxrt700/executorch_cifarnet/prepare_model.sh Outdated
Comment threadexamples/nxp/mcuxpresso/imxrt700/executorch_cifarnet/prepare_model.sh Outdated
Comment threadexamples/nxp/mcuxpresso/imxrt700/executorch_cifarnet/prepare_model.sh Outdated
Comment threadexamples/nxp/mcuxpresso/imxrt700/executorch_cifarnet/prepare_model.sh Outdated
Comment threadexamples/nxp/mcuxpresso/imxrt700/executorch_cifarnet/CMakeLists.txt Outdated
Comment threadexamples/nxp/mcuxpresso/imxrt700/executorch_cifarnet/CMakeLists.txt Outdated
Comment threadexamples/nxp/mcuxpresso/imxrt700/executorch_cifarnet/CMakeLists.txt Outdated
@jirioc
jiriocforce-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch 2 times, most recently from 4ba3da1 to fb4f8a1CompareAugust 27, 2026 09:29
@jirioc
jirioc marked this pull request as draft August 27, 2026 09:42
@jirioc
jiriocforce-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch 3 times, most recently from d329184 to 0173475CompareAugust 27, 2026 17:22
@jirioc
jirioc marked this pull request as ready for review August 27, 2026 17:22
@jirioc
jiriocforce-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch 2 times, most recently from f906792 to 38a70d5CompareAugust 28, 2026 14:21

@roman-janik-nxproman-janik-nxp left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully tested test_build_from_scratch.sh script 👍 .

Comment threaddocs/source/backends/nxp/nxp-mcuxpresso-example.md Outdated
Comment thread.github/workflows/pull.yml Outdated
@roman-janik-nxp

Copy link
Copy Markdown
Collaborator

@jirioc@robert-kalmar Have you thought about extending this example for other backends relevant for RT700, e.g Cortex-M and Cadence? Maybe the placement of these files could be outside nxp dir. The part after AoT would be the same / similar for those backends.

@jirioc
jiriocforce-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch 2 times, most recently from fa75d07 to 6753242CompareSeptember 2, 2026 12:29
Comment thread.github/workflows/pull.yml Outdated
@jirioc
jiriocforce-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch from 6753242 to b4d811fCompareSeptember 4, 2026 10:31
@jirioc
jirioc merged commit 090f5de into pytorch:mainSep 4, 2026
528 of 534 checks passed
@jirioc
jirioc deleted the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch September 4, 2026 13:53
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunkCLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.module: nxpIssues related to NXP Neutron NPU delegation and code under backends/nxp/release notes: nxpChanges to the NXP Neutron backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@jirioc@roman-janik-nxp@robert-kalmar