Conversation
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.
Collaborator
|
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? |
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 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a binary UF2 firmware image (public/micropython/firnware2040nanoxrp.uf2) containing MicroPython for the RP2040-based Nano XRP board.