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
Anton
e7020e_2019
Commits
cfe09b79
Commit
cfe09b79
authored
6 years ago
by
anttib-5
Browse files
Options
Downloads
Patches
Plain Diff
bare10_2
parent
4a3c6cae
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
TestITM
+8
-6
8 additions, 6 deletions
TestITM
examples/bare10.rs
+2
-2
2 additions, 2 deletions
examples/bare10.rs
with
10 additions
and
8 deletions
TestITM
+
8
−
6
View file @
cfe09b79
...
...
@@ -3,13 +3,15 @@
data 13
data 97
UsartReceiveOverflow
data 97
UsartReceiveOverflow
data 97
UsartReceiveOverflow
data 100
data 3
RingBufferOverflow
data
115
data
3
RingBufferOverflow
data 3
RingBufferOverflow
bare10
data 97
UsartReceiveOverflow
data 13
data 97
UsartReceiveOverflow
This diff is collapsed.
Click to expand it.
examples/bare10.rs
+
2
−
2
View file @
cfe09b79
...
...
@@ -79,7 +79,7 @@ const APP: () = {
}
}
#[task(priority
=
1
,
resources
=
[
ITM]
)]
#[task(priority
=
1
,
capacity
=
4
,
resources
=
[
ITM]
)]
fn
trace_data
(
byte
:
u8
)
{
let
stim
=
&
mut
resources
.ITM.stim
[
0
];
iprintln!
(
stim
,
"data {}"
,
byte
);
...
...
@@ -168,7 +168,7 @@ const APP: () = {
//
// What information would you need?
//
//
** your answer here **
//
We need to know how large a USART-message is, how often we can take a message and how much time it takes/needs for a message to be processed
//
// Commit your answers (bare10_2)
//
...
...
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