Conversation
… from firmware.h rename program_rp2040_uf2.ino to program_rp2_from_sdcard.ino change include SdFat.h to SdFat_Adafruit_Fork.h
hathach
commented
Mar 7, 2025
| // firmware.h is converted using tools/file2carray.py e.g | ||
| // python tools/file2carray.py cdc_msc.uf2 | ||
| // above command will generate cdc_msc.uf2.h with bindata, bindata_len | ||
| #include "metro_rp2350_cdc_msc.uf2.h" |
Member
Author
There was a problem hiding this comment.
@ladyada you can use this new sketch to program rp2350, this use firmware header, which drop the need for SDcard (less thing to worry about). To generate header firmware from uf2 file. Please run tools/file2carray.py
python tools/file2carray.py cdc_msc.uf2
Member
|
thank you! glad it was not me :D |
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.
@ladyada due to an issue with
better_timeoutsPR sekigon-gonnoc/Pico-PIO-USB#164 rp2040 couldn't work with rp2350 device. While waiting for troubleshooting, you can use this PR for pio-usb instead sekigon-gonnoc/Pico-PIO-USB#159. You also need to update TinyUSB Arrduino to latest as well adafruit/Adafruit_TinyUSB_Arduino#498