Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
e7020e_2020
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tom Hammarkvist
e7020e_2020
Commits
1b9deadc
Commit
1b9deadc
authored
5 years ago
by
Hammarkvast
Browse files
Options
Downloads
Patches
Plain Diff
bare2_1
parent
1487961e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/bare2.rs
+9
-2
9 additions, 2 deletions
examples/bare2.rs
openocd.cfg
+2
-2
2 additions, 2 deletions
openocd.cfg
with
11 additions
and
4 deletions
examples/bare2.rs
+
9
−
2
View file @
1b9deadc
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
openocd.cfg
+
2
−
2
View file @
1b9deadc
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment