Commit Graph

6288 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
808fa9dce6
Merge pull request #1871 from plaes/dma-anomaly-109-spim-workaround
nrf: spim: Anomaly 109 workaround for SPIM peripheral (#460)
2023-09-10 21:12:02 +00:00
Dario Nieuwenhuis
ceb13def19
Merge pull request #1850 from CBJamo/i2cdev
rp2040: I2cDevice
2023-09-10 21:02:32 +00:00
Dario Nieuwenhuis
5cf494113f tests/rp: add teleprobe meta. 2023-09-10 23:01:15 +02:00
Caleb Jamison
8edb7bb012 Test cleanup 2023-09-10 23:01:15 +02:00
Caleb Jamison
8900f5f52b Fixing my git-based mistakes 2023-09-10 23:01:15 +02:00
Caleb Jamison
8201979d71 Add example, fix small bug in respond_and_fill 2023-09-10 23:01:15 +02:00
Caleb Jamison
2d9f50addc I2c slave take 2
refactored to split modules
renamed to match upstream docs
slight improvement to slave error handling
2023-09-10 23:01:15 +02:00
Caleb Jamison
18da91e252 Rename to match upstream docs 2023-09-10 23:01:15 +02:00
Caleb Jamison
28e2570533 Remove debug prints 2023-09-10 23:01:15 +02:00
Caleb Jamison
26e0823c35 rp2040 I2cDevice
Move i2c to mod, split device and controller

Remove mode generic:
I don't think it's reasonable to use the i2c in device mode while
blocking, so I'm cutting the generic.
2023-09-10 23:01:15 +02:00
Dario Nieuwenhuis
ceca8b4336
Merge pull request #1883 from JuliDi/net-socket-bind-error
embassy-net: Improve error when socket is not bound
2023-09-10 20:33:29 +00:00
xoviat
e308286f3c
Merge pull request #1881 from MabezDev/sdmmc-stbiterr
Handle stbiterr in 4bit wide mode for sdmmc_v1
2023-09-10 19:52:47 +00:00
Scott Mabin
268da2fcde Handle stbiterr in 4bit wide mode for sdmmc_v1 2023-09-10 20:27:38 +01:00
xoviat
a992d4895d
Merge pull request #1884 from xoviat/doc
stm32: fix docs
2023-09-10 18:52:42 +00:00
xoviat
1bae34d37c stm32: fix docs 2023-09-10 13:50:28 -05:00
xoviat
aac42e3209
Merge pull request #1882 from xoviat/rcc-f3
stm32/f3: add high res for hrtim and misc.
2023-09-10 18:35:33 +00:00
xoviat
08415e001e stm32/f3: add high res for hrtim and misc. 2023-09-10 13:33:17 -05:00
JuliDi
d6a1b567ee
add SocketNotBound error message 2023-09-10 20:13:56 +02:00
xoviat
a47fb42962
Merge pull request #1878 from xoviat/adc
stm32: fix adc f3 and example
2023-09-10 03:02:42 +00:00
xoviat
70a4a193c5 stm32: fix adc f3 and example 2023-09-09 22:01:51 -05:00
Dario Nieuwenhuis
2132afb48b
Merge pull request #1874 from JuliDi/eth-getstatus-async
embassy-net: add async wait_config_up
2023-09-09 20:06:52 +00:00
Julian
0e9131fd14
yield -> return
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2023-09-09 12:36:57 +02:00
JuliDi
40a18b075d
improve docstring 2023-09-09 09:50:24 +02:00
xoviat
f17f09057d
Merge pull request #1877 from xoviat/rcc
rcc: more cleanup
2023-09-08 23:22:39 +00:00
xoviat
11a78fb1e4 rcc: more cleanup 2023-09-08 18:20:58 -05:00
Dario Nieuwenhuis
48154e18bf
Merge pull request #1873 from vDorst/adin1110-pr3
Adin1110: documents and comment fixes
2023-09-08 18:11:47 +00:00
JuliDi
cf2d4eca7c
add wait_config_up to examples 2023-09-08 17:40:20 +02:00
JuliDi
3e0b752bef
fix poll_fn, add documentation 2023-09-08 17:26:01 +02:00
JuliDi
6070d61d8c
fix typos 2023-09-08 15:59:46 +02:00
JuliDi
a4f8d82ef5
wait_config_up first steps 2023-09-08 15:58:47 +02:00
René van Dorst
c27b0296fe Add more documentation and comment 2023-09-07 22:32:20 +02:00
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