Commit Graph

340 Commits

Author SHA1 Message Date
kalkyl
af9c7379f9 Add link to example in book 2024-07-08 22:53:50 +02:00
kalkyl
03f3a3389d Add example for shared I2C and SPI buses 2024-07-08 21:48:19 +02:00
kalkyl
028ca55f9c Add more docs and cross-links 2024-07-08 17:16:35 +02:00
kalkyl
87f6634349 Add example for sharing things between tasks 2024-07-08 13:58:36 +02:00
Dario Nieuwenhuis
5137ebab56
Merge pull request #3132 from oro-os/wiznet-version-check
wiznet: add version check to initialization sequence
2024-07-02 16:58:00 +00:00
Josh Junon
c4b88b5781
wiznet: add version check to initialization sequence 2024-06-30 23:56:17 +02:00
Krzysztof Królczyk
96cdf9c9e0
rp/i2c: add address flexibility and example
Previous i2c examples are using either blocking Embassy API
or e-h traits, this example uses Embassy pub API directly.

Signed-off-by: Krzysztof Królczyk <Krzysztof.Krolczyk@o2.pl>
2024-06-28 19:51:33 +02:00
9names
080b5869da Fix rngcore imports in examples 2024-06-25 21:07:09 +10:00
9names
1456900281 Replace joke seed with best RNG available 2024-06-25 20:47:27 +10:00
9names
7b9215c8b9 Use published version of reqwless 2024-06-25 20:33:55 +10:00
rafael
b927c22ac0 rustfmt 2024-06-24 22:12:18 +02:00
rafael
6dae3c02c0 comment the comments 2024-06-24 22:08:59 +02:00
rafael
d05817f89d rustfmt again 2024-06-24 21:33:42 +02:00
rafael
67e7532b4a rustfmt 2024-06-24 21:16:56 +02:00
rafael
32e9867b4e need to bring down binary size or flashing will corrupt the device 2024-06-24 20:51:31 +02:00
rafael
b05217b356 add wifi_webrequest example 2024-06-23 23:04:47 +02:00
Henrik Alsér
cfe8561550
Merge pull request #3044 from kalkyl/adc-multi
rp: Add multichannel ADC
2024-06-22 21:05:17 +00:00
rafael
8b903e8873 --binary-format bin in rp examples 2024-06-15 14:39:41 +02:00
rafael
a8581e242b typo: was missing "bin" 2024-06-14 21:43:12 +02:00
rafael
597b5d6337 probe-rs download 43439A0.bin --format bin --chip RP2040 --base-address 0x10100000 yields:
Error: --format has been renamed to --binary-format. Please use --binary-format bin instead of --format bin
2024-06-13 22:47:24 +02:00
Daniel Philipp
8b0cfde9a6
Clarified comments about the cortex_m::asm::delay functionality in al… (#3064)
* Clarified comments about the cortex_m::asm::delay functionality in all multiprio.rs examples

* fixed formatting

* Changed to using embassy_time::block_for()

* removed my formatting scripts

* specify embassy_time::Duration
2024-06-12 19:40:28 +02:00
Ulf Lilleengen
044b5c8921
Merge pull request #3040 from embassy-rs/embassy-time-0.3.1
prepare for embassy-time 0.3.1 release
2024-06-05 13:36:24 +00:00
kalkyl
bf36bec9bb rp: Add multichannel ADC 2024-06-05 09:42:08 +02:00
Ulf Lilleengen
30918c355b prepare for embassy-time 0.3.1 release 2024-06-04 09:02:41 +02:00
kalkyl
f9d8c68fc8 Add description 2024-06-04 01:20:19 +02:00
kalkyl
874d5f7c65 core atomic 2024-06-04 00:53:51 +02:00
kalkyl
03d8f99aa5 rp: Add zerocopy channel example 2024-06-04 00:38:51 +02:00
Ulf Lilleengen
cf0d227cca Prepare for embassy-sync 0.6.0 release 2024-05-29 12:09:55 +02:00
Dario Nieuwenhuis
e55f31bdc6 rp/pwm: rename channel->slice in args, misc fix. 2024-05-21 23:41:45 +02:00
Dan Groshev
b843f2546f
Add a CHANGELOG to embassy-usb-logger and bump its version 2024-05-20 14:25:32 +01:00
Dario Nieuwenhuis
e5fb96abe8
Merge pull request #2888 from FransUrbo/uart_r503
Added PIO UART examples for rp to talk to an R503 fingerprint scanner.
2024-05-20 13:03:14 +02:00
Tim Docker
9d783d3b35 refactor rp usb_serial example to use a task to run the usb 2024-05-12 21:43:01 +10:00
kalkyl
17d4f0173c spinlock + loop at end to allow defmt to flush properly 2024-05-11 16:09:20 +02:00
kalkyl
fd5412ffc5 rp: Add embedded-sdmmc example 2024-05-11 15:16:20 +02:00
kalkyl
108bfae30d rustfmt 2024-05-09 11:14:09 +02:00
kalkyl
dc108ca31d rp: Add raw interrupt handler example 2024-05-09 11:04:31 +02:00
Turbo Fredriksson
66ee0c44d3 Example and documentation on how to Calculate correct checksum.
+ Include the package format documentation.
+ Cycle through all three colours in three different speed.
- Remove the `write_cmd_bytes()`. Superfluous.
2024-05-01 12:08:13 +01:00
Turbo Fredriksson
61d0c068ff Finish the read part.
* Don't need separate task for this.
* **Must** read one byte at a time, then merge them into one Vec.
* To better demonstrate, cycle through the three colours Red, Blue,
  Purple.
2024-05-01 12:08:13 +01:00
Turbo Fredriksson
c24805b83d Added PIO UART examples for rp to talk to an R503 fingerprint scanner. 2024-05-01 12:08:13 +01:00
kalkyl
7896e8aba7 rp: WebUSB example - add Windows compatibility 2024-04-30 09:59:06 +02:00
Dario Nieuwenhuis
08314b0940
Merge pull request #2862 from AtoVproject/feature/web-usb-class
WebUSB implementation
2024-04-28 21:24:21 +02:00
Chris Maniewski
095af92791
feature: WebUSB capability implementation
This adds the WebUSB implementation as per
https://wicg.github.io/webusb/, using one in-endpoint and one
out-endpoint as well as an example for the RP2040 to illustrate this
capability.
2024-04-27 23:14:16 +02:00
Dario Nieuwenhuis
5732ee7ca9 Reduce use of the full futures crate. 2024-04-26 23:22:25 +02:00
Dario Nieuwenhuis
5b0735688d
Merge pull request #2846 from BjornTheProgrammer/main
Added PIO pwm examples for rp
2024-04-26 20:24:30 +00:00
Dario Nieuwenhuis
7bc92584e1
Merge pull request #2858 from jamesmunns/james/embassy-usb-0_2
embassy-usb: Update version and add changelog
2024-04-26 20:22:46 +00:00
James Munns
0d0d8e14e2 Update dependent versions 2024-04-23 19:48:16 +02:00
Bjorn
d2ba751c06 Changed attach to new 2024-04-21 10:00:57 -07:00
Bjorn
0a2d58ec5b Added PIO pwm examples for rp
Two additionally `rp` examples, `pio_pwm.rs`, which is a baremetal example of how to do pwm with pio, and `pio_servo.rs`, which is a more extended example of pwm and pio with servos.
2024-04-20 22:12:24 -07:00
Boris Faure
ae4fb433ae usb-hid: all the RequestHandler method accept &mut self 2024-04-15 19:57:18 +02:00
Boris Faure
9341ef3b47 examples: request_handler is mutable 2024-04-15 19:57:18 +02:00