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
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
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
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
Peter Kövesdi
b6f9dbfb5b
fixed: example loops crashing after 256 passes
2024-04-29 22:31:16 +02:00
Dario Nieuwenhuis
6f44d7a9df
stm32: update metapac. Adds U5 LPDMA, fixes ADC_COMMONs.
2024-04-29 20:52:27 +02:00
Dario Nieuwenhuis
679160a1c5
Merge pull request #2887 from jamesmunns/james/stm32-i2cv1-errata
...
stm32: Add workaround for STM32 i2cv1 errata
2024-04-29 12:06:08 +00:00
Dario Nieuwenhuis
49a90a3b90
Merge pull request #2886 from adamgreig/stm32-dac-new-int
...
stm32: dac: fix new_internal not setting mode as documented
2024-04-29 11:58:50 +00:00
James Munns
5ce3a6b61e
Add workaround for STM32 i2cv1 errata
2024-04-29 12:32:33 +02:00
Adam Greig
cb60f06594
stm32: dac: fix new_internal not setting mode as documented
2024-04-29 02:28:20 +01:00
Dario Nieuwenhuis
51a4a73323
Merge pull request #2885 from CirrusNeptune/cyw43-precomputed-psk
...
cyw43: Add function to join WPA2 network with precomputed PSK.
2024-04-28 23:16:53 +00:00
Cirrus
3db771f4b6
Make join_wpa2_passphrase_info private
2024-04-28 16:04:52 -07:00
Cirrus
7432c4069b
passphrase_info does not have to be passed &mut
2024-04-28 15:34:54 -07:00
Cirrus
d2f6ce5afd
cyw43: Add function to join WPA2 network with precomputed PSK.
...
With flags = 0 in PassphraseInfo, CYW firmware skips the PBKDF2 PSK
derivation. This makes it possible avoid storing unhashed passwords.
The wpa_passphrase utility may be used to generate this PSK.
2024-04-28 15:22:11 -07:00
Dario Nieuwenhuis
08314b0940
Merge pull request #2862 from AtoVproject/feature/web-usb-class
...
WebUSB implementation
2024-04-28 21:24:21 +02:00
Dario Nieuwenhuis
14225eb3a0
Merge pull request #2876 from ftk/timer32fix
...
stm32 timer: fix 32bit timer off by one ARR error
2024-04-28 21:24:14 +02:00
Dario Nieuwenhuis
f60c094891
Merge pull request #2877 from eZioPan/h5-low-power
...
low power for h5
2024-04-28 18:39:35 +00:00
Dario Nieuwenhuis
bbedcf9b0b
Merge pull request #2874 from qwerty19106/patch-1
...
Improve Uart::new_half_duplex docs
2024-04-28 18:37:14 +00:00
Chris Maniewski
095af92791
feature: WebUSB capability implementation
...
This adds the WebUSB implementation as per
https://wicg.github.io/webusb/ , using one in-endpoint and one
out-endpoint as well as an example for the RP2040 to illustrate this
capability.
2024-04-27 23:14:16 +02:00
Dario Nieuwenhuis
4617f6c754
Merge pull request #2879 from cyril-marpaud/patch-2
...
fix: typo
2024-04-27 19:54:50 +00:00
Dario Nieuwenhuis
0b0027aac3
Merge pull request #2881 from bugadani/ep_count
...
Synopsys: Make max EP count configurable
2024-04-27 19:54:27 +00:00
eZio Pan
d9e59e8e42
low power for h5
2024-04-28 00:33:02 +08:00
Dániel Buga
887d7e1430
Configure MAX_EP_COUNT via const generics
2024-04-27 18:01:45 +02:00