diff --git a/Cargo.toml b/Cargo.toml index b8b44a74c9c9b041410584e11092041e88e7f244..3a3532ef17d3fc7c78563661fc58d8b80f2c5aeb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ nb = "0.1.2" [dependencies.cortex-m] version = "0.6.2" -# features = ["inline-asm"] # <- currently requires nightly compiler + features = ["inline-asm"] # <- currently requires nightly compiler [dependencies.cortex-m-rt] version = "0.6.12" diff --git a/examples/bare1.rs b/examples/bare1.rs index acd55f503ad2c9baaaf2fe255cd237a4d67b363e..deaf9002e8e4601b6daf4f461a3642cedd934c2f 100644 --- a/examples/bare1.rs +++ b/examples/bare1.rs @@ -59,11 +59,15 @@ fn main() -> ! { // What happens when you continue (second iteration of the loop)? // // ** your answer here ** +// Alot of items are added to the call stack of the program // // What is the `ITM` output. // // ** your answer here ** -// +// Program +// recieved signal SIGTRAP, Trace/breakpoint trap. +// bare1::cortex_m_rt_main () at examples/bare1.rs:22 +// 22 cortex_m::asm::bkpt() // Commit your answer (bare1_1) // // 2. Inspecting the generated assembly code.