diff --git a/.vscode/launch.json b/.vscode/launch.json index c1a50eb63bf02ce3f29f7731a92a27bdb9920ed9..9aabec5ac1bf33a7cc44b8ae4bc4e042710d78e8 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -389,7 +389,7 @@ ] }, "configFiles": [ - "interface/stlink-v2-1.cfg", + "interface/stlink.cfg", "target/stm32f4x.cfg" ], "cwd": "${workspaceRoot}" @@ -418,7 +418,7 @@ ] }, "configFiles": [ - "interface/stlink-v2-1.cfg", + "interface/stlink.cfg", "target/stm32f4x.cfg" ], "cwd": "${workspaceRoot}" diff --git a/examples/bare2.rs b/examples/bare2.rs index c039a6ef1e8ff1ed8d164f6c4ecdb1155684126a..14e7e67f1cba306ba59e6c964c4341c24010a904 100644 --- a/examples/bare2.rs +++ b/examples/bare2.rs @@ -61,7 +61,7 @@ fn main() -> ! { // This will document your crate, and open the docs in your browser. // If it does not auto-open, then copy paste the path in your browser. // -// In the docs, seach (`S`) for DWT, and click `cortex_m::peripheral::DWT`. +// In the docs, search (`S`) for DWT, and click `cortex_m::peripheral::DWT`. // Read the API docs. // // 1. Build and run the application (debug build). @@ -71,18 +71,22 @@ fn main() -> ! { // // What is the output in the ITM console? // -// ** your answer here ** +// bare2 +// Start 738524136 +// End 1364524344 // // Rebuild and run in release mode // // > cargo build --example bare2 --release // -// ** your answer here ** +// bare2 +// Start 2513719548 +// End 2517719556 // // Compute the ratio between debug/release optimized code // (the speedup). // -// ** your answer here ** +// 156.50... times speedup! // // commit your answers (bare2_1) //