SoftDeviceVariant
The Nordic SoftDevice an nRF52840 board's firmware is linked against. Static hardware fact, derived from the board's build.arduino.ldscript in meshtastic/firmware (nrf52840_s140_v6.ld / _v7.ld).
Load-bearing for factory erase: the erase images are linked for a specific application start address (0x26000 for 6.1.1, 0x27000 for 7.3.0) and the UF2 bootloader's write guard begins at MBR_SIZE (0x1000), so the SoftDevice region is writable. Flashing the 6.1.1 image to a 7.3.0 device erases the SoftDevice's last page, which needs SWD or serial DFU to recover. Never infer this value — an unresolved variant must refuse the operation.
Entries
Properties
Functions
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.)
Returns an array containing the constants of this enum type, in the order they're declared.