Commit Graph

301 Commits

Author SHA1 Message Date
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
Gustav Toft
4ffe35c840 Merge branch 'main' of https://github.com/embassy-rs/embassy 2024-04-10 13:26:59 +02:00
pawel00100
143b288333 Add parameter for enabling pull-up and pull-down in RP PWM input mode 2024-04-05 01:20:34 +02:00
Dario Nieuwenhuis
a84b33995e rp: remove mod sealed. 2024-04-05 00:48:46 +02:00
Gustav Toft
a373633d0d Merge branch 'main' of https://github.com/GustavToft/embassy 2024-04-04 15:52:44 +02:00
Gustav Toft
0427c442ea Implement raw sockets in embassy-net 2024-04-04 15:51:25 +02:00
Alexandru RADOVICI
aa9eb2ab01 rename PWM_CH to PWM_SLICE 2024-04-02 17:20:35 +03:00
Adam Greig
7cf6490fba
usb: remove device_descriptor buffer, store bytes in UsbDevice.inner instead 2024-03-23 00:35:15 +00:00
Dario Nieuwenhuis
eca9aac194 Fix warnings in recent nightly. 2024-03-20 16:39:09 +01:00
Haobo Gu
a0afd378f4 update usbd-hid to latest
Signed-off-by: Haobo Gu <haobogu@outlook.com>
2024-02-26 17:28:29 +08:00
Mick Chanthaseth
bae30fb397
removed extra spaces. 2024-02-19 15:41:15 -08:00
Mick Chanthaseth
9c870981e3
fixed formatting in usb_hid_mouse.rs 2024-02-19 15:28:57 -08:00
Mick Chanthaseth
f3b96d8ba0
Updated formatting in usb_hid_mouse.rs. 2024-02-19 15:14:28 -08:00
Mick Chanthaseth
7609313a75
Merge branch 'embassy-rs:main' into main 2024-02-16 22:27:06 -08:00
Mick Chanthaseth
0097cbcfe3
Update imports in usb_hid_mouse.rs 2024-02-16 22:22:13 -08:00
Dario Nieuwenhuis
b7c98b9ec9
Merge pull request #2558 from CBJamo/ws2812_write_fixup
RP: Add explicit reset time to ws2812 write fn.
2024-02-17 01:49:20 +00:00
Caleb Jamison
bd0b450ca4 Improve rp2040 i2c slave
This commit takes the fixes and error reporting improvements from
jcdickinson's work and applies them without overlaying a software state
machine on top of the hardware state machine.

Also allows configuration of response to 'general call' writes.
2024-02-15 17:56:50 -05:00
Ulf Lilleengen
a2b7b0c8e0
Merge pull request #2414 from JomerDev/usb-logger-without-device
Adds function and macro to create usb logger without device (also fixes a logger issue)
2024-02-12 20:04:57 +00:00
Mick Chanthaseth
58fa5e57b6
added usb_hid_mouse example for rp 2024-02-11 16:04:06 -08:00
Caleb Jamison
b4dc406e19 Switch to ticker 2024-02-10 17:00:10 -05:00
Caleb Jamison
c873dcbb20 Add explicit reset time to ws2812 write fn. 2024-02-10 16:55:32 -05:00
Stefan Gehr
b9d0069671
correct spelling of the word "receive" 2024-02-03 14:56:31 +01:00
Caleb Jamison
8b7d856195 Rename timeout_at to with_deadline 2024-01-31 16:26:11 -05:00
Caleb Jamison
1e698af05b Add timeout_at convenience function and example. 2024-01-31 14:10:31 -05:00
Dario Nieuwenhuis
ee0ebe3121 rp/gpio: remove generics. 2024-01-22 21:32:10 +01:00
Dennis Ranke
7931fcfb3d fix wrong formatting due to not using nightly rustfmt 2024-01-20 16:35:09 +01:00
Dennis Ranke
69d4b42841 add pio_i2s example for RP2040 2024-01-20 16:08:32 +01:00
umgefahren
6ca43030db feat: Extended the Scan API 2024-01-19 23:51:57 +01:00
9names
850fe7251a Add cyw43 package versions to rp-examples Cargo.toml 2024-01-13 09:01:11 +11:00
Dario Nieuwenhuis
22197320ff bump embassy-time 0.3, embassy-executor 0.5, embassy-net 0.4. 2024-01-11 23:01:24 +01:00
Ulf Lilleengen
50630192b8 fix: revert unintended change 2024-01-10 10:02:26 +01:00
Ulf Lilleengen
de08da0bf1 rustfmt 2024-01-10 09:54:35 +01:00
Ulf Lilleengen
ff5f5021fb cleanup docs and add channel synchronization example 2024-01-10 09:52:46 +01:00
Ulf Lilleengen
b867245894 simplify example 2024-01-10 09:23:53 +01:00
Ulf Lilleengen
be3c70d455
Merge pull request #2417 from vasilNnikolov/mutex_rp_example
Add example of pin sharing between tasks
2024-01-10 07:25:47 +00:00
Dario Nieuwenhuis
495b8b739a Change GPIO inherent methods back to &self.
With the embedded-hal rc3 update I changed them to require `&mut self`, but
in retrospect I think `&self` is better, for extra flexibility.

This PR reverts the changes from the rc3 update to inherent methods.
2024-01-10 00:00:10 +01:00
Vasil Nikolov
4843c060d0 no need for a PeripheralRef 2024-01-10 00:47:45 +02:00
Dario Nieuwenhuis
c9ac39df94 Update embedded-hal to v1.0 2024-01-09 23:37:14 +01:00
Vasil Nikolov
ebf46d37aa remove unused import 2024-01-09 00:35:11 +02:00
Vasil Nikolov
2498fbdf52 add example of pin sharing between tasks 2024-01-09 00:26:48 +02:00