362 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
7419b398bf stm32/afio: use type inference for timer remaps as well. 2025-09-05 23:00:31 +02:00
Fabian Wolter
a6562c4f03 Add STM32F1 AFIO remap 2025-09-05 21:15:46 +02:00
Dario Nieuwenhuis
8aec341f28 executor: return error when creating the spawntoken, not when spawning. 2025-08-29 13:23:21 +02:00
Ulf Lilleengen
83f2557eac chore: prepare embassy crate releases 2025-08-26 16:05:09 +02:00
Dario Nieuwenhuis
3a6ea3a31c Load all crates in the graph, honor the "publish" flag to prevent publishing examples/tests. 2025-08-25 19:44:50 +02:00
Matt Johnston
d939d901e2 stm32: Add hash test for sha512, varying lengths
sha512 is only supported by hash_v3 and hash_v4, so add a feature for
those chips.
2025-08-15 17:16:53 +08:00
Matt Johnston
410a18b536 stm32/hash: Clear HMAC mode bit when hashing
Running a hash after a hmac would hang, the CR.MODE bit isn't cleared by
INIT.

Test it by running the test twice.
2025-08-15 17:16:52 +08:00
Fabian Wolter
4c556dcbf2
stm32 tests: move can_common out of the bin folder 2025-08-14 19:41:00 +02:00
Ulf Lilleengen
c7b9060a74 fix: prepare embassy-sync 0.7.1 release
* Add newtype for moved type to preserve API compat
2025-08-12 21:05:32 +02:00
Ulf Lilleengen
c4c5167e3d chore: update metapac and prepare embassy-stm32 0.3.0 2025-08-12 18:17:41 +02:00
Ulf Lilleengen
3f1ddaf60e chore: prepare embassy-executor 0.8 release 2025-07-31 10:33:14 +02:00
Rick Rogers
c37fb51cfe
address ci test failure 2025-07-25 12:24:54 -04:00
Chris Storah
e64c23076d Updated version of stm32-data and added c071 and c051 into ci.sh 2025-07-23 12:38:58 +10: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
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
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
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
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
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
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
Dario Nieuwenhuis
593d9973e0 Release embassy-stm32 v0.2.0 2025-01-10 17:38:39 +01:00
Dániel Buga
89b97c2d7c
Fix search-and-replacability 2025-01-05 21:35:05 +01:00
Dániel Buga
776b2b540b
Prepare embassy-net 0.6 2025-01-05 21:28:45 +01: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
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
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
1a24b4f018 Release embassy-executor v0.6.1, embassy-executor-macros v0.6.1 2024-10-21 01:26:02 +02:00
Dario Nieuwenhuis
014583aaa5 tests/stm32: add uart async and blocking flush test. 2024-10-14 12:50:14 +02:00
Dario Nieuwenhuis
ad5f7bf6f7 tests: remove deprecated -Cinline-threshold. 2024-10-14 12:43:38 +02:00
Dario Nieuwenhuis
ee669ee5c5 Update nighlty, fix warnings.
Fixes #2599
2024-10-14 00:11:16 +02:00
Dario Nieuwenhuis
a71098d824 stm32/tests: test spi u8 and u16 word sizes. 2024-09-23 02:06:58 +02:00
Dario Nieuwenhuis
be0d9775e3 net: refactor to simplify lifetimes/generics. 2024-09-16 21:17:11 +02:00