Macro microbit::entry []

macro_rules! entry {
    ( $ path : path ) => { ... };

Macro to define the entry point of the program

NOTE This macro must be invoked once and must be invoked from an accessible module, ideally from the root of the crate.

Usage: entry!(path::to::entry::point)

The specified function will be called by the reset handler after RAM has been initialized. In the case of the thumbv7em-none-eabihf target the FPU will also be enabled before the function is called.

The signature of the specified function must be fn() -> ! (never ending function)