retrieveUsbFirmware

suspend fun retrieveUsbFirmware(release: FirmwareRelease, hardware: DeviceHardware, onProgress: (Float) -> Unit): FirmwareArtifact?(source)

Download the UF2 firmware binary for a USB Mass Storage update (nRF52 / RP2040).

Return

The downloaded .uf2 FirmwareArtifact, or null if the file could not be resolved.