From 618f9e5088f5ae1d936109ff396e98ad996aedd3 Mon Sep 17 00:00:00 2001 From: DevDoggo <devdoggo@protonmail.com> Date: Fri, 18 May 2018 21:34:44 +0200 Subject: [PATCH] Done --- examples/bare1.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/bare1.rs b/examples/bare1.rs index 549ad56..f4632f8 100644 --- a/examples/bare1.rs +++ b/examples/bare1.rs @@ -23,7 +23,7 @@ fn main() { // start `itmdump` before `openocd` ipln!("ITM: Hello World"); - cortex_m::asm::bkpt(); + // cortex_m::asm::bkpt(); // semihosting trace (slow) sprintln!("SEMIHOSTING: Hello World"); @@ -32,6 +32,7 @@ fn main() { // cortex_m::asm::nop(); cortex_m::asm::bkpt(); sprintln!("SEMIHOSTING: boye"); + ipln!("ITM: Hello World"); } } @@ -61,6 +62,7 @@ fn main() { // (gdb) disassemble // ** your answer here ** // +// >> bkpt (112) // commit your answers (bare1_2) // // 3. now remove the comment line 30. -- GitLab