Commit Graph

7868 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
763b57449f
Merge pull request #2928 from bobrippling/feat/usb-stall
rp: implement usb stall
2024-05-13 01:38:47 +02:00
Dario Nieuwenhuis
aaf4cb0cb2
Merge pull request #2934 from embassy-rs/example-papercuts
Fix misc example papercuts.
2024-05-12 23:16:57 +00:00
Dario Nieuwenhuis
b131108396 examples/stm32h7rs: add i2c example. 2024-05-13 01:11:49 +02:00
Dario Nieuwenhuis
66e3d4da8d examples/stm32: do not enable vbus detect by default, it doesn't work on all boards. 2024-05-13 01:11:49 +02:00
Dario Nieuwenhuis
09781db85d embassy-usb-synopsys-otg: default vbus_detect to false. 2024-05-13 01:11:49 +02:00
Dario Nieuwenhuis
e2dfdcb509 examples/stm32: reduce packet queue count to avoid OOM on smaller chips. 2024-05-13 01:11:49 +02:00
Dario Nieuwenhuis
fd97c52d78
Merge pull request #2931 from timbod7/timbod7-rp-usb-serial-example
refactor rp usb_serial example to use a task to run the usb
2024-05-12 23:07:48 +00:00
Dario Nieuwenhuis
b56a0419bd
Merge pull request #2933 from embassy-rs/update-stable
Update stable Rust.
2024-05-12 22:39:17 +00:00
Dario Nieuwenhuis
1c9bb7c2e1 time/generic-queue: fix ub in tests. 2024-05-13 00:35:46 +02:00
Dario Nieuwenhuis
a8f578751f tests/riscv32: workaround linking bug, update deps.
https://github.com/rust-embedded/riscv/issues/196
2024-05-13 00:16:24 +02:00
Dario Nieuwenhuis
a14319f51e stm32: allow some unused. 2024-05-13 00:00:36 +02:00
Dario Nieuwenhuis
623d3ec306 stm32/ospi: remove unused trait. 2024-05-12 23:41:46 +02:00
Dario Nieuwenhuis
43d51884e2 hal-internal: fix failing test due to not initializing ringbuf. 2024-05-12 23:40:32 +02:00
James Munns
9556e935f1
Merge pull request #2932 from embassy-rs/jamesmunns-patch-1
FAQ: add `patch.crates-io` example
2024-05-12 21:33:19 +00:00
Dario Nieuwenhuis
f30b298b0e Update stable Rust. 2024-05-12 23:31:42 +02:00
James Munns
61fa95f353
Update docs/modules/ROOT/pages/faq.adoc 2024-05-12 21:09:51 +02:00
James Munns
3294ca36ce
FAQ: add patch.crates-io example 2024-05-12 21:07:37 +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
Dario Nieuwenhuis
4cade64ebd
Merge pull request #2929 from kalkyl/sdmmc
rp: Add embedded-sdmmc example
2024-05-11 16:59:47 +00: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
Dario Nieuwenhuis
a0da566d22
Merge pull request #2927 from qiuweishengx/main
Fix: typo
2024-05-11 11:45:26 +02:00
Rob Pilling
84cd0c672b rp usb: wake ep-wakers after stalling 2024-05-10 16:27:08 +01:00
Rob Pilling
94b38449bd rp usb: add stall implementation 2024-05-10 16:27:08 +01:00
QWS
fe68308958 Fix: typo 2024-05-10 22:22:24 +08:00
Dario Nieuwenhuis
9cbbedef79
Merge pull request #2925 from timokroeger/ucpd-refactor
[UCPD] Use `ChannelAndRequest` helper
2024-05-10 08:49:07 +00:00
Timo Kröger
5c93e9dadd [UCPD] Use ChannelAndRequest helper 2024-05-10 10:37:56 +02:00
Dario Nieuwenhuis
4b4777e6bb
Merge pull request #2922 from Mirror0/qspi-example
Example usage of QSPI
2024-05-10 07:34:57 +00:00
Mateusz Butkiewicz
ee22e98fe1 feat(qspi): add example usage of QSPI 2024-05-10 07:58:30 +02:00
Dario Nieuwenhuis
a7eb9bced1
Merge pull request #2923 from kalkyl/interrupt
rp: Add raw interrupt handler example
2024-05-09 10:31:15 +00: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
Dario Nieuwenhuis
4a15945395
Merge pull request #2920 from plaes/stm32h7rs-cargo-warning
stm32: examples: Use unique crate name for stm32h7rs examples
2024-05-08 21:41:52 +00:00
Priit Laes
e94d4e6416 examples: Use unique crate name for stm32h7rs examples
Current name clashes with "regular" stm32h7 thus generating cargo
warning.
2024-05-08 10:13:51 +03:00
Dario Nieuwenhuis
1166bcd799
Merge pull request #2919 from embassy-rs/fix-peripheralref-deref
Fix PeripheralRef soundness issue allowing &T.
2024-05-07 21:32:45 +00:00
Dario Nieuwenhuis
b13ad7e80b Fix PeripheralRef soundness issue allowing &T.
Fix soundness issue introduced in a previous soundness fix https://github.com/embassy-rs/embassy/pull/2602 .
PeripheralRef must not implement DerefMut itself, but the blanket impl must still require DerefMut. Otherwise
you can create two instances of a driver on the same uart by using `&my_uart`.
2024-05-07 23:26:15 +02:00
Ulf Lilleengen
0f11fecff6
Merge pull request #2917 from davidskula/main
impl ReadReady for tcp call can_recv() insted of may_recv()
2024-05-07 20:40:45 +00:00
davidskula
87aca974b1 impl ReadReady for tcp call can_recv() insted of may_recv() 2024-05-07 16:07:00 +02:00
Dario Nieuwenhuis
dc30bcfa2e
Merge pull request #2914 from wetheredge/mutex-trait-parity
embassy_sync::Mutex: Implement traits to match std
2024-05-07 13:00:43 +00:00
W Etheredge
cc4ff9ef2d embassy_sync::Mutex: Implement traits to match std 2024-05-05 23:10:00 -05:00
Dario Nieuwenhuis
15c3ae8ef6
Merge pull request #2911 from onestacked/embassy-net-remove-unused-deps
Removes some unused dependencies in embedded-net.
2024-05-05 18:48:47 +00:00
onestacked
1da9e326bb Removes some unused dependencies in embedded-net. 2024-05-05 19:43:35 +02:00
Dario Nieuwenhuis
0cbdd8b9c8
Merge pull request #2904 from PegasisForever/bdma_example
Add example for bdma
2024-05-04 20:03:07 +00:00
Dario Nieuwenhuis
2ba8a7b015
Merge pull request #2908 from honzasp/timer-get-clock-frequency
stm32/timer: add `low_level::Timer::get_clock_frequency()`
2024-05-04 20:01:52 +00:00
Jan Špaček
7b3939ca80 stm32/timer: add low_level::Timer::get_clock_frequency() 2024-05-04 19:44:03 +02:00
Pegasis
1c10339f47 format 2024-05-03 08:17:29 -04:00
Pegasis
3e87dae578 add example for bdma 2024-05-03 08:14:32 -04:00
Dario Nieuwenhuis
45a2abc392
Merge pull request #2901 from embassy-rs/h7rs
stm32/i2c: actually add h7rs support.
2024-05-01 17:21:48 +02:00
Dario Nieuwenhuis
366f6215c3 stm32/i2c: actually add h7rs support. 2024-05-01 17:00:02 +02:00
Dario Nieuwenhuis
7e7d818b87
Merge pull request #2900 from embassy-rs/h7rs
stm32/i2c: add h7rs support.
2024-05-01 14:46:48 +00:00