Lotte Steenbrink
351cce7c16
usb-2-solution.rs: cleanup, move addr setting into helper
2020-07-02 18:50:37 +02:00
Lotte Steenbrink
e5728a440f
first sketch: pre-impl set_address to make ws work for mac os users (works; not ported, not cleaned up)
2020-07-02 18:07:16 +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
1f65e197a8
Merge pull request #13 from ferrous-systems/beginner_from_scratch_blinky
...
beginner/README.md: add some tips for first steps in your project from scratch
2020-06-26 09:04:09 +00:00
Lotte Steenbrink
89e9dbcf52
move interrupt handlung and embedded rust down, add link to LEDs
2020-06-26 10:58:05 +02:00
Lotte Steenbrink
0d3d62de23
beginner/README.md: add some tips for first steps in yur project from scratch
2020-06-26 10:17:00 +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
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
Lotte Steenbrink
9f75508416
Merge pull request #12 from ferrous-systems/beginner_from_scratch
...
First pass through "Beginner from scratch" section
2020-06-24 17:10:41 +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
Lotte Steenbrink
4e246e03af
beginner/README.md: add todo
2020-06-24 15:55:40 +02:00
Lotte Steenbrink
21a4321634
linking the spec is shorter than pointing to the refs
2020-06-24 15:50:01 +02:00
Lotte Steenbrink
a57be20681
beginner/README.md: improve layout
2020-06-24 15:48:15 +02:00
Lotte Steenbrink
87386e54f0
Merge pull request #10 from ferrous-systems/beginner_rtt_blocking
...
Beginner rtt blocking
2020-06-24 15:37:07 +02:00
Lotte Steenbrink
56abdbad34
increase rtt buffer & number of attach retries
2020-06-24 15:32:04 +02:00
Jorge Aparicio
8c46276f64
demistify string literals early on
2020-06-24 15:16:28 +02:00
Lotte Steenbrink
e41797767a
beginner/README.md: spell out ABI acronym once
2020-06-24 15:07:57 +02:00
Jorge Aparicio
6386e6aeb7
Merge pull request #11 from ferrous-systems/cargo_fmt_all_the_things
...
radio-send.rs: run cargo fmt
2020-06-24 10:06:45 +00:00
Lotte Steenbrink
f52ea9e6aa
radio-send.rs: run cargo fmt
2020-06-24 11:45:43 +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
Lotte Steenbrink
86c0c25534
dk-run: fix typo
2020-06-24 10:57:46 +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
1548a036ce
Merge pull request #8 from ferrous-systems/dk_run_timeout
...
retry Rtt::attach_region()
2020-06-23 09:36:26 +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
Lotte Steenbrink
080e96d290
respond to jorges reviw– use expect(unreachable) // reason
2020-06-22 22:55:27 +02:00
Lotte Steenbrink
f502132139
respond to jorges reviw– fix off by one err
2020-06-22 22:54:47 +02:00
Lotte Steenbrink
35a78540c0
respond to jorges reviw– make error messages more useful
2020-06-22 22:44:11 +02:00
Lotte Steenbrink
71579aaa9f
sketch
2020-06-19 15:58:07 +02:00
Lotte Steenbrink
07cdaf5212
reset debug level
2020-06-19 11:35:43 +02:00
Lotte Steenbrink
b65b432762
control flow cleanup
2020-06-19 11:34:44 +02:00
Lotte Steenbrink
3fac13606e
cleanup unused deps, debug output
2020-06-19 11:02:18 +02:00
Lotte Steenbrink
482ddc59d0
bup: it works!
2020-06-19 10:54:20 +02:00
Lotte Steenbrink
ed537ec7e1
dk-run: rename first rtt to rtt_addr for clarity
2020-06-19 09:27:33 +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