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
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
Jomer.Dev
6f505feeb1
Add example
2024-01-08 00:21:02 +01:00
Scott Mabin
f85898771b
New embassy-net release
2024-01-04 16:06:59 +00:00
Dario Nieuwenhuis
eb7197c5b7
examples: configure executor task arena sizes.
2024-01-02 18:13:25 +01:00
Dario Nieuwenhuis
8b36a32ed5
ci: use beta, add secondary nightly ci.
2023-12-21 15:03:57 +01:00
Ulf Lilleengen
0acf7b09c3
chore: replace make_static! macro usage with non-macro version
2023-12-21 10:29:57 +01:00
Dario Nieuwenhuis
d81395fab3
Update embedded-hal to 1.0.0-rc.3
2023-12-14 16:19:32 +01:00
Jesse Braham
925f5cbc26
Update all references to embasy-executor
to the latest version
2023-12-06 12:05:47 +01:00
Scott Mabin
334900752a
update release version in examples and other crates
2023-12-04 13:15:10 +00:00
Dario Nieuwenhuis
c6989dfbca
Remove nightly and unstable-traits features in preparation for 1.75.
2023-11-29 17:26:33 +01:00
Dario Nieuwenhuis
4634316749
Update embedded-(hal,io,nal).
2023-11-29 17:01:36 +01:00
Dario Nieuwenhuis
1b9925e3da
Move embassy-lora, lora examples to lora-phy repo.
2023-11-29 16:26:31 +01:00
James Munns
f3c77e59c4
Add docs, touch all linker fragments
2023-11-19 23:10:11 +01:00
James Munns
30424d83ff
Update RP2040 memory.x
...
The RP2040 has 264KiB of memory, not 256KiB.
2023-11-19 23:10:11 +01:00
Dario Nieuwenhuis
1f9b649f80
executor: release v0.3.3
2023-11-15 18:44:01 +01:00
Dario Nieuwenhuis
4647df14b1
Update heapless to v0.8, embedded-nal-async to v0.7
2023-11-10 16:43:53 +01:00
Dario Nieuwenhuis
0b015bd727
usb: remove msos-descriptor feature.
2023-11-08 23:21:52 +01:00
kalkyl
8effff3383
rp: Remove control handler from USB raw bulk example
2023-11-07 20:45:01 +01:00
kalkyl
d44383e9a7
fmt
2023-11-07 20:19:56 +01:00
kalkyl
37a773c037
Use driver reexport
2023-11-07 20:17:19 +01:00
kalkyl
d1adc93614
rp: Add USB raw bulk example
2023-11-07 19:57:05 +01:00
kalkyl
e3fe13e905
Add docs
2023-11-07 10:58:35 +01:00
kalkyl
38bfa6916f
Update pio-uart example
2023-11-07 09:15:21 +01:00
kalkyl
50139752bc
Add comments
2023-11-07 09:10:18 +01:00
kalkyl
db4cd73894
rp: Add USB raw example + msos descriptor to examples and usb-logger
2023-11-07 09:05:10 +01:00
kalkyl
649f1a122a
Cleanup
2023-11-03 00:41:16 +01:00