Commit graph

32 commits

Author SHA1 Message Date
Mirabellensaft
74bdeb3665 correct logging 2022-12-06 15:13:20 +01:00
Mirabellensaft
f8b38e1d88 rm unused peripheral 2022-01-12 18:21:08 +01:00
Tanks Transfeld
d51e2a501d
Merge branch 'main' into 111-use-defmt-logging 2022-01-12 17:51:46 +01:00
Mirabellensaft
59f20c1c05 fix dangling usb 2022-01-12 17:02:33 +01:00
Mirabellensaft
ca262675e8 info! -> println! 2022-01-10 14:31:07 +01:00
Mirabellensaft
8ad5afe51b bump nrf-hal version up again 2022-01-10 14:28:35 +01:00
Mirabellensaft
fe479c1152 fix appearing interrupt 2022-01-10 14:28:35 +01:00
Lotte Steenbrink
b672967d8a use defmt in training materials 2022-01-10 14:28:15 +01:00
Mirabellensaft
62f74005a1 bring all tooling to current versions --beginner 2022-01-10 14:26:13 +01:00
Lotte Steenbrink
ecae3b725a better comments 2022-01-10 14:24:44 +01:00
Lotte Steenbrink
57f433204b [untested] switch rest of dk over to defmt as well 2022-01-10 14:24:44 +01:00
Lotte Steenbrink
9c1a7e5ee1 finish advanced defmt port 2022-01-10 14:24:44 +01:00
Lotte Steenbrink
11f82978e9 dk lib: minor formatting improvement 2022-01-10 14:24:44 +01:00
Lotte Steenbrink
af4b9e3b76 k: move to defmt 2022-01-10 14:24:44 +01:00
Jonas Schievink
d7f4b6ab13 Update probe-run output to newer versions 2021-08-06 16:55:17 +02:00
Jorge Aparicio
5ff9fd0f8a move dk BSP to nrf52840-hal 0.12.1 2021-03-16 13:06:55 +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
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
Lotte Steenbrink
529f5ea34c use probe-run instead of dk-run 2020-08-17 14:34:07 +02:00
Jorge Aparicio
613f460978 align usb-2-solution and usb-3
closes #37
2020-07-16 12:09:01 +02:00
Jorge Aparicio
03f07025e3 add license 2020-07-10 11:15:54 +02:00
Jorge Aparicio
886487dee6 - spread out USB information
- add intermediate-step solutions
- add more hints
- refactor exercise & text to have the same amount of work on all OSes
- add `usb` parser solutions
- make `dk-run` less silent
- rename rtic binaries (shorter names)
- link to the main svd2rust API docs
2020-06-30 19:02:21 +02:00
Jorge Aparicio
ea2fc91029
Merge pull request #9 from ferrous-systems/puzzle-ch25
puzzle hints, recv_timeout, etc.
2020-06-25 11:40:21 +00:00
Jorge Aparicio
80cb2caa09 add a compiler fence before exiting
the rtt-target implementation is light on compiler fences so the compiler could
be doing unwanted reordering of memory operations. At least patch up a place
where these orderings may result in an observable change of behavior
2020-06-24 17:20:42 +02:00
Jorge Aparicio
9c1e496ef5 dk: print message before exiting 2020-06-24 16:57:53 +02:00
Lotte Steenbrink
56abdbad34 increase rtt buffer & number of attach retries 2020-06-24 15:32:04 +02:00
Lotte Steenbrink
d7cc36d237 boards/dk/src/lib.rs: increase rtt bufsz, set mode to blocking for beginner 2020-06-24 11:31:47 +02:00
Jorge Aparicio
8140c7bba9 WIP: show recv_timeout API
TODO update text
2020-06-23 11:28:27 +02:00
Jorge Aparicio
3983ee5310 - beginner and advanced Cargo features
- more work on advanced text
- update hex files
2020-06-11 13:48:35 +02:00
Jorge Aparicio
31c331c1a3 - dk: API docs
- advanced: adapt to changes in usb2 dependency
- dk: add reminder to connect the USB cable to port J3
2020-06-09 18:17:30 +02:00
Jorge Aparicio
53d10f9a4a squashed 2020-06-09 11:58:27 +02:00