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
Dario Nieuwenhuis
4d4cbc0dd3
Merge pull request #2812 from borisfaure/mut-hid-request-handler
...
usb::hid::RequestHandler::set_report(&mut self, ...)
2024-04-23 17:42:56 +00:00
Joël Schulz-Ansres
01b36a4434
rustfmt usb examples
2024-04-22 01:06:59 +02:00
Joël Schulz-Ansres
896d0e7cd8
Add comment on vbus_detection to all USB examples
2024-04-22 00:52:37 +02:00
Dario Nieuwenhuis
d6b1233f16
stm32/usart: remove DMA generic params.
2024-04-16 02:00:55 +02:00
Dario Nieuwenhuis
913bb19a34
stm32/i2c: remove DMA generic params.
2024-04-15 23:40:12 +02:00
Dario Nieuwenhuis
be087e5d43
stm32/spi: remove DMA generic params.
2024-04-15 21:23:49 +02: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
Vega Deftwing
9053b6b5b3
Fix spelling and white space mistakes
2024-04-11 19:45:38 +00:00
Andres Vahter
fd901fc7e0
stm32: update adc examples
2024-04-10 10:57:52 +03:00
Barnaby Walters
effc08dde3
Incorporated adam’s suggestion into all multiprio comments
2024-04-07 16:22:42 +02:00
Barnaby Walters
56d34eefaa
Apply suggestions from code review
...
Co-authored-by: becothas <41289937+becothas@users.noreply.github.com>
2024-04-07 15:33:51 +02:00
Barnaby Walters
cf0097162c
[embassy-stm32] added comments explaining multiprio interrupts
2024-04-07 15:19:56 +02:00
Barnaby Walters
99ea564f1c
Add VBUS detection blackpill comment
2024-04-05 22:11:01 +02:00
Dario Nieuwenhuis
c8936edb6c
stm32/can: simplify bxcan api, merging bx::* into the main structs.
...
The bx::* separate structs (Can, Rx, Tx) and separate `Instance` trait
are a relic from the `bxcan` crate. Remove them, move the functionality
into the main structs.
2024-04-02 11:08:03 +02:00
Dario Nieuwenhuis
1171e11655
Merge pull request #2730 from embassy-rs/stm32-sealed
...
stm32: use private_bounds for sealed traits.
2024-03-23 01:55:42 +01:00
Dario Nieuwenhuis
389cbc0a77
stm32/timer: simplify traits, convert from trait methods to struct.
2024-03-23 01:37:28 +01: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
4858a53a39
stm32/usb: ensure mux is configured in examples.
2024-03-19 22:10:59 +01:00
Dario Nieuwenhuis
530ff9d4d3
stm32/usb: merge usb and usb_otg into single module.
2024-03-19 22:07:16 +01:00
Vo Trung Chi
9f699e5772
stm32: add usb_hid_keyboard example
...
Signed-off-by: Vo Trung Chi <votrungchi_108@live.com>
2024-03-14 23:14:43 +07:00
Corey Schuhen
242759a600
Use Result instead of Option for Frame creation.
2024-03-13 17:46:50 +10:00
Corey Schuhen
12a3af5043
Shared frame types.
...
Remove BXCAN speciffic id and frame modules
Remove SizedClassicData
2024-03-13 17:46:50 +10:00
Corey Schuhen
65b38cf755
Fix examples and improve imports required.
2024-03-07 17:45:01 +10:00
Dario Nieuwenhuis
aaea056ed1
Merge pull request #2664 from eZioPan/build-target-fix
...
ci stm32: build target fix
2024-03-06 18:51:25 +00:00
Dario Nieuwenhuis
f3efa4ee3b
stm32/rtc: remove use of deprecated .timestamp()
2024-03-06 19:45:57 +01:00
Vo Trung Chi
5d53348c76
stm32: add usb_hid_mouse example
...
Signed-off-by: Vo Trung Chi <chi.votrung@vn.bosch.com>
2024-03-07 00:59:49 +07:00
Vo Trung Chi
61653229b6
stm32: add usb_hid_mouse example
...
Signed-off-by: Vo Trung Chi <chi.votrung@vn.bosch.com>
2024-03-07 00:57:18 +07:00
Vo Trung Chi
315fb040ee
stm32: add usb_hid_mouse example
...
Signed-off-by: Vo Trung Chi <chi.votrung@vn.bosch.com>
2024-03-07 00:46:27 +07:00
Dario Nieuwenhuis
7e02389995
Merge pull request #2410 from eZioPan/waveform-on-CHx
...
impl waveform with TIM OC Channel DMA
2024-02-01 01:02:01 +00:00
Dario Nieuwenhuis
3387ee7238
stm32/gpio: remove generics.
2024-01-22 21:31:06 +01: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
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
eZio Pan
424ddaf3d9
impl waveform with TIM Channel
2024-01-06 22:22:38 +08: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
eZio Pan
c276da5fcb
ask a DMA Channel only when use .gen_waveform()
2024-01-02 14:01:09 +08:00
eZio Pan
873ee06151
some trivial fix
...
use less #[cfg] macro; reuse same variable
2023-12-30 12:01:08 +08:00
eZio Pan
8c2a6df03b
implement PWM waveform generating with DMA
2023-12-28 20:09:12 +08:00
eZio Pan
d90a97aa4c
update metapac after stm32-data PR323
...
and refactor a few code with cargo clippy
2023-12-25 22:03:32 +08:00
eZio Pan
dcd4e6384e
enable output compare preload for TIM
...
keep output waveform integrity
2023-12-23 19:53:02 +08:00
eZio Pan
2f75ffb233
remove unused feature attribute
2023-12-22 01:31:25 +08:00
eZio Pan
53fc344e4d
fix timing, turn TIM UDE on only necessary, clean DMA FEIF after each Transfer
2023-12-22 01:24:31 +08:00
eZio Pan
d7e517e2d3
Merge branch 'main' into stm32f4-example-ws2812-spi
2023-12-22 00:19:00 +08: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
Ulf Lilleengen
1c3cf347cb
remove embedded-sdmmc
...
Remove support for embedded-sdmmc due to lack of maintainership. Bring
it back once the upstream includes the async functionality.
2023-12-20 13:25:36 +01:00
Dario Nieuwenhuis
189b15c426
stm32/timer: docs.
2023-12-19 17:35:38 +01:00