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

@jirioc jirioc 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-bot Bot 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-cla meta-cla Bot 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-easycla Bot commented Jul 22, 2026

Copy link
Copy Markdown

CLA Not Signed

@jirioc jirioc 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
jirioc force-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch from 31bf5a6 to fdceff7 Compare July 22, 2026 13:05
@meta-cla meta-cla Bot 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
jirioc force-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch 3 times, most recently from a94c258 to e4ec09a Compare July 23, 2026 08:18
@jirioc
jirioc marked this pull request as ready for review July 23, 2026 08:18
@jirioc
jirioc requested a review from MartinPavella July 23, 2026 08:36
@jirioc

jirioc commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator Author

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 thread docs/source/backends/nxp/nxp-mcuxpresso-example.md
@jirioc
jirioc force-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch 8 times, most recently from 6a0c3e5 to 4d37f7f Compare August 6, 2026 09:44
@jirioc
jirioc force-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch 3 times, most recently from 2fef887 to bef2830 Compare August 6, 2026 19:43
@jirioc
jirioc force-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch from bef2830 to 2fffa09 Compare August 7, 2026 07:44
@jirioc
jirioc marked this pull request as ready for review August 7, 2026 08:55
@jirioc
jirioc force-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch 2 times, most recently from 83b1046 to a28e56b Compare August 7, 2026 10:25
Comment thread .github/workflows/pull.yml Outdated
Comment thread examples/nxp/mcuxpresso/imxrt700/executorch_cifarnet/prepare_model.sh Outdated
Comment thread examples/nxp/mcuxpresso/imxrt700/executorch_cifarnet/prepare_model.sh Outdated
Comment thread examples/nxp/mcuxpresso/imxrt700/executorch_cifarnet/prepare_model.sh Outdated
Comment thread examples/nxp/mcuxpresso/imxrt700/executorch_cifarnet/prepare_model.sh Outdated
Comment thread examples/nxp/mcuxpresso/imxrt700/executorch_cifarnet/test_build_from_scratch.sh Outdated
Comment thread examples/nxp/mcuxpresso/imxrt700/executorch_cifarnet/CMakeLists.txt Outdated
Comment thread examples/nxp/mcuxpresso/imxrt700/executorch_cifarnet/CMakeLists.txt Outdated
Comment thread examples/nxp/mcuxpresso/imxrt700/executorch_cifarnet/CMakeLists.txt Outdated
Comment thread examples/nxp/mcuxpresso/imxrt700/executorch_cifarnet/test_build_from_scratch.sh Outdated
@jirioc
jirioc force-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch 2 times, most recently from 4ba3da1 to fb4f8a1 Compare August 27, 2026 09:29
@jirioc
jirioc marked this pull request as draft August 27, 2026 09:42
@jirioc
jirioc force-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch 3 times, most recently from d329184 to 0173475 Compare August 27, 2026 17:22
@jirioc
jirioc marked this pull request as ready for review August 27, 2026 17:22
@jirioc
jirioc force-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch 2 times, most recently from f906792 to 38a70d5 Compare August 28, 2026 14:21

@roman-janik-nxp roman-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 thread docs/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
jirioc force-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch 2 times, most recently from fa75d07 to 6753242 Compare September 2, 2026 12:29
Comment thread .github/workflows/pull.yml Outdated
@jirioc
jirioc force-pushed the EIEX-1006-building-mcuxpresso-example-from-oss-executorch branch from 6753242 to b4d811f Compare September 4, 2026 10:31
@jirioc
jirioc merged commit 090f5de into pytorch:main Sep 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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants