cortex-m-rt 0.6.14

Minimal runtime / startup for Cortex-M microcontrollers
Documentation
#![no_main]
#![no_std]

extern crate cortex_m_rt;
extern crate panic_halt;

use cortex_m_rt::entry;

#[entry]
fn foo() -> ! {
    loop {}
}

#[entry] //~ ERROR symbol `main` is already defined
fn bar() -> ! {
    loop {}
}