Commit Graph

7878 Commits

Author SHA1 Message Date
Felipe Balbi
57d9bfd343 stm32g0: add i2c_async example
This example will help those having difficulties understanding how to
bind interrupts on stm32g0 devices.
2024-05-16 12:15:43 -07:00
Dario Nieuwenhuis
d45638be1b
Merge pull request #2947 from felipebalbi/add-shared-bus-example
stm32h7: add shared bus example
2024-05-16 16:41:23 +00:00
Felipe Balbi
3ef62eef53 stm32h7: add shared bus example 2024-05-16 09:38:13 -07:00
Dario Nieuwenhuis
17dde65ac2 net-esp-hosted: fix missing enabling defmt feature in heapless. 2024-05-15 22:28:51 +02:00
James Munns
ea70b440cd
Merge pull request #2940 from qiuweishengx/main
Fix: typo
2024-05-14 07:51:34 +00:00
QWS
c3db435011 Fix: typo 2024-05-14 15:48:00 +08:00
Dario Nieuwenhuis
e1435195cb
Merge pull request #2939 from embassy-rs/u0-hil
stm32/tests: add stm32u0 hil.
2024-05-13 14:23:05 +00:00
Dario Nieuwenhuis
7089e5b586 stm32/tests: add stm32u0 hil. 2024-05-13 16:20:52 +02:00
Ulf Lilleengen
3c52ef60b1
Merge pull request #2937 from qiuweishengx/main
In the start_xosc function, the frequency range is set twice.
2024-05-13 12:39:36 +00:00
QWS
75cf17994f In the start_xosc function, the frequency range is set twice. Remove the redundant one. 2024-05-13 19:48:23 +08:00
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