Macro riot_wrappers::riot_main[][src]

macro_rules! riot_main {
    ($main : ident) => { ... };
}
Expand description

To have a nice Rust main function, run the riot_main! macro with the name of your main function an item (ie. top level in a module) in your crate. The function identified by it must return something that implements the Termination trait.

Example:

riot_main!(main);

fn main() {
    unimplemented!()
}