Commit Graph

8957 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
f55ebef380
Merge pull request #3502 from embassy-rs/fix-pwm
nrf/pwm: fix bad pin assignment, disconnect input.
2024-11-04 17:47:42 +00:00
Dario Nieuwenhuis
f51ee98aef nrf/pwm: disconnect input. 2024-11-04 18:41:58 +01:00
Dario Nieuwenhuis
fff304b3de nrf/pwm: fix bad pin assignment. 2024-11-04 18:41:47 +01:00
Dario Nieuwenhuis
6fe798d680
Merge pull request #3501 from embassy-rs/update-nightly-202411
Update Nightly.
2024-11-04 17:05:21 +00:00
Dario Nieuwenhuis
6dffb2213c Update Nightly. 2024-11-04 17:46:26 +01:00
Dario Nieuwenhuis
bffe7cf8a6 nrf: fix docs build. 2024-11-04 16:06:54 +01:00
Dario Nieuwenhuis
3d8e987bf3
Merge pull request #3498 from embassy-rs/nrf-pac
nrf: port to chiptool-based `nrf-pac`.
2024-11-04 11:50:01 +00:00
Dario Nieuwenhuis
089b8a482e
Merge pull request #3451 from dvdsk/read_ready
stm32/uart impl ReadReady for RingbufferdUart
2024-11-03 23:57:07 +00:00
Dario Nieuwenhuis
51f6b813e1 nrf: port to chiptool-based nrf-pac. 2024-11-04 00:47:31 +01:00
Dario Nieuwenhuis
650f97924a
Merge pull request #3496 from chrenderle/u5-low-power
low-power: add support for stm32u5
2024-11-03 20:08:33 +00:00
Dario Nieuwenhuis
c75e1e2a9e
Merge pull request #3495 from carloskiki/patch-1
Enhanced docs for time driver
2024-11-03 12:44:49 +00:00
Christian Enderle
926ae1a1d5 low-power: add support for stm32u5 2024-11-03 10:56:40 +01:00
Charles Edward Gagnon
5c1f9cf99c rustfmt 2024-11-02 16:11:53 -04:00
Charles Edward Gagnon
1434d2f97a
enhanced docs for time driver 2024-11-02 16:03:17 -04:00
dvdsk
43ff5a9b28
stm32/uart fix leftover DmaUnsynced public api 2024-11-02 14:00:27 +01:00
Dario Nieuwenhuis
fcbbef01cd
Merge pull request #3489 from flippette/embedded-io-rp-uart-pt2
Also implement `embedded_io::Write` for `UartTx<'d, T: Instance, Blocking>`
2024-11-02 11:24:13 +00:00
Dario Nieuwenhuis
54dd2af651
Merge pull request #3488 from kkrolczyk/small_net_fixes
embassy-net: disable multicast filtering
2024-11-02 11:22:40 +00:00
flippette
84def1608f Also implement embedded_io::Write for UartTx<'d, T: Instance, Blocking> 2024-11-01 23:47:25 +02:00
Krzysztof Królczyk
9634dfd6c1
chore: address some clippy issues
Signed-off-by: Krzysztof Królczyk <Krzysztof.Krolczyk@o2.pl>
2024-11-01 19:08:14 +01:00
Krzysztof Królczyk
af694d233c
chore: improve some log msgs
Signed-off-by: Krzysztof Królczyk <Krzysztof.Krolczyk@o2.pl>
2024-11-01 19:08:07 +01:00
Krzysztof Królczyk
e93ac532ac
feat/stm32: disable multicast filtering on eth v2
Initially, this was feature-gated, but has been requested
to be changed to be unconditional, see PR 3488 for reasons.

When filtering is enabled, it intercepts and drops silently
ipv6 packets, possibly somewhere around
smoltcp::iface::interface::ipv6 lines 36, 44 in current head
sha e9b66eadaeacef758ebc4a12378f8d2162144cf4

With filtering disabled (this patch), packets are received
and communication over ipv6 is possible, neighbor discovery works.

related: #2496

Signed-off-by: Krzysztof Królczyk <Krzysztof.Krolczyk@o2.pl>
2024-11-01 19:02:10 +01:00
Dario Nieuwenhuis
10a9766046
Merge pull request #3485 from AnthonyGrondin/main
Implement readable / writable types for TCP socket splits and raw sockets
2024-11-01 12:21:06 +00:00
Ulf Lilleengen
763de8a37e
Merge pull request #3486 from BjornTheProgrammer/main
Add ReceiverHandler to logger
2024-11-01 09:28:43 +00:00
Bjorn
333d858481 Added ReceiverHandler to logger 2024-10-31 22:51:03 -07:00
Anthony Grondin
acaba50704
feat(embassy-net): Implement wait_send_ready() + wait_recv_ready() for Raw sockets. 2024-10-31 22:25:48 -04:00
Anthony Grondin
70214fc2c2
feat(embassy-net): Implement TcpReader::wait_read_ready() + TcpWriter::wait_send_ready() 2024-10-31 22:25:48 -04:00
Dario Nieuwenhuis
f319f1bc1b
Merge pull request #3484 from embassy-rs/rp235x-pio-ie
rp/pio: ensure PADS IE=1 which is not the default in rp235x.
2024-10-31 20:32:10 +00:00
Dario Nieuwenhuis
3225848bd2 rp/pio: ensure PADS IE=1 which is not the default in rp235x.
Fixes #3476
2024-10-31 21:26:40 +01:00
flippette
93dd21042c
Implement embedded_io::Write for Uart<'d, T: Instance, Blocking> (#3483)
* Implement `embedded_io::{Read,Write}` for `Uart<'d, T: Instance, Blocking>`

* Unimplement `embedded_io::Read` for `Uart<'d, T: Instance, Blocking>`

* Revert "Unimplement `embedded_io::Read` for `Uart<'d, T: Instance, Blocking>`"

* Unimplement `embedded_io::Read` for `Uart<'d, T: Instance, Blocking>` (take 2)
2024-10-31 21:14:11 +01:00
Dario Nieuwenhuis
b0c7fa07b2
Merge pull request #3478 from Frostie314159/raw-socket-fix
Reexported some smoltcp types for raw socket.
2024-10-30 15:34:59 +00:00
Frostie314159
117d091ea1
Made import private again. 2024-10-30 12:30:48 +01:00
Dario Nieuwenhuis
04bd2bac76
Merge pull request #3475 from diondokter/qspi-async
STM32 Qspi async
2024-10-30 09:57:09 +00:00
Dion Dokter
a3bbb3b43a Add check for the flipside of the coin too 2024-10-29 23:35:28 +01:00
Frostie314159
28b1e0a98b
Reexported some smoltcp types for raw socket. 2024-10-29 23:05:50 +01:00
Dion Dokter
9fdfe5e99b Fix typo 2024-10-29 17:50:46 +01:00
Dion Dokter
2d899a17e7 Add some sanity checks 2024-10-29 17:26:35 +01:00
Dion Dokter
5db6b4874d Expose async functions for QSPI 2024-10-29 17:13:09 +01:00
Dario Nieuwenhuis
10c9fbcc99
Merge pull request #3458 from williams-one/fix-ltdc-settings-for-stm32u5
Fix LTDC registry settings for STM32U5
2024-10-29 10:45:31 +00:00
William
76606b6fe0 Update chip from stm32u585ai to stm32u5g9zj and fix pinout 2024-10-28 08:46:07 +01:00
William
bfff50a361 Fix format 2024-10-28 08:40:38 +01:00
Dario Nieuwenhuis
80cb2bc4a5
Merge pull request #3469 from Meigs2/embassy-rp-fix-spi-rx-only-dma
Fix `embassy_rp::spi::new_rxonly` not taking in required `tx_dma`
2024-10-27 23:29:21 +00:00
Connor
ca8e885dbb Add tx_dma to async spi 2024-10-27 17:57:59 -05:00
Dario Nieuwenhuis
cd9e581c65
Merge pull request #3257 from alexmoon/nrf-twim-transactions
Add support for transactions to Twim in embassy-nrf
2024-10-27 19:14:41 +00:00
Dario Nieuwenhuis
1457e4d1ac
Merge pull request #3456 from HaoboGu/feat/ospi_mm
Add memory mapped mode for stm32 ospi
2024-10-27 18:24:13 +00:00
Dario Nieuwenhuis
edd3638295 Add examples/stm32h7b0 to CI 2024-10-27 19:21:38 +01:00
Dario Nieuwenhuis
f0a2616dd6
Merge pull request #3468 from korken89/fix-can-hang
This fixes 2 issues where STM32 BXCAN would hang
2024-10-27 18:19:56 +00:00
Emil Fresk
917f1d1f4d This fixes 2 issues where STM32 BXCAN would hang
1. If one received frames under an `interrupt_free` section, in my case
   `init` in RTIC, the RX IRQ will fire and clear it's enable bit after
   `interrupt_free` is complete. There is no frame to read so RX is now
   unconditionally disabled forever.
2. On clearing of RX IRQ, TX stops silently. This happens due to the use
   of `write` instead of `modify` when modifying IRQ enable bits.

Solution 1: Enable RX IRQs on every call to `try_read` that return no
data. This solution also solves the issue of very delayed handling of
the RX IRQ which would cause the same issue.

Solution 2: Use `modify` instead of `write`.
2024-10-27 10:10:46 +01:00
Haobo Gu
3b5284d99d fix: fmt code
Signed-off-by: Haobo Gu <haobogu@outlook.com>
2024-10-26 23:51:38 +08:00
Haobo Gu
04c9130d32 feat(example): move ospi memory mapped example for stm32h7b0 to separate folder
Signed-off-by: Haobo Gu <haobogu@outlook.com>
2024-10-26 23:50:16 +08:00
Haobo Gu
ca6bcb4250 feat(ospi): add ospi example
Signed-off-by: Haobo Gu <haobogu@outlook.com>
2024-10-26 23:41:46 +08:00