[]Attribute Macro avr_device::entry

#[entry]

Attribute to declare the entry point of the program

Exactly one entry point must be declared in the entire dependency tree.

#[avr_device::entry]
fn main() -> ! {
    // ...
}

The entry function must have a signature of [unsafe] fn() -> !.