Jan Niehusmann
d4743061fa
Use generic boot loader for rp2040-hal examples
...
Those examples should be independent of a specific board.
The generic boot loader increases their compatibility.
2022-08-11 11:56:41 +00:00
mqy
623457a498
fixed typos
2022-04-30 12:51:45 +10:00
Jonathan Pallant
7da16a726f
Fixing typos spotted in the review.
2021-12-26 19:39:16 +00:00
9names
55a8b4acf9
Re-export mod structs
2021-12-04 00:04:45 +11:00
Jonathan Pallant (42 Technology)
8e66ddcfb1
Switch to new rp2040-boot2 crate.
2021-10-18 10:53:17 +01:00
Jonathan Pallant (42 Technology)
d251627e47
Make trait comments more consistent.
2021-09-27 19:01:46 +01:00
Jonathan Pallant (42 Technology)
d5a07bc398
Remove hard coded clock speed from blink example.
2021-09-27 17:30:06 +01:00
Jonathan Pallant (42 Technology)
b0bcbe68d8
Update blinky example.
2021-09-27 14:47:25 +01:00
Andrea Nall
e3be4f8025
Massive GPIO refactor
...
Bring in line with atsamd-hal GPIO v2
Copied as much as possible. Docs lifted mostly as-is.
Also add sample BSP for the Feather RP2040 in boards/feather_rp2040
May include a few random fixes from currently futile attempt to get doctests working.
2021-07-03 10:32:43 +10:00
Andrea Nall
35464a1c4b
typo fix, rustfmt
2021-05-10 08:29:59 -05:00
Andrea Nall
2ef1343c05
add module to manage ownership of parts of SIO
2021-05-09 22:33:36 -05:00
Jennifer Wilcox
b3b7677f82
More review comments
2021-04-25 11:13:21 -05:00
Jennifer Wilcox
2e5c1fc0e3
Cleanup wacky imports in examples
2021-04-24 16:22:27 -05:00
Jennifer Wilcox
2c3a0956fa
Add input support, examples, SIO/PADS ownership
...
Sorry this is a large commit :(
This adds support for input pins, including pulling them high or low.
It also adds two examples: the start of a classic blinky LED example, and an example for reading input.
2021-04-24 16:18:57 -05:00