523 Commits

Author SHA1 Message Date
i509VCB
f56197c51e
Merge pull request #4338 from i509VCB/dma
mspm0: add dma driver
2025-07-07 03:02:48 +00:00
i509VCB
e57dffafa5
mspm0: add dma driver 2025-07-06 17:40:10 -05:00
Dario Nieuwenhuis
a29267752a stm32/sdmmc: disable 1bit test. 2025-07-04 00:26:41 +02:00
Dario Nieuwenhuis
84cc949df6 stm32/dma: fix packing/unpacking not working. 2025-07-04 00:23:22 +02:00
Dario Nieuwenhuis
a636ec439e
Merge pull request #4237 from felipebalbi/rp-invert-gpio
embassy-rp: implement input/output inversion
2025-06-01 12:17:40 +00:00
Ulf Lilleengen
94f9b27074
Merge pull request #4228 from okhsunrog/adding_eeprom
Adding EEPROM support to embassy-stm32
2025-05-23 14:15:15 +02:00
Felipe Balbi
ea36d121db embassy-rp: implement input/output inversion
RP2040/RP23xx support inversion in HW of the inputs and
outputs. Implement minimal support for that.
2025-05-22 14:07:06 -07:00
Matt Johnston
5e49985ed6 embassy-sync: bump to 0.7.0 2025-05-22 13:29:55 +08:00
okhsunrog
c88bc97231 added eeprom to tests 2025-05-21 22:33:44 +03:00
i509VCB
8b65f9cf0f
mspm0: link interrupt groups in tests 2025-05-20 17:29:28 -05:00
Dario Nieuwenhuis
41263587df
Merge pull request #4194 from i509VCB/update-metapac2
mspm0: generate features per chip + package
2025-05-18 21:20:11 +02:00
Yuri Astrakhan
ef0f29f0ed Update defmt dependencies 2025-05-18 20:52:09 +02:00
Dario Nieuwenhuis
e4fc487644 Add rand-core v0.9 support.
Co-Authored-By: Aurélien Jacobs <aurel@gnuage.org>
2025-05-18 20:35:36 +02:00
i509VCB
f41e8c45f6
mspm0: generate feature per chip + package 2025-05-13 21:55:50 -05:00
Dario Nieuwenhuis
5a19b64fec
Merge pull request #4187 from 1-rafael-1/rp235x-overclocking
RP235x overclocking
2025-05-13 21:45:22 +00:00
1-rafael-1
79e452922a Add ClockError enum and update system_freq to return Result for error handling 2025-05-12 21:33:47 +02:00
1-rafael-1
4567beda7b rp235x overclocking 2025-05-11 17:26:36 +02:00
Ulf Lilleengen
f9f20ae217
Merge pull request #4155 from marcemmers/remove-instance-from-rp-uart-type
[embassy-rp] Remove <T: Instance> from Uart and BufferedUart
2025-05-09 19:34:52 +02:00
Ulf Lilleengen
11364077a7
Merge pull request #4150 from 1-rafael-1/rp2040-overclocking
RP: rp2040 overclocking
2025-05-09 19:34:43 +02:00
1-rafael-1
a254daf4ff Changes after review 2025-05-07 21:19:09 +02:00
1-rafael-1
3441e80507 first batch of changes after review 2025-05-02 23:51:28 +02:00
Marc
1efe59ec47 Update examples and tests 2025-05-02 12:52:04 +02:00
1-rafael-1
a33e7172f6 make ci happy 2025-05-01 22:23:14 +02:00
1-rafael-1
561356f68a overclock test, should now run on all rp chips 2025-05-01 22:17:25 +02:00
1-rafael-1
7fa59a6b31 Refactor overclock test for RP2040: add unused imports conditionally and ensure placeholder main function for non-RP2040 targets 2025-05-01 18:38:03 +02:00
1-rafael-1
3c559378a5 Add overclocking test for RP2040 with timer and PWM tests at 200Mhz 2025-05-01 18:29:13 +02:00
Dion Dokter
ace20f40ad Maybe fixed all CI 2025-05-01 10:35:10 +02:00
Oliver
eb83d049c7 stm32/sdmmc: add support for multiple block reads and writes. 2025-04-18 14:21:29 +02:00
Dario Nieuwenhuis
a23e971d31
Merge pull request #4017 from shilga/SpinlockMutex
embassy-rp: Spinlock mutex implementation
2025-04-07 23:13:35 +00:00
Sebastian Quilitz
313328c09a embassy-rp: add multicore test for SpinlockRawMutex 2025-04-07 21:59:36 +02:00
i509VCB
1e23b8114b
mspm0: add uart tests
This also fixes a bug in the uart clock calculation where it could select an oversampling faster than what the hardware is providing.
2025-04-06 21:15:42 -05:00
Dario Nieuwenhuis
717fbc1cd9
Merge pull request #4016 from antonok-edm/emmc
Support eMMC devices via SDMMC (STM32)
2025-04-06 22:04:18 +00:00
Michael Gomez
f1feedf190 BufferedUart initialization
This change modifies UART initialization throughout Embassy to take pins
before interrupts.

Related to #1304.
2025-04-04 21:54:36 -07:00
Anton Lazarev
dc31bfd829
refactor to reduce code duplication 2025-03-31 12:47:41 -07:00
Dario Nieuwenhuis
695a6da322 Statically allocate task pools on stable Rust.
Thanks @0e4ef622 for the awesome idea of how to do it and the first implementation.

Co-Authored-By: Matthew Tran <0e4ef622@gmail.com>
2025-03-28 19:11:53 +01:00
Dario Nieuwenhuis
d41eeeae79 Remove Peripheral trait, rename PeripheralRef->Peri. 2025-03-27 15:18:06 +01:00
Dario Nieuwenhuis
db86aba841 stm32/hash: remove DMA generic param. 2025-03-25 21:57:37 +01:00
Dario Nieuwenhuis
73ec3a7506 stm32/dac: remove DMA generic params. 2025-03-25 21:31:28 +01:00
9names
430377138b rp: Update embassy-rp version in examples and tests 2025-03-09 11:15:53 +11:00
Dario Nieuwenhuis
fcee67a0d2
Merge pull request #3901 from CBJamo/rp23_testing
Inital rp23 ci tests
2025-02-19 14:48:01 +01:00
Dario Nieuwenhuis
52dfefb632 rp/pio: update pio-rs crate, reexport it so users don't get version mismatches. 2025-02-18 18:14:57 +01:00
Caleb Jamison
f1e6b70279
rustfmt again 2025-02-18 10:39:58 -05:00
Caleb Jamison
52f64827be
rustfmt fixup 2025-02-18 10:38:19 -05:00
Caleb Jamison
9e785438ee
Inital rp23 ci tests
Some tests need more work.
* The adc test builds, but isn't set up correctly for the 2350 hardware
  yet.
* The multicore and gpio_multicore tests only work from flash,
  seems to be a probe-rs issue.
* The i2c and flash tests also only works from flash, these are probably
  bugs but I don't have time to run them down now.
* The 2350 gpio test skips anything with pull downs. I think these fail
  because of E9.

The float, bootsel, cyw43, and ethernet tests don't have 2350 equivalents.
There's no reason to use the float romfuncs, use the FPU.
Bootsel as a button isn't supported on the 2350 yet.
The wifi and eth tests don't have appropriate hardware.

The i2c test has also been tweaked to run on one core.
2025-02-18 10:32:20 -05:00
Dario Nieuwenhuis
b30ee6380b tests/rp: Update cyw43 test to new firmware, new wifi network name. 2025-02-14 22:30:33 +01:00
Ulf Lilleengen
29d05328f9 chore: prepare embassy-net release 2025-02-14 06:54:09 +01:00
Dario Nieuwenhuis
b1245858f3 stm32/eth: rename PHY->Phy, GenericSMI -> GenericPhy. Remove unneeded unsafes.
We shouldn't use `unsafe` to mark merely "dangerous" actions, only actions that
actually cause UB.
2025-01-26 22:43:28 +01:00
Dario Nieuwenhuis
c8d29a1e2c
Merge pull request #3795 from nikvoid/stm32-phy-addr-detection
STM32: Option to detect Ethernet PHY address automatically
2025-01-26 21:21:06 +00:00
Dario Nieuwenhuis
ff52bde787 stm32: change all examples and tests to use GenericSMI::new_auto(). 2025-01-26 22:17:25 +01:00
Dario Nieuwenhuis
c39076724f
Merge pull request #3781 from markus-k/stm32g0-hsisysdiv
stm32/rcc: add HSISYS support for g0
2025-01-17 16:19:27 +00:00