Skip to content

Renamed bootloader build A153 to A13X - #79

Open
Youri-NXP wants to merge 2 commits into
am32-firmware:masterfrom
NXP-Robotics:rename
Open

Youri-NXP wants to merge 2 commits into
am32-firmware:masterfrom
NXP-Robotics:rename

Conversation

@Youri-NXP

Copy link
Copy Markdown
Contributor
  • Renamed all files and mentions of MCXA153 with MCXA13X.
  • Removed PC6 bootloader pin for A13X bootloader build as it's not compatible.
  • MCXA13X is not supported by openODC. Therefore openOCD.cfg file is removed in MCXA13X folder and build guard in makefile scripts is added.

Tested and verified on MR-ESC-AM32 hardware.

@Youri-NXP

Copy link
Copy Markdown
Contributor Author

@tridge @AlkaMotors Can you please review? Thanks!

@AP-Review

AP-Review commented Nov 30, 2026 •

Copy link
Copy Markdown

Deprecated — see below for the updated review.

Previous review (2026-11-30)

Automated review note — AI-generated (Claude+Codex), validated against the live diff. Please sanity-check before acting.
Verdict: REQUEST CHANGES

Reviewed at head a33b96ca55.
Full report: https://firmware.ardupilot.org/Tools/APReview/DevCallReviews/PRReviews/am32-firmware/am32-bootloader/79/1.html#prAM32-bootloader-79

This rename leaves the bootloader and updater binaries byte-identical to the A153 build, but it changes the updater package's MCU type in a way the current configurator rejects.

Blocking

  1. bl_update/make_amj.py:70: updater .amj mcuType changes from A153 to A13X (also line 34). am32-configurator only knows A153 and needs an exact match with the ESC's FILE_NAME family (AM32 still ships FRDM_A153), so it would refuse every bootloader update for existing NXP ESCs. It fails safe, but keep A153 as the amj mcuType or land an A13X/A153 alias in the configurator first.

Should fix

  • Merge conflict: master (bc08c17, G051 variants) conflicts in Makefile, bl_update/make_amj.py and make/parse_targets.py; rebase and add A13X alongside the new G051 entries.
  • Mcu/a13x/MCXA133.xml:1: byte-identical duplicate of MCXA133.svd and unused (the Makefile only copies *.svd); drop it.
Minor (1)
  • a13xmakefile.mk:36: PC6 is dropped from the default comms pins, so releases no longer include a PC6 bootloader or updater. Please confirm no PC6 hardware exists, or keep PB2 PC6.

Not fully reviewed: hardware behaviour on MCXA133/MCXA153/MCXA132 (no board tests), and configurator/AM32 revisions newer than the local references.

- Renamed all files and mentions of MCXA153 with MCXA13X.
- Removed PC6 bootloader pin for A13X bootloader build.

Tested and verified on MR-ESC-AM32 hardware.

Signed-off-by: Youri Tils <youri.tils@nxp.com>
MCXA13X is not supported by openODC.
Therefore openOCD.cfg file is removed in MCXA13X folder and build guard in makefile scripts is added.

Signed-off-by: Youri Tils <youri.tils@nxp.com>
@Youri-NXP

Copy link
Copy Markdown
Contributor Author

@tridge @AlkaMotors Thanks for reviewing. I did a rebase and removed MCXA133.xml.
PC6 is dropped as its not used by any available hardware. Also this pin can never do BDshot with the current driver.
The AM32 online configurator should also be updated to accept the A13X name change.
Thank you.

@AP-Review

Copy link
Copy Markdown

Automated review note — AI-generated (Claude+Codex), validated against the live diff. Please sanity-check before acting.
Verdict: REQUEST CHANGES

Reviewed at head bc160ff732.
Full report: https://firmware.ardupilot.org/Tools/APReview/DevCallReviews/PRReviews/am32-firmware/am32-bootloader/79/3.html#prAM32-bootloader-79

Rebased onto master; the bootloader and updater binaries are still byte-identical to the A153 build, but the updater package's MCU type is still a blocker.
Since the previous review (a33b96c) the merge conflict is resolved, the duplicate MCXA133.xml is removed, and the PC6 removal is confirmed as intentional.

Blocking

  1. bl_update/make_amj.py:71: updater amj mcuType A13X (still open). am32-configurator master (e11c42e) has no A13X family and needs an exact match with the ESC's FILE_NAME. ESCs running current AM32 (FRDM_A153) get "Invalid MCU type in amj file", and A13X-named ESCs from AM32 PR #476 get "Cannot tell the MCU type". Both refusals happen before flashing. Either keep emitting A153 here (also line 35), or land configurator support first: A13X added and A153 accepted as an alias.

Not fully reviewed: behaviour on MCXA133/MCXA153/MCXA132 hardware (no board tests), and configurator or AM32 changes newer than am32-configurator e11c42e and AM32 c8473b8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants