Commit graph

53 commits

Author SHA1 Message Date
Mirabellensaft
fcecb34a09 bump versions 2022-12-06 18:14:36 +01:00
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
Lotte Steenbrink
c3b1477a13 also fix puzzle-nousb 2021-05-05 19:04:12 +02:00
Lotte Steenbrink
f4d9946066 rm confusors 2021-05-05 18:59:49 +02:00
Lotte Steenbrink
b6e7ef7cbe proper secret 2021-05-05 18:59:26 +02:00
Lotte Steenbrink
26d0c608ee update puzzles 2021-05-05 18:52:17 +02:00
Lotte Steenbrink
6aec296ae3 puzzle 2021-05-05 18:18:30 +02:00
Lotte Steenbrink
8a97ed031b oop loopback 2021-05-05 18:08:11 +02:00
Lotte Steenbrink
c3ac527dea adjust README 2021-05-05 14:29:14 +02:00
Lotte Steenbrink
37fb48192e add new elf files 2021-05-05 14:11:15 +02:00
Lotte Steenbrink
0a1f960073 move dongle src files to embedded20202 repo 2021-05-05 14:03:28 +02:00
Lotte Steenbrink
015503015d move hex files to dongle/deprecated_hex; add note 2021-05-05 13:07:52 +02: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
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
bf4796f5a9 update docs 2021-01-26 11:04:58 +01:00
Lotte Steenbrink
aaab45189d make cargo xtask runnable from root 2021-01-26 09:48:13 +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
c692e0fa9c change the puzzle secret string 2020-12-09 18:20:02 +01:00
Dave Hylands
172dbc17cd Update cross compilation target
Use the target actually mentioned in the .cargo/config file.

Updated the output in the troubleshooting page and
also updated the target for the board/dongle.
2020-09-16 17:45:40 -07: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
9f7bfe3384 add no-USB variants of the Dongle programs
these are for the case where USB functionality fails and compromises the radio
functionality
2020-07-15 14:09:25 +02:00
Jorge Aparicio
eae0da0153 update hex files 2020-07-13 16:56:04 +02:00
Jorge Aparicio
03f07025e3 add license 2020-07-10 11:15:54 +02:00
Jorge Aparicio
e093f48807 remove outdated code; add puzzle source code 2020-07-09 18:58:26 +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
c918a995d7 make the puzzle dongle app operate on channel 25
and adjust puzzle-radio starter code accordingly

this reduces the chance of people using puzzle-radio with the wrong dongle
app (i.e. loopback); that would lead to them getting response different than
what's indicated in the text

I have also added the app name to the dongle / serial-term output:

``` text
deviceid=75fa82ad7588b3c7 channel=20 TxPower=+8dBm app=loopback.hex
```
2020-06-23 11:28:27 +02:00
Jorge Aparicio
8140c7bba9 WIP: show recv_timeout API
TODO update text
2020-06-23 11:28:27 +02:00