Dario Nieuwenhuis
2c3bc75da6
Merge pull request #3593 from bugadani/refactor
...
Rework time-driver contract.
2024-12-16 12:30:30 +00:00
vinsynth
ffbef9316d
i2s frequency relative to sysclk
2024-12-14 11:02:18 -05:00
vinsynth
854d1f3743
add sysclk frequency argument to PioI2Out::new
2024-12-14 00:32:47 -05:00
Dario Nieuwenhuis
b268b1795f
Merge time-driver and time-queue-driver traits, make HALs own and handle the queue.
2024-12-13 21:20:59 +01:00
Dániel Buga
5a5495aac4
Refactor integrated-timers
2024-12-10 21:31:42 +01:00
dstric-aqueduct
dcf228e448
Add set_config
method to RP SPI driver
...
Add a `set_config` method to `Spi` to allow reconfiguring SPI mode after creation.
The existing implementation of the `embassy-embedded-hal` trait `SetConfig` is changed to use the new method.
Existing uses of `SetConfig` trait may need to explicitly call the trait method to maintain current return type.
2024-12-03 00:14:24 +01:00
Dario Nieuwenhuis
333284588a
Merge pull request #3543 from ionspin/rp2350_otp_write
...
RP235X Add OTP write functions
2024-12-02 22:50:48 +00:00
Dario Nieuwenhuis
aaad8450e9
Use inline const for initializing arrays. ( #3567 )
2024-11-24 20:58:48 +01:00
Dániel Buga
c9abff53d7
Bump sync version ( #3562 )
...
* Bump sync version
* Use old embassy-sync in rp bluetooth example
* Downgrade update to minor
2024-11-22 21:16:11 +01:00
Ugljesa Jovanovic
69cb30ebf3
Add OTP write
2024-11-16 22:22:47 +01:00
ibuki2003
19a06d6b8a
fix(rp): use uart dreq number defined in pac
2024-11-14 02:50:04 +09:00
Dario Nieuwenhuis
796f6c034a
Release embassy-executor 0.6.3.
2024-11-12 18:07:50 +01:00
Dario Nieuwenhuis
0de204ccd7
Fix "non-local impl definition" warning from recent nightlies.
2024-11-08 13:20:13 +01:00
Dániel Buga
94659325ab
Prep executor 0.6.2
2024-11-06 13:58:02 +01:00
flippette
84def1608f
Also implement embedded_io::Write
for UartTx<'d, T: Instance, Blocking>
2024-11-01 23:47:25 +02: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
Connor
ca8e885dbb
Add tx_dma to async spi
2024-10-27 17:57:59 -05:00
Vincenzo Marturano
9690bed5a6
Fix documentation.
2024-10-25 13:12:24 +02:00
Vincenzo Marturano
71fe8a7b90
Fixed owned split and implemented split_by_ref.
2024-10-25 12:54:06 +02: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 31662eaeef0762a7c7b9c95aee61a9066d7e447a.
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
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
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
rafael
d7db8fbab9
rustfmt
2024-10-21 11:59:03 +02:00
rafael
693bd8c6de
re-export SetDutyCycle for user convenience
2024-10-21 11:54:17 +02:00
Dario Nieuwenhuis
1a24b4f018
Release embassy-executor v0.6.1, embassy-executor-macros v0.6.1
2024-10-21 01:26:02 +02:00
rafael
7fc09f89e8
embassy_rp: implement pwm traits from embedded_hal
...
• Update crate versions • Implement embedded-hal PWM traits • Add TB6612FNG motor driver example
2024-10-20 23:28:47 +02:00
Dario Nieuwenhuis
ee669ee5c5
Update nighlty, fix warnings.
...
Fixes #2599
2024-10-14 00:11:16 +02:00
Dario Nieuwenhuis
4eb820ab6c
Merge pull request #3377 from Totto8492/enable-fpu
...
Enable FPU for RP235X Core1
2024-10-13 20:54:22 +00:00
Dario Nieuwenhuis
a4636d819f
rp/multicore: enable fpu on second core only if building for -eabihf targets.
2024-10-13 22:40:59 +02:00
Keisuke Tottori
cdcd9de051
Enable FPU for RP235X Core1
2024-10-13 21:45:54 +02:00
Caleb Jamison
70bd158d03
Make the docs be docs
2024-10-09 16:57:02 -04:00
Caleb Jamison
1b32b7bcb4
fmt
2024-10-09 16:51:52 -04:00
Bjorn
22fe493257
Better docs and adding of release for PioPwm
2024-10-09 10:12:43 -07:00
Caleb Jamison
c7f7728eb1
cargo +nightly fmt
2024-10-09 11:44:58 -04:00
Caleb Jamison
57c1fbf308
Move pio programs into embassy-rp
2024-10-09 10:18:00 -04:00
Sebastian Quilitz
b73b3f2da0
rp: Run RP235x at 150 MHz instead of 125
2024-10-05 12:18:33 +02:00
Caleb Jamison
b743dce8e4
Only B pins can be inputs.
2024-09-24 18:55:05 -04:00
Caleb Jamison
a498bf11af
Disable pad isolation on PWM A pins.
...
Also fixes minor bug for 2040 where A pins didn't have their pull
up/down enabled.
2024-09-24 18:45:20 -04:00
Caleb Jamison
0b8c4587c2
Fix rp2350b pins >31 on debug builds
2024-09-23 13:38:43 -04:00
Dario Nieuwenhuis
d12e98aaf4
Merge pull request #3338 from ionspin/add-rp2350-trng-support
...
RP2350 TRNG support
2024-09-17 22:17:23 +00:00
Dario Nieuwenhuis
e597c6b959
Merge pull request #3332 from CBJamo/rp2350_pio_pins
...
rp: rp2350 pio pin fixes
2024-09-17 22:15:37 +00:00
Ugljesa Jovanovic
2bc49763c6
TRNG support for 235x
2024-09-17 21:26:59 +02:00