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

Done

parent 1f23b1cb
No related branches found
No related tags found
No related merge requests found
...@@ -2,4 +2,5 @@ ...@@ -2,4 +2,5 @@
#cargo build --target thumbv7em-none-eabihf --release #cargo build --target thumbv7em-none-eabihf --release
#cargo build --target thumbv7em-none-eabihf --example bare0 #cargo build --target thumbv7em-none-eabihf --example bare0
cargo build --target thumbv7em-none-eabihf --example bare1 #cargo build --target thumbv7em-none-eabihf --example bare1
cargo build --target thumbv7em-none-eabihf --example bare2
...@@ -41,9 +41,13 @@ fn main() { ...@@ -41,9 +41,13 @@ fn main() {
// > openocd -f interface/stlink.cfg -f target/stm32f4x.cfg // > openocd -f interface/stlink.cfg -f target/stm32f4x.cfg
// //
// what is the output in the ITM console // what is the output in the ITM console
//
// >> s = 0 + i (for 0 < i < integer_max)
// ** your answer here ** // ** your answer here **
// //
// estimate the frequency of the output, give freq in hz // estimate the frequency of the output, give freq in hz
//
// >> 0.9 Hz
// ** your answer here ** // ** your answer here **
// //
// commit your answers (bare2_1) // commit your answers (bare2_1)
......
...@@ -3,4 +3,5 @@ TARGET=thumbv7em-none-eabihf ...@@ -3,4 +3,5 @@ TARGET=thumbv7em-none-eabihf
#arm-none-eabi-gdb target/$TARGET/release/examples/bare0 #arm-none-eabi-gdb target/$TARGET/release/examples/bare0
#arm-none-eabi-gdb target/$TARGET/debug/examples/bare0 #arm-none-eabi-gdb target/$TARGET/debug/examples/bare0
arm-none-eabi-gdb target/$TARGET/debug/examples/bare1 #arm-none-eabi-gdb target/$TARGET/debug/examples/bare1
arm-none-eabi-gdb target/$TARGET/debug/examples/bare2
itm.sh 0 → 100755
#!/bin/bash
itmdump -Ff /tmp/itm.log
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment