MaintenanceUf2EraseSet

@Serializable
data class MaintenanceUf2EraseSet(val nrf52: Map<String, EraseImageEntry> = emptyMap(), val nrf52Bootloader: EraseImageEntry? = null, val rp2040: EraseImageEntry)(source)

Nested by architecture, then (for nRF52) by SoftDevice wire value — RP2040 has no SoftDevice concept at all, so it correctly has no sub-key, unlike the old flat {s140_6_1_1, s140_7_3_0, rp2040} shape that mixed a SoftDevice-variant axis with an architecture axis in one object.

Constructors

Link copied to clipboard
constructor(nrf52: Map<String, EraseImageEntry> = emptyMap(), nrf52Bootloader: EraseImageEntry? = null, rp2040: EraseImageEntry)

Properties

Link copied to clipboard
@SerialName(value = "nrf52")
val nrf52: Map<String, EraseImageEntry>

Keyed by SoftDeviceVariant.fromWire's own input strings, e.g. "6.1.1" / "7.3.0".

Link copied to clipboard
@SerialName(value = "nrf52Bootloader")
val nrf52Bootloader: EraseImageEntry?

The board-agnostic bootloader-driven erase image (OTAFIX tools/meshtastic_factory_erase.uf2): a single UF2 block the bootloader itself consumes when its INFO_UF2.TXT advertises Factory-Erase: UF2 family <id>. Absent from manifests that predate it, and ignored by bootloaders that do not advertise it — so it is only ever preferred over nrf52, never a replacement for it.

Link copied to clipboard
@SerialName(value = "rp2040")
val rp2040: EraseImageEntry