Skip to content
Snippets Groups Projects
Commit 618f9e50 authored by DevDoggo's avatar DevDoggo
Browse files

Done

parent 21ff86c7
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ fn main() { ...@@ -23,7 +23,7 @@ fn main() {
// start `itmdump` before `openocd` // start `itmdump` before `openocd`
ipln!("ITM: Hello World"); ipln!("ITM: Hello World");
cortex_m::asm::bkpt(); // cortex_m::asm::bkpt();
// semihosting trace (slow) // semihosting trace (slow)
sprintln!("SEMIHOSTING: Hello World"); sprintln!("SEMIHOSTING: Hello World");
...@@ -32,6 +32,7 @@ fn main() { ...@@ -32,6 +32,7 @@ fn main() {
// cortex_m::asm::nop(); // cortex_m::asm::nop();
cortex_m::asm::bkpt(); cortex_m::asm::bkpt();
sprintln!("SEMIHOSTING: boye"); sprintln!("SEMIHOSTING: boye");
ipln!("ITM: Hello World");
} }
} }
...@@ -61,6 +62,7 @@ fn main() { ...@@ -61,6 +62,7 @@ fn main() {
// (gdb) disassemble // (gdb) disassemble
// ** your answer here ** // ** your answer here **
// //
// >> bkpt (112)
// commit your answers (bare1_2) // commit your answers (bare1_2)
// //
// 3. now remove the comment line 30. // 3. now remove the comment line 30.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment