adafruit / adafruit/tinyuf2

Like CURRENT.UF2, could there be EVERYTHING.UF2 w/ entire flash filesystem? (code.py,libs,etc)

Open
#117 15 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
471
Forks
248
PR merge metrics
No merged PRs in 30d

Description

A Discord discussion led me to want the ability to have something like `CURRENT.UF2`, but contained both the current version of CircuitPython and the contents of the CP filesystem (`code.py`, `lib`, etc)

Would it even be possible for this hypothetical `EVERYTHING.UF2` virtual file to be created? I know this is outside of the purview of the bootloader, but if the bootloader takes an entire snapshot of all known flashes and restores them, would it work?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the bootloader creates and restores CURRENT.UF2, then examine how all known flashes and the CircuitPython filesystem contents such as code.py and lib would fit into that flow. Done would require a documented feasibility decision and an agreed scope for an EVERYTHING.UF2 snapshot and restore design.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, python
Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.