UsbFileSaveStep

Which leg of a multi-pass USB/UF2 sequence a file-save prompt belongs to.

Also the recomposition key for the instruction dialog in AwaitingFileSaveState. Every sequence shipped today is (FactoryErase | BootloaderUpgrade) → Firmware, so the key always changes between passes; a future sequence with two consecutive identical steps would need a pass index added here.

Entries

Link copied to clipboard

The release firmware image — the only pass in a plain update, and the last pass of every maintenance sequence.

Link copied to clipboard

The factory-erase image, which wipes the internal filesystem and re-enters UF2 DFU.

Link copied to clipboard

An OTAFIX bootloader self-update image.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard

True when writing this image destroys the device's application, making the next pass mandatory rather than optional. Drives back-navigation gating and the "no abort edge" retry behaviour.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.