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
Georges Palauqui
7733b99e09
update spi_display example for rp23
2024-10-27 09:53:00 +01:00
Georges Palauqui
66205fdd85
update spi_display example for rp
2024-10-27 09:50:57 +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
dvdsk
edac7cc630
stm32/uart remove DmaUnsynced from public api
...
Its an internal error which should never be exposed. It should only
occur with wrong driver implementations. We log to the user and return
an Overrun error since handling DmaUnsynced as an Overrun will resolve it.
2024-10-26 12:38:10 +02:00
Ulf Lilleengen
b31648f2e5
Merge pull request #3462 from Krensi/patch-2
...
Updated the Cargo.toml section - Embassy is already available on crates.io
2024-10-26 08:32:30 +00:00
ckrenslehner
3d0921ffc4
fix spelling
2024-10-25 20:41:51 +02:00
ckrenslehner
2c05ac5262
Update embassy Cargo.toml section in new_project.adoc
...
Embassy is already published to crates.io 🍾
2024-10-25 20:36:46 +02:00
Dario Nieuwenhuis
6bcd05ac83
Merge pull request #3454 from vivi202/embassy-rpSplitPwm
...
Embassy-rp Split Pwm driver to allow separate duty cycle control of each channel.
2024-10-25 17:37:15 +00:00
Dario Nieuwenhuis
a18ca16437
Merge pull request #3460 from bugadani/keepawake
...
Explain how to keep the executor awake
2024-10-25 19:36:34 +02:00
Dario Nieuwenhuis
a916633ffc
Merge pull request #3461 from Krensi/patch-1
...
Change "bits" to "bytes" in DMA description
2024-10-25 19:36:23 +02:00
ckrenslehner
6545dfee6d
Update overview.adoc
2024-10-25 19:22:20 +02:00
Dániel Buga
d1db7d9043
Explain how to keep the executor awake
2024-10-25 18:53:59 +02:00
William
be52224211
Add LTDC example for STM32U5G9J-DK2 demo board
2024-10-25 15:40:18 +02:00
William
45e7a7a55a
Update CFBLR configuration
...
As per section "43.7.23 LTDC layer x color frame buffer length register (LTDC_LxCFBLR)" of Reference manual for STM32U5 RM0456, CFBLL has to be set to the length of one pixel line plus 3 (instead of plus 7 as for H7)
2024-10-25 15:03:26 +02:00
Vincenzo Marturano
9690bed5a6
Fix documentation.
2024-10-25 13:12:24 +02:00
Vincenzo Marturano
7d9d2f8459
Merge pull request #1 from vivi202/fixOwnedSplit
...
Merge Proposal.
2024-10-25 12:57:10 +02:00
Vincenzo Marturano
71fe8a7b90
Fixed owned split and implemented split_by_ref.
2024-10-25 12:54:06 +02:00
Haobo Gu
7b62d70d18
feat(ospi): add memory mapped mode
...
Signed-off-by: Haobo Gu <haobogu@outlook.com>
2024-10-25 18:27:48 +08:00
Vincenzo Marturano
874dbec5a4
Fixed mistakes.
2024-10-24 19:52:09 +02:00