Select Git revision
rtic_hello.rs
Per Lindgren authored
rtic_hello.rs 310 B
#![no_main]
#![no_std]
use cortex_m_semihosting::hprintln;
use panic_halt as _;
use stm32f4;
#[rtic::app(device = stm32f4)]
const APP: () = {
#[init]
fn init(_cx: init::Context) {
for a in 0..11 {
hprintln!("RTIC Says Hello, to all students!! {}", a).unwrap();
}
}
};