Commit Graph

5957 Commits

Author SHA1 Message Date
René van Dorst
336ae54a56 mdio: reenable and async the tests 2023-09-07 21:25:53 +02:00
René van Dorst
d6a1118406 fix some spelling 2023-09-07 21:02:33 +02:00
Priit Laes
9de08d56a0 nrf: spim: Anomaly 109 workaround for SPIM peripheral (#460)
This implements SPIM TX workaround suggested from section 3.8.1
from Anomaly 109 addendum.

In workaround case we first keep track of original maxcnt values,
then initiate "fake" transfer with zero-length maxcnt values.
Once the "fake" transfer is triggered, we handle it, fill in the
original maxcnt values and restart the transmission.
2023-09-07 18:58:22 +03:00
xoviat
26740bb3ef
Merge pull request #1869 from xoviat/rcc-bd
add rcc bd lsi/lse abstraction
2023-09-06 23:24:24 +00:00
xoviat
4550452f43 rustfmt 2023-09-06 17:53:02 -05:00
xoviat
08410432b5 stm32: fix rcc merge 2023-09-06 17:51:40 -05:00
xoviat
3cf3caa3ab
Merge branch 'main' into rcc-bd 2023-09-06 17:49:29 -05:00
xoviat
c21ad04c2e stm32: extract lse/lsi into bd mod 2023-09-06 17:48:12 -05:00
xoviat
d097c99719 stm32/rcc: add lsi and lse bd abstraction 2023-09-06 17:33:56 -05:00
Dario Nieuwenhuis
af7c93abba
Merge pull request #1864 from oll3/feat/stm32wl-adc
ADC support for STM32WLx
2023-09-06 16:32:12 +00:00
Olle Sandberg
c356585a59 update metapac tag 2023-09-06 11:49:18 +02:00
Olle Sandberg
0d3ff34d80 adc: enable ADC and clock selection for STM32WLx 2023-09-06 06:57:30 +02:00
Olle Sandberg
bb2d6c8542 adc_v3: replace cfg(stm32g0) + friends with cfg(adc_g0)
Since any MCU (not just STM32G0) using adc_g0 should probably be handled the same way.
2023-09-06 06:57:28 +02:00
xoviat
a05afc5426
Merge pull request #1867 from xoviat/adc-g4
Adc g4
2023-09-05 23:31:03 +00:00
xoviat
50116e5b27 remove paste dependency 2023-09-05 18:20:17 -05:00
xoviat
a80acf686e
Merge pull request #1868 from MabezDev/f2-rtc-clocks
[F2] Allow the RTC clock source to be configured with the new RTC mechanism
2023-09-05 23:13:57 +00:00
Scott Mabin
6770d8e8a6 Allow the RTC clock source to be configured with the new RTC mechanism 2023-09-06 00:04:09 +01:00
xoviat
7307098780 stm32: don't generate adc5 2023-09-05 17:50:45 -05:00
xoviat
f4601af2a4 stm32: don't generate adc4 for g4 2023-09-05 17:48:20 -05:00
xoviat
fd22f4fac5 stm32: remove paste and use refcount statics 2023-09-05 17:45:52 -05:00
xoviat
7622d2eb61 stm32: fix merge issues 2023-09-05 17:10:15 -05:00
xoviat
7573160077 Merge branch 'main' of https://github.com/embassy-rs/embassy into adc-g4 2023-09-05 17:02:28 -05:00
xoviat
7e18e5e0c1 Merge branch 'stm32g4_adc' of https://github.com/daehyeok/embassy into adc-g4 2023-09-05 16:50:33 -05:00
xoviat
9d76a6e933
Merge pull request #1849 from xoviat/adc-f3
Add adc f3
2023-09-05 21:48:44 +00:00
xoviat
f502271940 stm32: add initial adc f3 impl 2023-09-05 16:46:57 -05:00
Dario Nieuwenhuis
e2f8bf19ea
Merge pull request #1865 from embassy-rs/esp-hosted-status
net-esp-hosted: add get_status()
2023-09-05 18:33:22 +00:00
Dario Nieuwenhuis
1180e1770d net-esp-hosted: add get_status() 2023-09-05 19:50:21 +02:00
Daehyeok Mun
49ba9c3da2 initial support for STM32G4 ADC 2023-09-04 23:36:41 -07:00
Dario Nieuwenhuis
ce662766be
Merge pull request #1771 from rubdos/zero-copy-channel
embassy_sync::zero_copy_channel
2023-09-04 23:38:11 +02:00
Dario Nieuwenhuis
a03b6be693
Merge pull request #1862 from xoviat/rcc-refcount
stm32: refcount peripheral enable/disable
2023-09-04 23:37:59 +02:00
Dario Nieuwenhuis
87d3086533
Merge pull request #1863 from embassy-rs/reenable-test
Revert "ci: remove failing tests"
2023-09-04 23:20:00 +02:00
xoviat
d19e1c1dd1 stm32: only refcount usart and use kind direclty 2023-09-04 16:18:31 -05:00
Dario Nieuwenhuis
8a55adbfd8 Revert "ci: remove failing tests"
This reverts commit c5732ce285.
2023-09-04 23:16:48 +02:00
xoviat
6dc56d2b35 stm32: include uart-named peripherals 2023-09-04 16:04:29 -05:00
xoviat
394503ab69 ci: run HIL 2023-09-04 15:54:23 -05:00
xoviat
bfb4cf775a remove adc refcount 2023-09-04 15:54:00 -05:00
xoviat
274f63a879 stm32: fix refcounts for usart, spi, and i2c 2023-09-04 15:47:33 -05:00
Dario Nieuwenhuis
615882ebd6 Rename zero_copy -> zerocopy. 2023-09-04 22:16:28 +02:00
Ruben De Smet
6e38b07642 Add docs to zero-copy-channel 2023-09-04 22:13:27 +02:00
Ruben De Smet
1eb03dc41a Prefer receive over recv 2023-09-04 22:13:27 +02:00
Ruben De Smet
a2656f402b Move embassy-net-driver-channel::zerocopy_channel to embassy_sync::zero_copy_channel 2023-09-04 22:13:27 +02:00
xoviat
3466c9cfa9 stm32: refcount peripheral enable/disable 2023-09-04 13:47:02 -05:00
xoviat
3295ec94e5
Merge pull request #1858 from xoviat/psc-cleanup
stm32: cleanup psc design
2023-09-03 16:49:27 +00:00
xoviat
c5732ce285 ci: remove failing tests 2023-09-03 11:48:41 -05:00
xoviat
2e6f4237f2 stm32: cleanup psc design 2023-09-03 11:40:34 -05:00
Dario Nieuwenhuis
ac11635b0b
Merge pull request #1856 from embassy-rs/teleprobe-cache
Add teleprobe cache.
2023-09-03 01:45:28 +02:00
Dario Nieuwenhuis
9dd58660c3 Add teleprobe cache. 2023-09-03 01:41:52 +02:00
Dario Nieuwenhuis
9baa3bafb0
Merge pull request #1854 from bugadani/str
embassy-{net, sync, time}: Use fmt::unwrap
2023-09-03 00:35:21 +02:00
Dániel Buga
360286e67c Fix bootloader application examples 2023-09-02 08:50:03 +02:00
Dániel Buga
0c66636d00 Use fmt::unwrap 2023-09-02 08:39:52 +02:00