Skip to content
Snippets Groups Projects
Select Git revision
  • 12923ac4ba56da9abd510aee850bf2323f430114
  • master default protected
  • home-exam
  • lab-cargo_klee_examples
  • lab-get_sign.c
  • lab-get_sign.rs
  • v1.0
7 results

CHANGELOG.md

Blame
  • Forked from Per Lindgren / klee_tutorial
    Source project has a limited visibility.
    To find the state of this project's repository at the time of any of these versions, check out the tags.
    main.rs 563 B
    #![no_std]
    #![no_main]
    
    // pick a panicking behavior
    use panic_halt as _; // you can put a breakpoint on `rust_begin_unwind` to catch panics
    // use panic_abort as _; // requires nightly
    // use panic_itm as _; // logs messages over ITM; requires ITM support
    // use panic_semihosting as _; // logs messages to the host stderr; requires a debugger
    
    use cortex_m::asm;
    use cortex_m_rt::entry;
    
    #[entry]
    fn main() -> ! {
        asm::nop(); // To not have main optimize to abort in release mode, remove when you add code
    
        loop {
            // your code goes here
        }
    }