Validate configuration through its owning schemas and keep board declarations separate from shared F722 resource ownership. Bound USB transitions, isolate transport failures and retain restart-only activation. Migrate navigation and flight consumers with the sensor and schema contracts. Require explicit installation data and synchronous output authority; board motor outputs remain inhibited. Validation: assembled-prefix host tests, strict Clippy, platform/USB tests and both ARM release builds. Final-source coverage and scoped Miri/Kani evidence are retained separately from hardware qualification.
16 lines
289 B
Rust
16 lines
289 B
Rust
use kaptan_config_derive::Config;
|
|
|
|
#[derive(Config)]
|
|
struct UnsupportedScalar {
|
|
#[config(id = 1, key = "wide", unit = "")]
|
|
wide: u128,
|
|
}
|
|
|
|
#[derive(Config)]
|
|
struct UnsupportedCheckedScalar {
|
|
#[config(id = 2, key = "signed", unit = "", nonzero)]
|
|
signed: i64,
|
|
}
|
|
|
|
fn main() {}
|