norbert 0.1.2

A patient SPI-NOR flasher for the Pico de Gallo: read JEDEC/SFDP, erase, program, verify, and boot bitstreams.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![deny(clippy::print_stdout, clippy::print_stderr)]
//! Norbert binary entry point.
//!
//! All logic lives in the `norbert` library; this shim only starts the async
//! runtime and forwards to [`norbert::run`].

use std::process::ExitCode;

// multi_thread is REQUIRED: the HAL bridges blocking GPIO/SPI-config calls via
// tokio::task::block_in_place, which panics on a current-thread runtime.
#[tokio::main(flavor = "multi_thread")]
async fn main() -> ExitCode {
    norbert::run().await
}