Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
e7020e_2019
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
Henrik Theolin
e7020e_2019
Commits
eb1afad4
Commit
eb1afad4
authored
6 years ago
by
Henrik Theolin
Browse files
Options
Downloads
Patches
Plain Diff
bare0_1
parent
7d1753a9
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#114
failed
6 years ago
Stage: build
Stage: test
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.vscode/launch.json
+24
-24
24 additions, 24 deletions
.vscode/launch.json
examples/bare0.rs
+3
-3
3 additions, 3 deletions
examples/bare0.rs
openocd.cfg
+1
-1
1 addition, 1 deletion
openocd.cfg
with
28 additions
and
28 deletions
.vscode/launch.json
+
24
−
24
View file @
eb1afad4
...
...
@@ -59,7 +59,7 @@
"preLaunchTask"
:
"cargo build --example itm"
,
"executable"
:
"./target/thumbv7em-none-eabihf/debug/examples/itm"
,
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"postLaunchCommands"
:
[
...
...
@@ -89,7 +89,7 @@
"preLaunchTask"
:
"cargo build --example panic"
,
"executable"
:
"./target/thumbv7em-none-eabihf/debug/examples/panic"
,
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"postLaunchCommands"
:
[
...
...
@@ -119,7 +119,7 @@
"preLaunchTask"
:
"cargo build --example exception_itm --release"
,
"executable"
:
"./target/thumbv7em-none-eabihf/release/examples/exception_itm"
,
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"swoConfig"
:
{
...
...
@@ -145,7 +145,7 @@
"preLaunchTask"
:
"cargo build --example exception_itm_raw"
,
"executable"
:
"./target/thumbv7em-none-eabihf/debug/examples/exception_itm_raw"
,
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"swoConfig"
:
{
...
...
@@ -302,7 +302,7 @@
"preLaunchTask"
:
"cargo build --example bare0"
,
"executable"
:
"./target/thumbv7em-none-eabihf/debug/examples/bare0"
,
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"cwd"
:
"${workspaceRoot}"
...
...
@@ -331,7 +331,7 @@
]
},
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"cwd"
:
"${workspaceRoot}"
...
...
@@ -360,7 +360,7 @@
]
},
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"cwd"
:
"${workspaceRoot}"
...
...
@@ -389,7 +389,7 @@
]
},
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"cwd"
:
"${workspaceRoot}"
...
...
@@ -418,7 +418,7 @@
]
},
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"cwd"
:
"${workspaceRoot}"
...
...
@@ -434,7 +434,7 @@
"monitor arm semihosting enable"
],
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"cwd"
:
"${workspaceRoot}"
...
...
@@ -450,7 +450,7 @@
"monitor arm semihosting enable"
],
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"cwd"
:
"${workspaceRoot}"
...
...
@@ -466,7 +466,7 @@
"monitor arm semihosting enable"
],
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"cwd"
:
"${workspaceRoot}"
...
...
@@ -482,7 +482,7 @@
"monitor arm semihosting enable"
],
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"cwd"
:
"${workspaceRoot}"
...
...
@@ -495,7 +495,7 @@
"preLaunchTask"
:
"cargo build --example bare6"
,
"executable"
:
"./target/thumbv7em-none-eabihf/debug/examples/bare6"
,
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"postLaunchCommands"
:
[
...
...
@@ -524,7 +524,7 @@
"preLaunchTask"
:
"cargo build --example bare6"
,
"executable"
:
"./target/thumbv7em-none-eabihf/debug/examples/bare6"
,
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"postLaunchCommands"
:
[
...
...
@@ -585,7 +585,7 @@
"preLaunchTask"
:
"cargo build --example bare7"
,
"executable"
:
"./target/thumbv7em-none-eabihf/debug/examples/bare7"
,
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"postLaunchCommands"
:
[
...
...
@@ -616,7 +616,7 @@
"executable"
:
"./target/thumbv7em-none-eabihf/debug/examples/bare7"
,
//
uses
local
config
files
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"postLaunchCommands"
:
[
...
...
@@ -646,7 +646,7 @@
"preLaunchTask"
:
"cargo build --example bare8"
,
"executable"
:
"./target/thumbv7em-none-eabihf/debug/examples/bare8"
,
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"swoConfig"
:
{
...
...
@@ -673,7 +673,7 @@
"preLaunchTask"
:
"cargo build --example bare9"
,
"executable"
:
"./target/thumbv7em-none-eabihf/debug/examples/bare9"
,
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"swoConfig"
:
{
...
...
@@ -700,7 +700,7 @@
"preLaunchTask"
:
"cargo build --example bare9 --release"
,
"executable"
:
"./target/thumbv7em-none-eabihf/release/examples/bare9"
,
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"swoConfig"
:
{
...
...
@@ -727,7 +727,7 @@
"preLaunchTask"
:
"cargo build --example bare10 --release"
,
"executable"
:
"./target/thumbv7em-none-eabihf/release/examples/bare10"
,
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"swoConfig"
:
{
...
...
@@ -759,7 +759,7 @@
"preLaunchTask"
:
"cargo build --example bare10"
,
"executable"
:
"./target/thumbv7em-none-eabihf/debug/examples/bare10"
,
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"swoConfig"
:
{
...
...
@@ -791,7 +791,7 @@
"preLaunchTask"
:
"cargo build --example marcus --release"
,
"executable"
:
"./target/thumbv7em-none-eabihf/release/examples/marcus"
,
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"swoConfig"
:
{
...
...
@@ -823,7 +823,7 @@
"preLaunchTask"
:
"cargo build --example equivalence --release"
,
"executable"
:
"./target/thumbv7em-none-eabihf/release/examples/equivalence"
,
"configFiles"
:
[
"interface/stlink.cfg"
,
"interface/stlink
-v2-1
.cfg"
,
"target/stm32f4x.cfg"
],
"swoConfig"
:
{
...
...
This diff is collapsed.
Click to expand it.
examples/bare0.rs
+
3
−
3
View file @
eb1afad4
...
...
@@ -48,18 +48,18 @@ fn main() -> ! {
// 1. Run the program in the debugger, let the program run for a while and
// then press pause. Look in the (Local -vscode) Variables view what do you find.
//
// **
your answer here
**
// **
* x: 962669 *
**
//
// In the Expressions (WATCH -vscode) view add X and Y
// what do you find
//
// **
your answer here
**
// **
* -var-create: unable to create variable object (from var-create watch_X @ "X") *
**
//
// Step through one complete iteration of the loop
// and see how the (Local) Variables are updated
// can you foresee what will eventually happen?
//
// **
place your answer here
**
// **
* x is incremented. Eventually x will wrap. *
**
//
// Commit your answers (bare0_1)
//
...
...
This diff is collapsed.
Click to expand it.
openocd.cfg
+
1
−
1
View file @
eb1afad4
...
...
@@ -3,6 +3,6 @@
# Depending on the hardware revision you got you'll have to pick ONE of these
# interfaces. At any time only one interface should be commented out.
source
[find interface/stlink.cfg]
source
[find interface/stlink
-v2-1
.cfg]
source
[find target/stm32f4x.cfg]
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