497 Commits

Author SHA1 Message Date
Marc
1efe59ec47 Update examples and tests 2025-05-02 12:52:04 +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
Markus Kasten
b40d30f0ac tests/stm32: fix test for g0 hsi sys_div 2025-01-17 12:36:38 +01:00
Ulf Lilleengen
ed63f80637 chore: bump embassy-sync version
Prepare version 0.6.2 for release
2025-01-15 16:12:36 +01:00
Dario Nieuwenhuis
2fab8d0b9b Update doc projects deps, don't use patch.crates-io 2025-01-15 02:15:30 +01:00
Pedro Ferreira
933e888ed0 RP235x: support new FIFO options, set IE, OD on PIO pins. 2025-01-15 01:56:37 +01:00
Dario Nieuwenhuis
593d9973e0 Release embassy-stm32 v0.2.0 2025-01-10 17:38:39 +01:00
Ulf Lilleengen
9d94d68a7f Create embassy-nrf 0.3.1 2025-01-09 11:41:00 +01:00
Ulf Lilleengen
de27d9cd00 Update cyw43, nrf, rp hals and embassy-boot 2025-01-06 09:22:09 +01:00
Dániel Buga
89b97c2d7c
Fix search-and-replacability 2025-01-05 21:35:05 +01:00
Dániel Buga
09588321e5
Prepare embassy-net drivers 2025-01-05 21:35:03 +01:00
Dániel Buga
776b2b540b
Prepare embassy-net 0.6 2025-01-05 21:28:45 +01:00
Dániel Buga
9f21cf627b
Prepare embassy-embedded-hal 0.3 2025-01-05 21:28:42 +01:00
Bailey Townsend
147fd60255 Removed the cyw43-pio overclock feature 2024-12-28 17:31:14 -06:00
Bailey Townsend
388103275e Fixes ci (hopefully) 2024-12-28 00:40:52 -06:00
Dániel Buga
9a238e6ad8
Prepare new embassy-time-*driver, embassy-executor, embassy-time 2024-12-22 20:27:15 +01:00
Dario Nieuwenhuis
2f2e2c6031
Make integrated-timers the default, remove Cargo feature. 2024-12-15 18:49:57 +01:00
Dániel Buga
b7a58a6d69
Keep 52840's task arena unchanged 2024-12-07 21:02:23 +01:00
Dániel Buga
e7ca6a131d
Shrink task arena of tests 2024-12-07 18:28:30 +01:00
Dario Nieuwenhuis
c12ebb3a80 net: release v0.5.0 2024-11-28 01:54:50 +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
Dario Nieuwenhuis
3f23fd5c98 Update nrf-pac. 2024-11-15 02:22:20 +01:00
Dario Nieuwenhuis
796f6c034a Release embassy-executor 0.6.3. 2024-11-12 18:07:50 +01:00
Dániel Buga
94659325ab
Prep executor 0.6.2 2024-11-06 13:58:02 +01:00
Dario Nieuwenhuis
51f6b813e1 nrf: port to chiptool-based nrf-pac. 2024-11-04 00:47:31 +01:00
Dario Nieuwenhuis
1a24b4f018 Release embassy-executor v0.6.1, embassy-executor-macros v0.6.1 2024-10-21 01:26:02 +02:00
Dario Nieuwenhuis
dcdc0638b6 Update to rust 1.82. 2024-10-18 00:43:57 +02:00
Dario Nieuwenhuis
014583aaa5 tests/stm32: add uart async and blocking flush test. 2024-10-14 12:50:14 +02:00