Commit Graph

8330 Commits

Author SHA1 Message Date
trepidacious
abe7f9921e Update ReadReady and WriteReady implementations
Update `ReadReady` for `TcpReader` to match implementation for `TcpSocket`
Update `WriteReady` implementations to use `can_recv()` rather than `may_recv()`, since this will check that the transmit buffer is not full.
2024-07-01 20:59:27 +01:00
Dario Nieuwenhuis
92eb6011d6
Merge pull request #3139 from igiona/AllowDrivingStrengthInPwm
feat(pwm): allow specifying OutputDrive for PWM channels
2024-07-01 17:51:53 +00:00
Giona Imperatori
f418006508 fixup! feat(pwm): allow specifying OutputDrive for PWM channels 2024-07-01 18:06:14 +02:00
Giona Imperatori
7884babb9d feat(pwm): allow specifying OutputDrive for PWM channels 2024-07-01 17:33:24 +02:00
seth
27652798c7 fix typo, add spaces after // 2024-07-01 06:44:47 -07:00
Ulf Lilleengen
3c6bf3a31a
Merge pull request #3137 from embassy-rs/nrf-egu-irq
expose enabling and disabling irq for triggers
2024-07-01 12:08:44 +00:00
Ulf Lilleengen
0b8a8e54dc expose enabling and disabling irq for triggers 2024-07-01 10:26:45 +02:00
Ulf Lilleengen
2a38787a83
Merge pull request #3130 from kkrolczyk/kk/i2c-addr-flexibility
rp/i2c: add address flexibility and example
2024-07-01 06:38:33 +00:00
Josh Junon
c4b88b5781
wiznet: add version check to initialization sequence 2024-06-30 23:56:17 +02:00
Dario Nieuwenhuis
e0c0a618bd
Merge pull request #3136 from trepidacious/read_ready_smoltcp_fix
Add check for closed connection to `read_ready()`
2024-06-30 21:05:52 +00:00
trepidacious
c3be54f96b Add check for closed connection to read_ready() 2024-06-30 17:47:04 +01:00
Eekle
67f5b8d974 Update example 2024-06-30 11:06:32 +02:00
Eekle
1d1fc9afea Add async and blocking variants 2024-06-30 11:03:29 +02:00
Dario Nieuwenhuis
bd0243d12f
Merge pull request #3131 from dflemstr/less-implicit-panics
Less implicit panics
2024-06-28 23:41:02 +00:00
David Flemström
662e97f7b5 Panic on index-out-of-bounds when releasing RCC node 2024-06-29 01:37:35 +02:00
David Flemström
114dda2fd1 Avoid accidental copy of static var before creating mut ref 2024-06-29 01:34:07 +02:00
David Flemström
2f750a82bf Swat some other occurrences of .unwrap() that pull in panicing infra 2024-06-28 22:52:21 +02:00
David Flemström
73d937dc33 Remove implicit bounds checking from rcc module 2024-06-28 22:52:10 +02:00
David Flemström
cbc67469d3 Route sources of panics to the crate's fmt macros 2024-06-28 22:52:03 +02:00
Krzysztof Królczyk
96cdf9c9e0
rp/i2c: add address flexibility and example
Previous i2c examples are using either blocking Embassy API
or e-h traits, this example uses Embassy pub API directly.

Signed-off-by: Krzysztof Królczyk <Krzysztof.Krolczyk@o2.pl>
2024-06-28 19:51:33 +02:00
David Haig
6edf7b4688 Applied formatting 2024-06-28 18:17:17 +01:00
David Haig
79f00e54cc Moved ltdc example to its own crate 2024-06-28 18:11:34 +01:00
David Haig
1123e3fd41 Get dsi_bsp example to compile again 2024-06-28 15:12:17 +01:00
shufps
2462a22140 format 2024-06-28 14:52:21 +02:00
shufps
b2a0eb3cb4 added comment 2024-06-28 14:43:39 +02:00
shufps
ece6203a99 added DDS example 2024-06-28 14:42:19 +02:00
David Haig
47c7bb2bb5 Updated metapac dependency to latest for LTDC support 2024-06-28 11:35:38 +01:00
David Haig
0e84bd8a91 Add support for the stm32 ltdc display peripheral 2024-06-27 20:13:20 +01:00
Dario Nieuwenhuis
26e660722c
Merge pull request #3125 from neuschaefer/input
docs: Fix mention of ExtiInput
2024-06-27 14:51:56 +00:00
J. Neuschäfer
e3b495908c docs: Fix mention of ExtiInput
The struct is called ExtiInput, not ExtiButton.
2024-06-27 16:48:48 +02:00
Chen Yuheng
a0799bf270 Add adc oversampling support 2024-06-27 17:04:26 +08:00
Dario Nieuwenhuis
a2acb3e3dc
Merge pull request #3121 from embassy-rs/nrftests
nRF uart fixes, better tests.
2024-06-25 22:02:12 +00:00
Dario Nieuwenhuis
9a21f70c9f tests/nrf: add non-buffered uart tests. 2024-06-25 23:57:19 +02:00
Dario Nieuwenhuis
b870e7f257 tests/nrf: generalize buffereduart tests for all chips. 2024-06-25 23:56:59 +02:00
Dario Nieuwenhuis
1ce9418bca nrf/buffered_uart: take into account EASYDMA_SIZE. fixes nrf52832 2024-06-25 23:55:07 +02:00
Dario Nieuwenhuis
c48547b475 nrf: fix wrong order configuring gpios.
Docs say "PSEL.RXD, PSEL.RTS, PSEL.RTS, and PSEL.TXD must only be configured when the UARTE is disabled."
For some reason nrf52 doesn't care but nrf91 does.
2024-06-25 23:18:16 +02:00
Dario Nieuwenhuis
e4c4036a46
Merge pull request #3120 from embassy-rs/nrftests
tests/nrf: unify, add nrf52832, nrf52833, nrf5340, nrf9160
2024-06-25 20:50:08 +00:00
Dario Nieuwenhuis
292dbcc991 nrf/gpiote: fix port1 on nrf5340 2024-06-25 22:29:07 +02:00
Dario Nieuwenhuis
cab17434d5 tests/nrf: unify, add nrf52832, nrf52833, nrf5340, nrf9160 2024-06-25 22:29:07 +02:00
Dario Nieuwenhuis
3ae2f140f9
Merge pull request #3119 from diondokter/rp-boot2-none
RP: Shut up missed warning boot2-none
2024-06-25 15:48:11 +00:00
Dion Dokter
5dbc531671 RP: Shut up missed warning boot2-none 2024-06-25 16:54:34 +02:00
Dario Nieuwenhuis
bce7c73a3a
Merge pull request #3118 from diondokter/rp-boot2-none
RP: add option to provide your own boot2
2024-06-25 12:58:56 +00:00
Dion Dokter
957be1980d Fix syntax error? 2024-06-25 14:43:30 +02:00
Dion Dokter
92343551aa RP: add option to provide your own boot2 2024-06-25 14:31:15 +02:00
James Munns
89cd0e7cca
Merge pull request #3117 from 9names/rp-example-fixes
RP network example fixes
2024-06-25 11:09:37 +00:00
9names
080b5869da Fix rngcore imports in examples 2024-06-25 21:07:09 +10:00
9names
1456900281 Replace joke seed with best RNG available 2024-06-25 20:47:27 +10:00
9names
7b9215c8b9 Use published version of reqwless 2024-06-25 20:33:55 +10:00
James Munns
dfdbcb400c
Merge pull request #3115 from 1-rafael-1/add-http-request-example-to-rp
Add http request example to rp
2024-06-25 09:35:36 +00:00
seth
6926e9e071 CI 2024-06-24 23:15:00 -07:00