Commit Graph

7953 Commits

Author SHA1 Message Date
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
Bruno Bousquet
969933cb7b fix fmt for ci 2024-05-06 02:52:22 -04:00
Bruno Bousquet
55c8d3f474 add async capture 2024-05-06 02:47:42 -04:00
W Etheredge
cc4ff9ef2d embassy_sync::Mutex: Implement traits to match std 2024-05-05 23:10:00 -05:00
Bruno Bousquet
b662dfb183 format timer/mod.rs 2024-05-05 23:15:00 -04:00
Bruno Bousquet
7b04b0166b cleanup for PR 2024-05-05 23:05:06 -04:00
Bruno Bousquet
29d6fa0a4a add get_input_interrupt 2024-05-05 23:00:48 -04:00
Bruno Bousquet
431a60ca63 formatting 2024-05-05 22:30:16 -04:00
Bruno Bousquet
ad66dc3aab create input_capture 2024-05-05 21:58:54 -04: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
Joël Schulz-Ansres
bcbb486311 Feature-gate u5 2024-05-02 15:57:52 +02:00
Joël Schulz-Ansres
f29deb2488 Add feature gate for f7 2024-05-02 15:39:53 +02:00
Joël Schulz-Ansres
4c55931b6a Remove redundant dsi_phy: None from rcc 2024-05-02 14:58:38 +02:00
Joël Schulz-Ansres
f468d84a5b Cargo format 2024-05-02 13:50:07 +02:00
Joël Schulz-Ansres
9fe50a7639 Add stm32 dsihost driver 2024-05-02 13:43:42 +02: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
Dario Nieuwenhuis
b3ca42f8f9 stm32/i2c: add h7rs support. 2024-05-01 16:33:34 +02:00
Dario Nieuwenhuis
1b582c6830
Merge pull request #2894 from kalkyl/webusb-win
rp: WebUSB example - add Windows compatibility
2024-05-01 16:31:45 +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
Dario Nieuwenhuis
318425040a
Merge pull request #2898 from embassy-rs/h7rs
stm32: add support for STM32H7[RS] "bootflash line", add HIL tests.
2024-05-01 02:34:58 +02:00
Dario Nieuwenhuis
fb67fe0a6c stm32: add support for STM32H7[RS] "bootflash line", add HIL tests. 2024-05-01 02:24:45 +02:00
Andelf
5568cb89c3 Add ch32-hal to HAL list 2024-05-01 08:15:22 +08:00
Dario Nieuwenhuis
ecc910b76d Release embassy-usb-synopsys-otg v0.1.0 2024-04-30 17:24:32 +02:00
kalkyl
7896e8aba7 rp: WebUSB example - add Windows compatibility 2024-04-30 09:59:06 +02:00
Dario Nieuwenhuis
56a7b10064
Merge pull request #2892 from embassy-rs/update-metapac-42
stm32: add support for H5[23], U5[FG], WBA5[045].
2024-04-29 22:12:12 +00:00
Dario Nieuwenhuis
b3d94160b4 stm32: add support for H5[23], U5[FG], WBA5[045]. 2024-04-30 00:09:49 +02:00
Dario Nieuwenhuis
e6d90b18c0
Merge pull request #2889 from embassy-rs/update-metapac-42
stm32: update metapac. Adds U5 LPDMA, fixes ADC_COMMONs.
2024-04-29 22:02:37 +00:00
Dario Nieuwenhuis
1ed2a0504a stm32/dma: add support for same channel with different req in different DMAs/DMAMUXes. 2024-04-29 23:56:15 +02:00
Dario Nieuwenhuis
7fb74ff756 stm32: rustfmt generated files in build.rs 2024-04-29 23:51:33 +02:00
Dario Nieuwenhuis
2410e91785
Merge pull request #2891 from pkoevesdi/main
fixed: example loops crashing after 256 passes
2024-04-29 21:09:03 +00:00
pkoevesdi
56b4d39df9
Update wdt.rs: reverted change, probably unneccesary here 2024-04-29 22:45:02 +02:00
pkoevesdi
a2ea307114
Update wdt.rs: reverted changes, probably unneccesary 2024-04-29 22:42:46 +02:00
pkoevesdi
5df703cf4b
Update wdt.rs: added missing type 2024-04-29 22:38:58 +02:00