Commit Graph

7908 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
34a0f74456
Merge pull request #2893 from Ragarnoy/u16-spidevice
Make SpiDevice generic over Word size and implement u16 transfer
2024-05-20 11:30:28 +02:00
Dario Nieuwenhuis
78cdebbc95 embassy-embedded-hal: add support for all word sizes to async shared spi. 2024-05-20 10:56:43 +02:00
Dario Nieuwenhuis
31887b47bc embassy-embedded-hal: remove Word generic for blocking SpiDeviceWithConfig. 2024-05-20 10:56:43 +02:00
Ragarnoy
d64f46ff9e PR remarks 2024-05-20 10:56:43 +02:00
Ragarnoy
44cb4159a6 rustmft 2024-05-20 10:56:43 +02:00
ragarnoy
4dbec3402e Remove old embedded-hal trait implementations 2024-05-20 10:56:43 +02:00
Ragarnoy
02ee59fa1e Add Copy and 'static constraint to Word type in SPI structs 2024-05-20 10:56:43 +02:00
Ragarnoy
6df737a48c rustfmt 2024-05-20 10:56:43 +02:00
Ragarnoy
c5a183fa82 Improve flexibility by introducing SPI word size as a generic parameter 2024-05-20 10:56:43 +02:00
Dario Nieuwenhuis
621dbeceda
Merge pull request #2912 from brunob45/simple_capture
STM32 Input Capture
2024-05-20 08:49:12 +00:00
Dario Nieuwenhuis
a266948a7a
Merge pull request #2956 from tact1m4n3/uart-fix
Fix drop implementation of `BufferedUartRx` and `BufferedUartTx` in `embassy-rp`
2024-05-20 08:44:01 +00:00
Dario Nieuwenhuis
c74729bddf
Merge pull request #2960 from sourcebox/sync-additions
Consistent functions for Channel, PriorityChannel and PubSubChannel to return capacity and filling
2024-05-20 10:38:24 +02:00
Ulf Lilleengen
729f143269
Merge pull request #2962 from avsaase/rp-async-multiwritenorflash
rp/flash: implement `embedded_storage_async::nor_flash::MultiwriteNorFlash`
2024-05-19 11:02:05 +00:00
Alexander van Saase
e3e3728dae rp/flash: implement embedded_storage_async::nor_flash::MultiwriteNorFlash 2024-05-18 23:28:37 +02:00
Oliver Rockstedt
ab89993451 embassy-sync: Add capacity, free_capacity, len, is_empty and is_full functions to PubSubChannel 2024-05-18 14:01:23 +02:00
Oliver Rockstedt
f361c2e81c embassy-sync: Add capacity, free_capacity, len, is_empty and is_full functions to PriorityChannel 2024-05-18 13:48:40 +02:00
Oliver Rockstedt
3d9b502c7a embassy-sync: Add capacity and free_capacity functions to Channel 2024-05-18 13:37:51 +02:00
tact1m4n3
5b2535c8a2 fix(embassy-rp): fix drop implementation of BufferedUartRx and BufferedUartTx 2024-05-17 21:51:45 +03:00
James Munns
fa94b5cec0
Merge pull request #2954 from embassy-rs/jamesmunns-patch-1
FAQ: Fix section nesting
2024-05-17 12:13:21 +00:00
James Munns
c590e91c0b
FAQ: Fix section nesting 2024-05-17 14:11:42 +02:00
Dario Nieuwenhuis
86221cc040
Merge pull request #2952 from embassy-rs/jamesmunns-patch-1
FAQ: "How to add support for a new chip"
2024-05-17 12:59:39 +02:00
James Munns
4722bac07c
FAQ: "How to add support for a new chip"
This adds an opinionated process for supporting a brand new (family of) chip(s) in Embassy.
2024-05-17 11:07:47 +02:00
Dario Nieuwenhuis
128575aebe
Merge pull request #2950 from felipebalbi/add-stm32g0-i2c-async-example
stm32g0: add i2c_async example
2024-05-16 19:17:48 +00:00
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