Commit Graph

1880 Commits

Author SHA1 Message Date
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
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
Ulf Lilleengen
61f55be92a Use released version of reqwless for examples 2024-10-21 19:41:28 +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
1f58e0efd0
executor: fix unsoundness due to impl Trait, improve macro error handling. (#3425)
* executor-macros: don't parse function bodies.

* executor-macros: refactor for better recovery and ide-friendliness on errors.

* executor-macros: disallow `impl Trait` in task arguments.

Fixes #3420

* Fix example using `impl Trait` in tasks.
2024-10-18 03:18:59 +02:00
Alexandros Liarokapis
9f1b6b4791 Revise I2S interface to ring-buffered. 2024-10-16 18:45:27 +03:00
Dario Nieuwenhuis
ee669ee5c5 Update nighlty, fix warnings.
Fixes #2599
2024-10-14 00:11:16 +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
Dario Nieuwenhuis
7b09e88645
Merge pull request #3397 from embassy-rs/core-ip
Update smoltcp, embedded-nal-async to use the `core::net` IP addr types.
2024-10-13 19:40:56 +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
Ulf Lilleengen
a74bae3de1
Merge pull request #3343 from george-cosma/hal-with-pac
LPC: embassy-lpc55 hal base with gpio and pint driver
2024-10-07 08:14:32 +00:00
George Cosma
e7e245eeb7 feat: embassy-lpc55 hal with gpio and pint driver 2024-10-07 09:34:10 +03: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
Paul Fornage
ce701c3e8e Fixed overflow on pio_stepper.rs 2024-10-02 13:35:59 -07:00
Caleb Jamison
bc0180800d
Remove binary_info blocks from most examples. (#3385) 2024-10-01 16:51:18 +02:00
Ulf Lilleengen
f19718b4f0 Add config option for setting SIM pin 2024-09-26 15:48:10 +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
Kevin
6d9af8304c Add USBPHYC clock configuration for H7RS series 2024-09-22 00:23:07 +02:00
Kevin
2f60d78ea3 Add OTG_HS support for STM32H7R/S 2024-09-22 00:23:07 +02:00
Gerhard de Clercq
5ea934d4ba embassy_stm32/eth: support compliance testing
This change adds the possibility to perform compliance testing with
STM32 systems by directly exposing SMI when needed. Users can
then use this to configure PHY registers for test modes.
2024-09-20 09:57:31 +02:00
Ulf Lilleengen
4e1efd93fd Fix defmt support for example boot app 2024-09-19 09:22:47 +02:00
Ulf Lilleengen
df23a77bfc Add led to example to demonstrate revert state detection 2024-09-19 09:16:19 +02: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
Ugljesa Jovanovic
2bc49763c6
TRNG support for 235x 2024-09-17 21:26:59 +02:00
kalkyl
0bfc98a3e5 rp: Add PIO example for one-wire temperature sensor 2024-09-17 19:41:58 +02:00
Dario Nieuwenhuis
be0d9775e3 net: refactor to simplify lifetimes/generics. 2024-09-16 21:17:11 +02:00
Dario Nieuwenhuis
1ea29f1d2e
Merge pull request #3169 from Adancurusul/g4_dev
Add adc oversampling and adc differential for g4
2024-09-10 23:07:11 +00:00
Dario Nieuwenhuis
fac71e594e
Merge pull request #3271 from sjoerdsimons/ucpd-sop-filters
[UCPD] Add support for non-SOP packets
2024-09-10 23:03:58 +00:00
Dario Nieuwenhuis
0bf9a2591b
Merge pull request #3297 from CBJamo/rp2350_flash
rp: 2350 flash write and OTP
2024-09-10 21:36:49 +00:00
Dario Nieuwenhuis
2286e5da13
Merge pull request #3105 from embassy-rs/net-nrf91
embassy-net driver for nrf91
2024-09-09 20:03:28 +00:00
Dario Nieuwenhuis
b9a1aaea5b cyw43: add support for WPA3 and more extensive security options. 2024-09-09 02:13:25 +02:00
Ulf Lilleengen
1b1db2401b Use byte slice for config 2024-09-06 11:22:07 +02:00
Samuel Maier
db00f3f5ec Enable critical-section/std on wasm
Without that feature one will find import errors on opening the webpage, that are hard to debug.
The feature was indirectly enabled in the wasm example, however the reason wasn't documented and thus it was easy to miss.
2024-09-05 11:45:49 +02:00
Ulf Lilleengen
5d0ed24640 Move configure out of run 2024-09-05 10:31:51 +02:00
Ulf Lilleengen
836e8add1b Mintor fixes after testing re-attach 2024-09-05 10:02:45 +02:00
Ulf Lilleengen
ccfa6264b0 Add closing if raw socket to handle re-attach 2024-09-04 19:31:55 +02:00
Ulf Lilleengen
372e45dabc Add context run task 2024-09-04 18:47:26 +02:00
Ulf Lilleengen
b4221d75b8 Make tracing optional and use dedicated task 2024-09-04 14:09:17 +02:00
Ulf Lilleengen
5e27a3e64f Document public API and fix warnings 2024-09-04 13:09:27 +02:00
Ulf Lilleengen
b76b7ca9f5 Use at-commands crate and support DNS
* Use at-commands for building and parsing AT commands which has better
  error handling.
* Retrieve DNS servers
* Retrieve gateway
* Update example to configure embassy-net with retrieved parameters.
2024-09-04 12:58:33 +02:00