Commit graph

34 commits

Author SHA1 Message Date
Jorge Aparicio
b99f217b25 address Lotte's feedback
- removed 'in their value' from text
- elaborate a bit more on the type level diff between `[b'H', b'i']` and `b"Hi"`
- note that not being fully 802.15.4 compliant is not an issue for the workshop
  exercises
- use `b'A'` syntax in hints now that it has been covered early on
- use large enough capacity in hints
- for consistency, set channel first thing in all hints
2020-06-25 13:28:58 +02:00
Jorge Aparicio
cbbfda6009
Update beginner/README.md
Co-authored-by: Lotte Steenbrink <lotte@zombietetris.de>
2020-06-25 09:01:47 +00:00
Jorge Aparicio
6c96af97ae
Update beginner/README.md
Co-authored-by: Lotte Steenbrink <lotte@zombietetris.de>
2020-06-25 08:50:56 +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
Jorge Aparicio
c334e9f0f7 add solutions 2020-06-24 16:38:01 +02:00
Jorge Aparicio
8c46276f64 demistify string literals early on 2020-06-24 15:16:28 +02:00
Jorge Aparicio
9c32bafa05
Update beginner/README.md
Co-authored-by: Lotte Steenbrink <lotte@zombietetris.de>
2020-06-23 11:24:41 +00:00
Jorge Aparicio
e64576a126
Update beginner/README.md
Co-authored-by: Lotte Steenbrink <lotte@zombietetris.de>
2020-06-23 11:24:31 +00:00
Jorge Aparicio
ea4f4e2cfc - use recv_timeout everywhere
- add notes about literals
- add note about delay between send & recv
2020-06-23 11:30:04 +02:00
Jorge Aparicio
affd4fa9c5 another hint: do not use str or char 2020-06-23 11:28:27 +02:00
Jorge Aparicio
515186020c WIP: add puzzle hints 2020-06-23 11:28:27 +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
Jorge Aparicio
806c4f09a0
Merge pull request #6 from ferrous-systems/simplify_puzzle
Simplify puzzle
2020-06-17 12:39:40 +00:00
Lotte Steenbrink
ca98eff912 beginner/README.md: note that Dongle wiull always send vaid UTF-8, driveby fix whitespace errs 2020-06-17 14:33:19 +02:00
Lotte Steenbrink
e8c5acfe9a radio-puzzle.rs: simplify error handling, add explanatory comments 2020-06-17 14:30:07 +02:00
Jorge Aparicio
6902a5e81b
Merge pull request #4 from ferrous-systems/add-ci
Add CI
2020-06-17 09:29:22 +00:00
Lotte Steenbrink
b50f46ae59 build advanced/irmware instead 2020-06-17 11:16:40 +02:00
Lotte Steenbrink
95de849c4a drive-by: note libusb and libudev-dev deps 2020-06-17 10:53:41 +02:00
Lotte Steenbrink
65d130175a Create rust.yml 2020-06-17 10:53:24 +02:00
Jorge Aparicio
fcf0e310ab - rework RTIC resources section in the adv. material
- change the USB PID so it matches the date of the workshop
2020-06-16 10:21:25 +02:00
Jorge Aparicio
b7297fa2ab
Merge pull request #2 from ferrous-systems/rm_unused_imports
serial-term, radio-send: rm unused imports
2020-06-15 09:43:52 +00:00
Lotte Steenbrink
c81391066d serial-term, radio-send: rm unused imports 2020-06-15 11:42:37 +02:00
Jorge Aparicio
f829ad46ae - Real Time for The Masses has been renamed to RTIC
- add 'project from scratch' section to the beginner workshop
2020-06-12 17:54:45 +02:00
Jorge Aparicio
75f41a47c4 - remove outdated notes
- VS: you can open more than one folder in the same VS workspace
- current folder in VS code needs to be set to beginner/apps for "Run" to appear
- rename `lsusb` to `usb-list`
- recommend `usb-list` over `lsusb`
- make `serial-term` behave like `screen`
2020-06-12 11:45:57 +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
e212e819b9
Merge pull request #1 from ferrous-systems/mac_setup
README: add mac os setup instructions
2020-06-09 15:36:42 +00:00
Lotte Steenbrink
6a0060e13c README.md: update text regarding probe-rs-cli info error 2020-06-09 17:21:21 +02:00
Lotte Steenbrink
4a007a8835 README.md: add python instructions for mac os 2020-06-09 16:58:10 +02:00
Lotte Steenbrink
5d92c84764 README.md: resolve mac os TODOS for Development Kit, improve formatting 2020-06-09 14:49:07 +02:00
Lotte Steenbrink
25d6762b72 README.md: resolve mac OS todos for Dongle, VSCode 2020-06-09 14:19:46 +02:00
Jorge Aparicio
53d10f9a4a squashed 2020-06-09 11:58:27 +02:00