Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bare-boyes
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
Fredrik Pettersson
bare-boyes
Commits
b3d44b8d
Commit
b3d44b8d
authored
7 years ago
by
DevDoggo
Browse files
Options
Downloads
Patches
Plain Diff
Done
parent
1f23b1cb
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
compile.sh
+2
-1
2 additions, 1 deletion
compile.sh
examples/bare2.rs
+4
-0
4 additions, 0 deletions
examples/bare2.rs
gdb.sh
+2
-1
2 additions, 1 deletion
gdb.sh
itm.sh
+3
-0
3 additions, 0 deletions
itm.sh
with
11 additions
and
2 deletions
compile.sh
+
2
−
1
View file @
b3d44b8d
...
@@ -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
This diff is collapsed.
Click to expand it.
examples/bare2.rs
+
4
−
0
View file @
b3d44b8d
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
gdb.sh
+
2
−
1
View file @
b3d44b8d
...
@@ -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
This diff is collapsed.
Click to expand it.
itm.sh
0 → 100755
+
3
−
0
View file @
b3d44b8d
#!/bin/bash
itmdump
-Ff
/tmp/itm.log
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