382 Commits

Author SHA1 Message Date
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
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
vinsynth
b0e3a6481b document clock settings in examples/stm32f4/.../i2s_dma.rs 2025-02-03 22:52:38 -05:00
vinsynth
b5a6353714 update examples/stm32f4/.../i2s_dma.rs 2025-02-03 22:40:42 -05: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
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
05df319a82 Release embassy-usb v0.4.0, embassy-usb-logger v0.4.0. 2025-01-15 00:59:15 +01:00
Dario Nieuwenhuis
593d9973e0 Release embassy-stm32 v0.2.0 2025-01-10 17:38:39 +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
Eekle
a3d35216d4 Remove manual settings of composite_with_iads=true 2024-12-24 13:23:08 +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
2846647c94 Remove use of static mut. 2024-12-16 16:15:28 +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
elagil
cc4b5ae9cb feat: change SOF timer to input capture 2024-11-24 00:33:08 +01:00
elagil
0d299301ef feat(stm32f4): add usb audio example 2024-11-24 00:33:08 +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
Cedric VINCENT
6801c6496c Fix multiprio examples for stm32 devices.
Commit bbe1eebc has changed the order of TIM candidates when using the
time-driver-any feature.  For instance, in the case of STM32F3, it
previously returned TIM2 but now returns TIM15.  Consequently, the
"multiprio" example no longer works as it requires three *free* CC
register (for alarms), while TIM15 provides only one (CC1 is always
reserved for regular time keeping).

This commit was successfully tested on STM32F3.  Additionally, I
verified that all the examples using a timer for STM32F0 and STM32F4
still build correctly.

Fixes #2749
2024-11-13 18:40:35 +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
Ulf Lilleengen
8803128707
Merge pull request #3317 from GrantM11235/simplepwmchannel
embassy-stm32: Add SimplePwmChannel
2024-10-23 10:30:13 +00:00
Dario Nieuwenhuis
1a24b4f018 Release embassy-executor v0.6.1, embassy-executor-macros v0.6.1 2024-10-21 01:26:02 +02:00
Alexandros Liarokapis
9f1b6b4791 Revise I2S interface to ring-buffered. 2024-10-16 18:45:27 +03: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
Dario Nieuwenhuis
be0d9775e3 net: refactor to simplify lifetimes/generics. 2024-09-16 21:17:11 +02:00
Grant Miller
b8beaba6df last oops I promise 2024-09-06 15:08:58 -05:00
Grant Miller
1a8977db78 Update examples 2024-09-06 13:53:49 -05:00
Dario Nieuwenhuis
59cb1531c9 examples: ensure at least 3 sockets to avoid running out (DHCP, DNS, the user's) 2024-08-07 14:58:20 +02:00
Ulf Lilleengen
37d7b0cd06 prepare release embassy-executor 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
61bda59d83 Prepare to release embassy-usb 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
44282b18fa Prepare embassy-time release 2024-08-05 08:56:29 +02:00
JuliDi
d78ce3c6ab
bump more udbd-hid usages to 0.8.1 2024-07-16 12:38:16 +02:00
Andres Vahter
f851081e09 stm32 adc: introduce blocking_read 2024-07-03 15:20:31 +03:00
Dario Nieuwenhuis
5137ebab56
Merge pull request #3132 from oro-os/wiznet-version-check
wiznet: add version check to initialization sequence
2024-07-02 16:58:00 +00:00
Josh Junon
c4b88b5781
wiznet: add version check to initialization sequence 2024-06-30 23:56:17 +02:00
seth
6926e9e071 CI 2024-06-24 23:15:00 -07:00
seth
7056783fa2 second adc added to example + API todos completed 2024-06-24 17:53:59 -07:00
seth
27b83fdbcf fmt 2024-06-24 17:15:16 -07:00
seth
f64dd8228b new PR, taking Dirbao's advice to make the DMA impl in a separate struct that consumes Adc<T> to make RingBufferedAdc<T>. Handling overrun similar to RingBufferedUart 2024-06-24 17:09:43 -07:00
Daniel Philipp
8b0cfde9a6
Clarified comments about the cortex_m::asm::delay functionality in al… (#3064)
* Clarified comments about the cortex_m::asm::delay functionality in all multiprio.rs examples

* fixed formatting

* Changed to using embassy_time::block_for()

* removed my formatting scripts

* specify embassy_time::Duration
2024-06-12 19:40:28 +02:00
Dario Nieuwenhuis
e5495b51b4
Merge pull request #3057 from dvdsk/docs-net-size
Document w5500 State and add w5500 example for stmf4
2024-06-07 23:00:56 +00:00
dvdsk
ab31a02e17
cargo fmt 2024-06-08 00:30:52 +02:00