Skip to content
Snippets Groups Projects
Commit d20ffaec authored by August Svensson's avatar August Svensson
Browse files

bare2_1

parent 84c4eeb0
No related branches found
No related tags found
No related merge requests found
...@@ -389,7 +389,7 @@ ...@@ -389,7 +389,7 @@
] ]
}, },
"configFiles": [ "configFiles": [
"interface/stlink-v2-1.cfg", "interface/stlink.cfg",
"target/stm32f4x.cfg" "target/stm32f4x.cfg"
], ],
"cwd": "${workspaceRoot}" "cwd": "${workspaceRoot}"
...@@ -418,7 +418,7 @@ ...@@ -418,7 +418,7 @@
] ]
}, },
"configFiles": [ "configFiles": [
"interface/stlink-v2-1.cfg", "interface/stlink.cfg",
"target/stm32f4x.cfg" "target/stm32f4x.cfg"
], ],
"cwd": "${workspaceRoot}" "cwd": "${workspaceRoot}"
......
...@@ -61,7 +61,7 @@ fn main() -> ! { ...@@ -61,7 +61,7 @@ fn main() -> ! {
// This will document your crate, and open the docs in your browser. // 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. // 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. // Read the API docs.
// //
// 1. Build and run the application (debug build). // 1. Build and run the application (debug build).
...@@ -71,18 +71,22 @@ fn main() -> ! { ...@@ -71,18 +71,22 @@ fn main() -> ! {
// //
// What is the output in the ITM console? // What is the output in the ITM console?
// //
// ** your answer here ** // bare2
// Start 738524136
// End 1364524344
// //
// Rebuild and run in release mode // Rebuild and run in release mode
// //
// > cargo build --example bare2 --release // > cargo build --example bare2 --release
// //
// ** your answer here ** // bare2
// Start 2513719548
// End 2517719556
// //
// Compute the ratio between debug/release optimized code // Compute the ratio between debug/release optimized code
// (the speedup). // (the speedup).
// //
// ** your answer here ** // 156.50... times speedup!
// //
// commit your answers (bare2_1) // commit your answers (bare2_1)
// //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment