Skip to content
Snippets Groups Projects
Select Git revision
  • 6196b9f10fdc3d10853980ed18af0baf173b6719
  • master default protected
2 results

rtic_bare8.rs

Blame
  • Forked from Per Lindgren / e7020e_2021
    Source project has a limited visibility.
    hello.rs 265 B
    //! Prints "Hello, world!" on the host console using semihosting
    
    #![no_main]
    #![no_std]
    
    use panic_halt as _;
    
    use cortex_m_rt::entry;
    use cortex_m_semihosting::{debug, hprintln};
    
    #[entry]
    fn main() -> ! {
        hprintln!("Hello, world!!").unwrap();
    
        loop {}
    }