Jorge Aparicio
461a9b4d8e
usb-4: add note on how to switch to participant's USB parser
...
the starter code uses the parser from the `usb2` crate because the code won't compile if it uses the
workshop's `usb` in its initial form
2021-01-29 13:11:08 +01:00
Jorge Aparicio
9296ff5b09
Merge pull request #133 from ferrous-systems/rtic-up
...
adapt to breaking changes in cortex-m-rtic 0.5.x
2021-01-28 16:23:57 +01:00
Jorge Aparicio
450b3b77a9
make rustfmt happy
2021-01-28 16:14:44 +01:00
Jorge Aparicio
17ebad4a3c
adapt to breaking changes in cortex-m-rtic 0.5.x
...
at some point cortex-m-rtic fixed a memory safety bug: RTIC was not marking the
cortex_m::Peripherals singleton as "taken" in its pre-init code. This made it possible to create two
instances of the singleton, e.g. by calling `cortex_m::Peripherals::take` in an RTIC app.
the fix included a breaking change: it makes `Peripherals::take` return `None` from within an RTIC
app. This breaks the use of `dk::init`, which `take`s those `Peripherals`, within an RTIC app and
thus breaks most of the exercises / examples in the advanced workshop
this PR fixes the issue by making `dk::init` not `take` the `Peripherals`. For more details read
in-line comments in the diff
2021-01-28 16:02:53 +01:00
Lotte Steenbrink
aa5d1e417c
make xtask run in dongle dir
2021-01-26 12:45:54 +01:00
Lotte Steenbrink
705f41973e
add littel xtask explanation
2021-01-26 12:26:49 +01:00
Lotte Steenbrink
fcdfd56267
re-add instructions to clone workshop materials
2021-01-26 11:39:48 +01:00
Lotte Steenbrink
c7a16d2555
make xtask runnable from xtask dir because why not. include help prompt in CI
2021-01-26 11:29:27 +01:00
Lotte Steenbrink
1b14efbb8b
whoops. cargo fmt
2021-01-26 11:23:03 +01:00
Lotte Steenbrink
fbcf60a0ec
CI: let#s see if this fixes it
2021-01-26 11:18:39 +01:00
Lotte Steenbrink
bf4796f5a9
update docs
2021-01-26 11:04:58 +01:00
Lotte Steenbrink
94b7dcf756
bugfix: pass hex files to xtask with correct path
2021-01-26 10:32:05 +01:00
Lotte Steenbrink
aaab45189d
make cargo xtask runnable from root
2021-01-26 09:48:13 +01:00
Jorge Aparicio
9cebefccbb
Merge pull request #129 from ferrous-systems/dedup_binutils
...
rm duplicate binutils install instructions, fix order
2021-01-25 16:37:54 +01:00
Lotte Steenbrink
cb47f4498b
rm duplicate binutils install instructions, fix order
2021-01-25 16:26:23 +01:00
Jorge Aparicio
92dbaaa903
update advanced content to use xtasks
2021-01-25 16:16:10 +01:00
Jorge Aparicio
3033f47b7c
remove workshop tooling from setup
2021-01-25 16:13:32 +01:00
Jorge Aparicio
b08a82bacd
replace tools workspace with xtask tasks
2021-01-25 16:10:54 +01:00
Lotte Steenbrink
68b40ca9d5
Merge pull request #125 from ferrous-systems/stack_overflow
...
add Stack overflow extra exercise
2021-01-25 15:01:37 +01:00
Jorge Aparicio
80aeec1551
Merge pull request #127 from ferrous-systems/cables
...
add remark about non-data cables
2021-01-22 18:56:09 +01:00
Lotte Steenbrink
ebb53991b8
add remark about non-data cables
2021-01-22 18:44:33 +01:00
Lotte Steenbrink
a0caf51682
use use_stack, actualy add text
2021-01-22 15:59:13 +01:00
Lotte Steenbrink
5372bfa0fe
fix copypasta err
2021-01-22 15:21:47 +01:00
Lotte Steenbrink
92e61650b2
cargo fmt
2021-01-22 15:18:18 +01:00
Lotte Steenbrink
19af229d0b
respond to comments
2021-01-22 15:15:11 +01:00
Lotte Steenbrink
9f3126c594
add flip-link to CI
2021-01-22 15:03:27 +01:00
Lotte Steenbrink
514292aaab
add stack_overflow exercise
2021-01-22 15:01:48 +01:00
Lotte Steenbrink
816ab161fc
stack_overflow.rs cover up bug?
2021-01-22 15:01:18 +01:00
Jorge Aparicio
9e2573dfb6
add beginner slides
2021-01-22 14:14:59 +01:00
Lotte Steenbrink
4cdb377855
provoke stack overflow more blatantly
2021-01-22 12:45:03 +01:00
Lotte Steenbrink
fdc56a32e2
start adding flip-link
2021-01-22 12:45:03 +01:00
Lotte Steenbrink
c54d03e19b
add stack_overflow.rs
2021-01-22 12:45:03 +01:00
Jorge Aparicio
3d48894186
Merge pull request #124 from ferrous-systems/refactor-next-steps
...
split next-steps section into subsections
2021-01-21 18:13:24 +01:00
Jorge Aparicio
4882103341
split next-steps section into subsections
...
and move from-scratch under the next-steps section
2021-01-21 17:31:30 +01:00
Jorge Aparicio
b053ee2dc7
Merge pull request #123 from ferrous-systems/panic-udf
...
use asm::udf in panic-log
2021-01-21 15:31:54 +01:00
Jorge Aparicio
ec03653be4
bump cortex-m versions
...
to ensure we use versions that don't have debuginfo issues which break probe-run backtraces
2021-01-21 14:03:57 +01:00
Jorge Aparicio
49a254f8ce
use asm::udf in panic-log
...
to match panic-probe behavior
UDF makes probe-run exit with a non-zero exit code
2021-01-21 14:00:59 +01:00
Jorge Aparicio
291110e75d
Merge pull request #122 from ferrous-systems/less-cargo-subcommands
...
move cargo-flash off the main track into the tooltips section
2021-01-21 13:59:21 +01:00
Jorge Aparicio
3531c9f176
Merge pull request #120 from ferrous-systems/gdb
...
add how to GDB section
2021-01-21 13:50:44 +01:00
Jorge Aparicio
35931b2b5c
Update embedded-workshop-book/src/tooltips.md
...
Co-authored-by: Lotte Steenbrink <lotte.steenbrink@ferrous-systems.com>
2021-01-21 13:47:26 +01:00
Jorge Aparicio
3535bb6b5b
vs code may automatically switch to the run view
2021-01-21 13:07:46 +01:00
Jorge Aparicio
afcf7ab134
move image up and turn it into a link to itself
2021-01-21 13:05:10 +01:00
Jorge Aparicio
5a530aa6d6
remove extension metadata from text
2021-01-21 13:03:48 +01:00
Jorge Aparicio
46811ef920
add overlay text to image
2021-01-21 13:03:04 +01:00
Jorge Aparicio
e6793ba0ff
connect the board first
2021-01-21 12:47:50 +01:00
Jorge Aparicio
2fb50ba889
GDB OR RTT but not both
2021-01-21 12:46:46 +01:00
Jorge Aparicio
6e793072c9
Apply suggestions from code review
...
Co-authored-by: Lotte Steenbrink <lotte.steenbrink@ferrous-systems.com>
2021-01-21 12:45:11 +01:00
Jorge Aparicio
7611e854a3
move cargo-flash off the main track into the tooltips section
...
also remove cargo-embed section
2021-01-21 12:39:15 +01:00
Jorge Aparicio
cd973eef81
Merge pull request #121 from ferrous-systems/bump_locks
...
remove cargo.lock s
2021-01-20 17:16:40 +01:00
Jorge Aparicio
bd617f15fd
Merge pull request #119 from ferrous-systems/mv_cargo_bloat
...
add tooltips; move cargo-bloat there
2021-01-20 17:02:51 +01:00