Commit graph

573 commits

Author SHA1 Message Date
Mirabellensaft 80c890b785 changed order of items to be the same as in the code example 2021-04-20 13:36:17 +02:00
Lotte Steenbrink ec6db70670 extend hal explanation 2021-04-20 13:34:49 +02:00
Anatol Ulrich 0101a78c50 speed bump lol 2021-04-20 13:06:37 +02:00
Anatol Ulrich e6d4f50809 fix && foxy 2021-04-20 12:39:41 +02:00
Anatol Ulrich c658680a00 temp fix for serialport on macos 11 2021-04-20 12:24:49 +02:00
Lotte Steenbrink 6a99976a12 re Felix: don't half-duplicate Linux instructions 2021-04-20 10:38:15 +02:00
Lotte Steenbrink afc61d24a3 installation: add apt instructions alongside pacman instructions 2021-04-20 10:28:19 +02:00
Mirabellensaft c1932fceb6 clarify rtic-expansion output 2021-04-19 14:36:01 +02:00
Lotte Steenbrink 145dce6e18 gitignore DS_Store, .vscode/ 2021-04-19 10:41:33 +02:00
Lotte Steenbrink bb89e80961
Merge pull request #141 from ferrous-systems/improve-material
Improve material
2021-04-19 10:40:33 +02:00
Mirabellensaft dfda34cbbf fix typo 2021-04-15 13:39:04 +02:00
Mirabellensaft 3dc52717b6 rm redundant 'run program' 2021-04-15 13:38:20 +02:00
Mirabellensaft cf47082ce7 remove irrelevant lines 2021-04-15 13:23:24 +02:00
Lotte Steenbrink b5538a89d5 use 0.2.1 everywhere 2021-04-14 12:16:22 +02:00
Lotte Steenbrink 1be6f2fc5a better comments 2021-04-14 12:15:39 +02:00
Lotte Steenbrink 7e3cda9cad whoops. forgot to port advanced/vec 2021-04-14 12:13:32 +02:00
Lotte Steenbrink c80e9fd620 [untested] switch rest of dk over to defmt as well 2021-04-14 12:13:12 +02:00
Lotte Steenbrink 8dbde637bb use defmt in panic-log 2021-04-14 12:12:02 +02:00
Lotte Steenbrink 739df4dac9 fix typo 2021-04-14 12:02:02 +02:00
Lotte Steenbrink 27dd89493c advanced/common/usb: move to defmt 2021-04-14 11:55:43 +02:00
Lotte Steenbrink 354fcc37d3 finish advanced defmt port 2021-04-14 11:50:25 +02:00
Lotte Steenbrink e8ed24d893 start converting advanced apps 2021-04-12 17:09:38 +02:00
Lotte Steenbrink 8d0c55d36f dk lib: minor formatting improvement 2021-04-12 11:52:04 +02:00
Lotte Steenbrink 622707bab7 convert all beginner code snippets 2021-04-12 11:51:44 +02:00
Lotte Steenbrink e1f740caba wip: move beginner to defmt 2021-04-08 14:16:26 +02:00
Lotte Steenbrink bebe390f0e k: move to defmt 2021-04-08 14:09:05 +02:00
Lotte Steenbrink 34d65f2fb6 wip 2021-04-08 11:27:00 +02:00
Jorge Aparicio 15f011b21f
Merge pull request #139 from ferrous-systems/rm-git-deps
move away from git dependencies
2021-03-18 11:13:44 +00:00
Jorge Aparicio 9161e82246 advanced: use crates.io version of usb2 crate 2021-03-16 14:13:40 +01:00
Jorge Aparicio 2758be8412 adapt beginner material to BSP changes 2021-03-16 13:27:01 +01:00
Jorge Aparicio 5ff9fd0f8a move dk BSP to nrf52840-hal 0.12.1 2021-03-16 13:06:55 +01:00
Jorge Aparicio e26a8f50f6
Merge pull request #128 from ferrous-systems/xtask-tools
replace workshop specific tools with xtasks
2021-02-01 14:42:29 +01:00
Jorge Aparicio 456b7f05a4
Update embedded-workshop-book/src/troubleshoot-usb-dongle.md 2021-02-01 14:29:27 +01:00
Jorge Aparicio c00f37c881
Merge pull request #135 from ferrous-systems/touch-r-a
troubleshooting: extend r-a tips
2021-02-01 13:36:14 +01:00
Lotte Steenbrink aacf88e0ea troubleshooting: extend r-a tips 2021-01-29 17:55:34 +01:00
Jorge Aparicio 8f59e64c5c add updated slides 2021-01-29 15:32:32 +01:00
Jorge Aparicio 7fc3241124
Merge pull request #134 from ferrous-systems/descriptor_docs
Book: Improve docs for GET_DESCRIPTOR Configuration requests
2021-01-29 15:21:26 +01:00
Lotte Steenbrink 38c9aa5522 setup-stage.md: improve language 2021-01-29 15:13:18 +01:00
Lotte Steenbrink 4906aa6457 lib.rs: improve TODO instructions, add book link 2021-01-29 15:12:55 +01:00
Lotte Steenbrink 111b5209c8 fix #112 2021-01-29 15:06:08 +01:00
Jorge Aparicio d202ff31d9 usb-4: simplify "how to switch parser" instructions 2021-01-29 13:18:13 +01:00
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