Commit Graph

25 Commits

Author SHA1 Message Date
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
548f11d5ae cheaper motors need lower pwm frequency 2024-10-21 23:19:45 +02:00
rafael
14e69309eb add pwm frequency to examples 2024-10-21 22:42:18 +02:00
rafael
8dfc9ba1a3 also add to the rp pwm example 2024-10-21 21:14:49 +02:00
rafael
d92fb002ec rustfmt 2024-10-21 12:19:10 +02:00
rafael
f32b0fbc3b change existing pwm example to reflect both existing ways to use pwm output 2024-10-21 11:55:10 +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
8baf88f8f4 rustfmt 2024-10-20 23:31:53 +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
eea08d761d
Merge pull request #3407 from CBJamo/pio_programs
rp: Move pio programs into embassy-rp
2024-10-13 19:41:57 +00:00
Caleb Jamison
e47c031b67 fmt examples too 2024-10-09 11:47:04 -04:00
Caleb Jamison
fc978c2ee9 Fix rp23 i2s example, boot_sel isn't supported yet. 2024-10-09 11:37:15 -04:00
Caleb Jamison
57c1fbf308 Move pio programs into embassy-rp 2024-10-09 10:18:00 -04:00
Dario Nieuwenhuis
f6155cf735 Update smoltcp, embedded-nal-async to use the core::net IP addr types. 2024-10-07 00:22:44 +02:00
Caleb Jamison
bc0180800d
Remove binary_info blocks from most examples. (#3385) 2024-10-01 16:51:18 +02:00
Romain Reignier
6e2c5d0b45 rp23: add missing binary info in linker script
See https://github.com/rp-rs/rp-hal/issues/853

And https://github.com/rp-rs/rp-hal/pull/854
2024-09-26 13:24:50 +02:00
Ugljesa Jovanovic
2bc49763c6
TRNG support for 235x 2024-09-17 21:26:59 +02:00
Caleb Jamison
4c07c356e4 Fixup: forgot to rename fn in example 2024-08-29 21:35:57 -04:00
Caleb Jamison
0434798439 Import otp from rp-hal, helper fns for chipid and randid
Again, credit to @thejpster for doing the hard part and figuring out the
otp.
2024-08-29 21:08:25 -04:00
Caleb Jamison
372270a9b9 rp235x flash support.
The 2350 doesn't have a boot2 like the 2040, but it does have the
concept of a xip setup function that could be customized. By default the
bootrom searches for the attached flash chip and provides an xip setup
func at the base of the bootram. That bootram is not executable, so it
still needs to be copied to ram like boot2 would be.

Currently does not use inline assembly.

Also switch to picotool, as elf2uf2 has not been patched to support the
2350.
2024-08-29 10:47:03 -04:00
Ulf Lilleengen
c9ad897d4a Use released bt-hci crate 2024-08-21 18:14:15 +02:00
Dario Nieuwenhuis
eab3a57263 rp: use the rp-binary-info crate for binary info. 2024-08-17 22:12:39 +02:00
Caleb Jamison
e5d8d8b18e Switch to single pac 2024-08-09 12:31:29 -04:00
Caleb Jamison
6f03c40516 cargo fmt 2024-08-08 21:54:21 -04:00
Caleb Jamison
b185e02a42 Initial rp235x support
Examples have been run, but there is not yet a test suite.
2024-08-08 21:35:21 -04:00