Florian Gilcher
f2895b2926
Fix typo: constrains -> constraints
2020-07-09 09:55:14 +02:00
Jorge Aparicio
4115de0745
Merge pull request #18 from ferrous-systems/tool-up
...
update setup: install v0.8 of cargo-{embed,flash}
2020-07-08 15:11:08 +00:00
Jorge Aparicio
16fb9af7cc
fix udev path
2020-07-08 17:02:54 +02:00
Jorge Aparicio
682175b377
update setup: install v0.8 of cargo-{embed,flash}
2020-07-08 16:54:38 +02:00
Tanks Transfeld
3edfd32483
Merge pull request #17 from ferrous-systems/add-beginner-mdbook
...
make beginner readme into mdbook
2020-07-08 15:21:24 +02:00
Mirabellensaft
c4e3ebdaa7
delete beginner README.md
2020-07-08 15:18:43 +02:00
Mirabellensaft
e2fca6ce0a
make beginner readme into mdbook
2020-07-08 15:06:49 +02:00
Lotte Steenbrink
2dd5d8d73f
Merge pull request #15 from ferrous-systems/usb_set_address
...
pre-implement USB SET_ADDRESS request handling
2020-07-03 17:08:00 +02:00
Lotte Steenbrink
cc0d844024
run cargo fmt
2020-07-03 17:00:01 +02:00
Lotte Steenbrink
83f92ab02b
update text in advanced/README.md
2020-07-03 16:53:54 +02:00
Lotte Steenbrink
c48dd306f4
usb-3-solution.rs, usb-2.rs: rm trailing commata
2020-07-03 16:28:16 +02:00
Lotte Steenbrink
88d713d65f
usb-4.rs: unify
2020-07-03 16:27:48 +02:00
Lotte Steenbrink
bb7ea8f685
usb-3, sb-3-solution.rs, get-descriptor-configuration.rs: handle SET_ADDRESS
2020-07-03 15:51:39 +02:00
Lotte Steenbrink
bffed51a77
lib.rs: unify instruction comment formatting
2020-07-03 15:25:29 +02:00
Lotte Steenbrink
44d3bfe32a
get-descriptor-device.rs: add SET_ADDRESS handling; comments to solution
2020-07-03 15:25:01 +02:00
Lotte Steenbrink
c3d680e76d
re coments: move TODO instructions in usb-2
2020-07-03 15:15:30 +02:00
Lotte Steenbrink
f2cc43b55f
re review. point to usb spec for wvalue etc
2020-07-03 14:49:54 +02:00
Lotte Steenbrink
4bd350c948
usb/src/lib.rs: make set_address() run by default, move upwards
2020-07-03 12:22:58 +02:00
Lotte Steenbrink
08884f1718
aaaaand remove DeviceState too
2020-07-03 12:16:59 +02:00
Lotte Steenbrink
2b3e9a73b7
respond to comments: ignore set_address for now
2020-07-03 12:04:05 +02:00
Lotte Steenbrink
a72886059f
advanced/common/usb/lib.rs: cleanup– rm GET_DESCRIPTOR handling, suggest outline
2020-07-02 18:50:42 +02:00
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