MaintenanceUf2Repository

The pinned nRF52/RP2040 maintenance-UF2 manifest (factory-erase and OTAFIX bootloader self-update images), seeded from a bundled asset and refreshed from resource/maintenanceUf2. Each image's own sha256 is still checked against its downloaded bytes before any write — see MaintenanceUf2.kt — this repository only caches the manifest that names those images.

Functions

Link copied to clipboard
abstract suspend fun getSnapshot(): MaintenanceUf2Manifest

Current best-known manifest: bundled seed until a fetch has landed, then that fetch.

Link copied to clipboard
abstract suspend fun reconcile()

Best-effort network refresh. Never throws; a failed or empty fetch leaves the cache untouched.