Commit Graph

8929 Commits

Author SHA1 Message Date
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
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
Vincenzo Marturano
354ff3bac3 Fix missing lifetime 2024-10-24 19:46:23 +02:00
Vincenzo Marturano
336ef01b05 Implemented owned split. 2024-10-24 19:36:54 +02:00
Vincenzo Marturano
052463212b Revert "Add new() method to PwmBatch so it can be istantiated."
This reverts commit 31662eaeef.
2024-10-24 16:20:28 +02:00
Vincenzo Marturano
31662eaeef Add new() method to PwmBatch so it can be istantiated. 2024-10-24 16:04:32 +02:00
Vincenzo Marturano
2596de52bb Fixed missing trait implementation for PwmOutput. 2024-10-24 15:39:22 +02:00
Vincenzo Marturano
1fed8ac5db Allow separate control of duty cycle for each channel in a pwm slice by splitting the Pwm driver. 2024-10-24 15:12:04 +02:00
Alex Moon
55805de05b
Refactoring and cleanup 2024-10-23 16:44:07 -04:00
Alex Moon
110d87bbd2
Remove support for consecutive Read operations
Due to Twim hardware limitations
2024-10-23 16:44:07 -04:00
Alex Moon
528a3e4355
Add support for transactions to Twim in embassy-nrf 2024-10-23 16:44:07 -04:00
Ulf Lilleengen
8803128707
Merge pull request #3317 from GrantM11235/simplepwmchannel
embassy-stm32: Add SimplePwmChannel
2024-10-23 10:30:13 +00:00
Haobo Gu
e5bc266654 feat: set ospi memory mapped mode
Signed-off-by: Haobo Gu <haobogu@outlook.com>
2024-10-23 12:54:50 +08:00