Commit Graph

8913 Commits

Author SHA1 Message Date
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
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
Dario Nieuwenhuis
8eb80c6816
Merge pull request #3444 from dnbln/main
feat: allow `bind_interrupts!` to accept conditional compilation attrs
2024-10-22 15:18:35 +00:00
Dinu Blanovschi
c797915525 fix: review comments 2024-10-22 16:56:05 +02:00
Dinu Blanovschi
e9f2e63796 fix 2024-10-22 16:50:10 +02:00
Dinu Blanovschi
5c23c789ee fix 2024-10-22 16:23:17 +02:00
Dinu Blanovschi
82a438a037 fix 2024-10-22 15:51:05 +02:00
Dinu Blanovschi
ccd635f0dc fix + allow both conditions on the irq and the handlers 2024-10-22 15:43:28 +02:00
Ulf Lilleengen
f7d372f33f
Merge pull request #3446 from U007D/update-firmware-path
update path to cyw43 firmware in `wifi_blinky.rs` comments
2024-10-22 12:35:48 +00:00
Brad Gibson
66822f1000
update path to cyw43 firmware in wifi_blinky.rs comments 2024-10-22 05:29:11 -07:00
Dinu Blanovschi
3279c19eee feat(stm32): allow bind_interrupts! to accept conditional compilation attrs 2024-10-22 12:30:37 +02:00
Dario Nieuwenhuis
398119ae43
Merge pull request #3441 from Luctins/chore/usart-add-rts-only-new
STM32: Add BufferedUart::new permutations usefull for RS485
2024-10-22 09:55:59 +00:00
Ulf Lilleengen
0c22d4cccb
Merge pull request #3433 from 1-rafael-1/rp-pwm-embedded-hal-traits
embassy_rp: implement pwm traits from embedded_hal
2024-10-22 07:52:03 +00:00
Dario Nieuwenhuis
6da53f082f
Merge pull request #3442 from embassy-rs/Dirbaio-patch-1
net: automatically enable defmt/ip_in_core
2024-10-22 01:36:09 +00:00
Dario Nieuwenhuis
c94c5516d1
net: automatically enable defmt/ip_in_core 2024-10-22 03:34:18 +02:00
rafael
548f11d5ae cheaper motors need lower pwm frequency 2024-10-21 23:19:45 +02:00
Lucas Martins
82772e3a8f
📝 fix wrong comment 2024-10-21 17:50:05 -03:00
rafael
14e69309eb add pwm frequency to examples 2024-10-21 22:42:18 +02:00