Commit graph

411 commits

Author SHA1 Message Date
Mirabellensaft 35457c4454 bring all tooling to current versions --beginner 2021-12-20 15:37:28 +01: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
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