Skip to main content

NROS_BOOT_CONFIG_VERSION

Constant NROS_BOOT_CONFIG_VERSION 

Source
pub const NROS_BOOT_CONFIG_VERSION: u16 = 2; // 2u16
Expand description

Layout version — lets the resolver reject a mismatched baked struct.

2 since rmw (bit 4) was appended. The bump is what the field is for: a reader compiled against v1 rejects a v2 struct rather than reading 32 bytes of rmw as whatever followed namespace in its own layout.