Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nucleo-generic
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Per Lindgren
nucleo-generic
Commits
be16be5f
Commit
be16be5f
authored
7 years ago
by
Per
Browse files
Options
Downloads
Patches
Plain Diff
examples
parent
9b941828
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.vscode/launch.json
+1
-1
1 addition, 1 deletion
.vscode/launch.json
.vscode/tasks.json
+5
-29
5 additions, 29 deletions
.vscode/tasks.json
examples/hello.rs
+1
-0
1 addition, 0 deletions
examples/hello.rs
with
7 additions
and
30 deletions
.vscode/launch.json
+
1
−
1
View file @
be16be5f
...
...
@@ -79,7 +79,7 @@
"autorun"
:
[
"monitor reset init"
,
"monitor arm semihosting enable"
,
"monitor tpiu config internal /tmp/itm.log uart off 16000000
2000000
"
,
"monitor tpiu config internal /tmp/itm.log uart off 16000000"
,
"monitor itm port 0 on"
,
"load"
],
...
...
This diff is collapsed.
Click to expand it.
.vscode/tasks.json
+
5
−
29
View file @
be16be5f
...
...
@@ -4,31 +4,7 @@
"version"
:
"2.0.0"
,
"tasks"
:
[
{
"taskName"
:
"xargo build --release"
,
"type"
:
"shell"
,
"command"
:
"xargo build --release"
,
"group"
:
{
"kind"
:
"build"
,
"isDefault"
:
true
},
"problemMatcher"
:
[
"$rustc"
]
},
{
"taskName"
:
"xargo build"
,
"type"
:
"shell"
,
"command"
:
"xargo build"
,
"group"
:
{
"kind"
:
"build"
,
"isDefault"
:
true
},
"problemMatcher"
:
[
"$rustc"
]
},
{
"taskName"
:
"xargo build --example hello"
,
"label"
:
"xargo build --example hello"
,
"type"
:
"shell"
,
"command"
:
"xargo build --example hello"
,
"group"
:
{
...
...
@@ -40,7 +16,7 @@
]
},
{
"
taskName
"
:
"xargo build --example crash"
,
"
label
"
:
"xargo build --example crash"
,
"type"
:
"shell"
,
"command"
:
"xargo build --example crash"
,
"group"
:
{
...
...
@@ -52,7 +28,7 @@
]
},
{
"
taskName
"
:
"xargo build --example itm"
,
"
label
"
:
"xargo build --example itm"
,
"type"
:
"shell"
,
"command"
:
"xargo build --example itm"
,
"group"
:
{
...
...
@@ -64,7 +40,7 @@
]
},
{
"
taskName
"
:
"xargo build --example override-exception-handler"
,
"
label
"
:
"xargo build --example override-exception-handler"
,
"type"
:
"shell"
,
"command"
:
"xargo build --example override-exception-handler"
,
"group"
:
{
...
...
@@ -76,7 +52,7 @@
]
},
{
"
taskName
"
:
"xargo build --example panic"
,
"
label
"
:
"xargo build --example panic"
,
"type"
:
"shell"
,
"command"
:
"xargo build --example panic"
,
"group"
:
{
...
...
This diff is collapsed.
Click to expand it.
examples/hello.rs
+
1
−
0
View file @
be16be5f
...
...
@@ -17,6 +17,7 @@ use cortex_m_semihosting::hio;
fn
main
()
{
let
mut
stdout
=
hio
::
hstdout
()
.unwrap
();
writeln!
(
stdout
,
"Hello, world!"
)
.unwrap
();
loop
{}
}
// As we are not using interrupts, we just register a dummy catch all handler
...
...
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