Skip to content

Add MicroPython UF2 firmware for 2040 Nano XRP#246

Merged
kcq888 merged 1 commit intomainfrom
JacobNanoXRP
Apr 8, 2026
Merged

Add MicroPython UF2 firmware for 2040 Nano XRP#246
kcq888 merged 1 commit intomainfrom
JacobNanoXRP

Conversation

@SaintSampo
Copy link
Copy Markdown
Collaborator

Add a binary UF2 firmware image (public/micropython/firnware2040nanoxrp.uf2) containing MicroPython for the RP2040-based Nano XRP board.

Add a binary UF2 firmware image (public/micropython/firnware2040nanoxrp.uf2) containing MicroPython for the RP2040-based Nano XRP board. This provides an easily flashable firmware artifact for users to deploy MicroPython to the device.
@kcq888
Copy link
Copy Markdown
Collaborator

kcq888 commented Apr 3, 2026

Is there a signature on the board where we can identify the board? We have logic to identify the beta and non-beta board and pick the appropriate firmware to update. I am guessing that Frank will be adding something like this?

@SaintSampo
Copy link
Copy Markdown
Collaborator Author

There are a few ways it could be done. I see in commandstoxrpmgr.ts, right now the 2040/2350 are discerned by using sys.implementation

Right now I'm working on adding support for the NanoXRP in the XRP Micropython library.

I'm doing something similar, for example:

if "NanoXRP" in implementation._machine:
    drivetrain = DifferentialDrive(left_motor, right_motor, imu, wheel_diam=3.46, wheel_track=7.8)
else:
    drivetrain = DifferentialDrive.get_default_differential_drive()

I'll leave it up to Frank what he wants the convention to be, just wanted to add the UF2 in case he needs it. He was also talking about removing the UF2 files from the IDE and pulling them right from the source.

@kcq888 kcq888 merged commit d1959cf into main Apr 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants