Skip to content

Instantly share code, notes, and snippets.

@Yatekii
Created July 11, 2020 22:33
Show Gist options
  • Save Yatekii/cc3dbee723123619035c1ce17f561e4f to your computer and use it in GitHub Desktop.
Save Yatekii/cc3dbee723123619035c1ce17f561e4f to your computer and use it in GitHub Desktop.
#![no_std]
#![no_main]
//use panic_halt as _;
use panic_rtt_target as _;
use rtt_target::rprintln;
use rtt_target::rtt_init_default;
#[cortex_m_rt::entry]
fn main() -> ! {
rtt_init_default!();
loop {
rprintln!("Hello, world!");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment