MaintenanceUf2Manifest

@Serializable
data class MaintenanceUf2Manifest(val manifestVersion: Int = 1, val otafixReleaseTag: String = "", val otafixBase: String = "", val erase: MaintenanceUf2EraseSet? = null, val otafixByBoardId: Map<String, OtafixAssetEntry> = emptyMap(), val otafixSupportedTargets: List<String> = emptyList())(source)

Pinned nRF52/RP2040 maintenance UF2 manifest — factory-erase and OTAFIX bootloader self-update images, keyed by hardware. Envelope of resource/maintenanceUf2 and the bundled maintenance_uf2.json seed asset. Each image's own sha256 is checked against its downloaded bytes before any write — see MaintenanceUf2.kt — independently of how this manifest itself is fetched.

Constructors

Link copied to clipboard
constructor(manifestVersion: Int = 1, otafixReleaseTag: String = "", otafixBase: String = "", erase: MaintenanceUf2EraseSet? = null, otafixByBoardId: Map<String, OtafixAssetEntry> = emptyMap(), otafixSupportedTargets: List<String> = emptyList())

Properties

Link copied to clipboard
@SerialName(value = "erase")
val erase: MaintenanceUf2EraseSet?
Link copied to clipboard
@SerialName(value = "manifestVersion")
val manifestVersion: Int
Link copied to clipboard
@SerialName(value = "otafixBase")
val otafixBase: String
Link copied to clipboard
@SerialName(value = "otafixByBoardId")
val otafixByBoardId: Map<String, OtafixAssetEntry>
Link copied to clipboard
@SerialName(value = "otafixReleaseTag")
val otafixReleaseTag: String
Link copied to clipboard
@SerialName(value = "otafixSupportedTargets")
val otafixSupportedTargets: List<String>