-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read flash drive from .uf2 bi_decl
region
#3
Comments
🤔 Not in Python. There's some code in DERP, but that unpacks the whole thing first. Should be another parser in the blit discord bot, but I think that's JavaScript. |
Close enough (edit: Thank you, sheesh I'd forget my own head if it weren't screwed on), I'll figure it out when I find a moment to try this 😆 |
Oh, this is the bot's code (might help as I don't think I released the code anywhere): https://gist.github.com/Daft-Freak/63e2f3ff052ba89a0de239c66671617 Attempts to parse UF2 as it goes. Still only handles string tags though. |
Fixed in #7 |
As mentioned here - micropython/micropython#12357 - it occurred to me that we could probably read the flash offsets from the .uf2 file rather than hard-coding them into the CI.
@Daft-Freak I don't suppose you had Python code somewhere to delve into Pico
bi_decl
stuff?The text was updated successfully, but these errors were encountered: