diff --git a/examples/bare2.rs b/examples/bare2.rs index ce6acb20fb9221507961a8586a4ba8211917db1c..4a64493682c38118ff32f9ff5db68633cc1ffb56 100644 --- a/examples/bare2.rs +++ b/examples/bare2.rs @@ -78,18 +78,25 @@ fn main() -> ! { // What is the output in the ITM console? // // ** your answer here ** +// Start 1298588265 +// End 1435588355 +// Diff 137000090 // // Rebuild and run in release mode // // > cargo build --example bare2 --release // // ** your answer here ** -// +// bare2 +// Start 3473919707 +// End 3477919715 +//Diff 4000008 + // Compute the ratio between debug/release optimized code // (the speedup). // // ** your answer here ** -// +// 137000090/4000008 = 34.25 times faster // commit your answers (bare2_1) // // 3. *Optional diff --git a/openocd.cfg b/openocd.cfg index 12d6eb57be86414df319fe6c622ed716368a0f62..0ac0250e15dd358f3e63b13c7c2dddb07ec5bf3e 100644 --- a/openocd.cfg +++ b/openocd.cfg @@ -1,6 +1,6 @@ -source [find interface/stlink.cfg] +#source [find interface/stlink.cfg] # deprecated -# source [find interface/stlink-v2-1.cfg] + source [find interface/stlink-v2-1.cfg] transport select hla_swd # increase working area to 64KB