Skip to content
Snippets Groups Projects
Select Git revision
  • 97f915164594c3e88340b2c5c94541e544a4e7ad
  • master default
2 results

crash.rs

Blame
  • Forked from Per Lindgren / e7020e_2020
    Source project has a limited visibility.
    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();
            }
        }
    };