Skip to content
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

Integrating flashloader into MicroPython (RP2) #14404

Open
4 of 5 tasks
cfpwastaken opened this issue May 1, 2024 · 0 comments
Open
4 of 5 tasks

Integrating flashloader into MicroPython (RP2) #14404

cfpwastaken opened this issue May 1, 2024 · 0 comments

Comments

@cfpwastaken
Copy link

Checks

  • I agree to follow the MicroPython Code of Conduct to ensure a safe and respectful space for everyone.

  • I've searched for existing issues regarding this feature, and didn't find any.

Description

ESP32 users have "Partitions" and can do easy OTA updates in pure micropython code.
For RP2040 boards, there should be something similar, like adding flashloader as a second-stage bootloader and some functions exposing the API to python.
I found this discussion about OTA on RP2 ports.

I have marked both "I intend to implement this" and "I hope the MP maintainers or community will implement this" as I am willing to do it, but sadly do not have the capabilities to do this on my own. I have tried implementing it myself, but it does not compile. I can share my progress if needed.

Code Size

I'd definitely say it should be a toggle in the compiler options, but code size-wise, the bootloader only takes up 4kB, and i think it replaces the already existing boot2 bootloader, meaning that can't count towards the total size.

Implementation

  • I intend to implement this feature and would submit a Pull Request if desirable.
  • I hope the MicroPython maintainers or community will implement this feature.
  • I would like to Sponsor development of this feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant