Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
e7020e_2021
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Josef Utbult
e7020e_2021
Commits
c9bef950
Commit
c9bef950
authored
4 years ago
by
Josef Utbult
Browse files
Options
Downloads
Patches
Plain Diff
bare8_1
parent
bf2c8430
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/rtic_bare8.rs
+12
-8
12 additions, 8 deletions
examples/rtic_bare8.rs
with
12 additions
and
8 deletions
examples/rtic_bare8.rs
+
12
−
8
View file @
c9bef950
...
...
@@ -11,7 +11,7 @@
use
panic_rtt_target
as
_
;
use
nb
::
block
;
use
stm32f4xx_hal
::
nb
::
block
;
use
stm32f4xx_hal
::{
gpio
::{
gpioa
::
PA
,
Output
,
PushPull
},
...
...
@@ -113,31 +113,35 @@ const APP: () = {
//
// What do you receive in `moserial`?
//
//
** your answer here **
//
An a
//
// What do you receive in the RTT terminal?
//
// ** your answer here **
// init
// Ok 97
//
// Try sending: "abcd" as a single sequence, don't send the quotation marks, just abcd.
//
// What did you receive in `moserial`?
//
//
** your answer here **
//
ad
//
// What do you receive in the RTT terminal?
//
// ** your answer here **
// Ok 97
// Ok 98
// Error Overrun
//
// What do you believe to be the problem?
//
// Hint: Look at the code in `idle` what does it do?
//
// ** your answer here **
// I guess it has to do with the fact that the program only handles blocks of data and gets an overrun error when there is to
// many bytes transmitted at once (more than 4).
//
// Experiment a bit, what is the max length sequence you can receive without errors?
//
//
** your answer here **
//
It seems to be two characters, aka 2 bytes
//
// Commit your answers (bare8_1)
//
...
...
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