Commit Graph

357 Commits

Author SHA1 Message Date
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
dvdsk
1812ccd276
Adds an example for using the w5500 with an stm32f4
This example takes into account the lower memory on the stm32f4. That
should prevent anyone wanting to use the w5500 on any stm from adapting
the w5500 example for the rp which uses a lot more RAM.
2024-06-07 23:46:59 +02:00
Ulf Lilleengen
30918c355b prepare for embassy-time 0.3.1 release 2024-06-04 09:02:41 +02:00
Ulf Lilleengen
d2045be9f3 fix broken links to embassy book 2024-06-03 08:45:05 +02:00
Dario Nieuwenhuis
ba940017ee
Merge pull request #3014 from brunob45/pwm_input
Add PWM Input for STM32
2024-05-31 18:09:27 +00:00
Dario Nieuwenhuis
694ac3a515
Merge pull request #2992 from liarokapisv/i2s-spi_v3
Add spi v3 & Full-duplex support to the I2S driver.
2024-05-30 12:31:59 +00:00
Bruno Bousquet
a87b333034 fix fmt 2024-05-29 10:02:54 -04:00
Bruno Bousquet
292c1dd0b8 rename get_width_ticks and add info!() in examples 2024-05-29 09:59:00 -04:00
Bruno Bousquet
a23fa8dcb2
Apply suggestions from code review
Co-authored-by: Romain Reignier <romainreignier@users.noreply.github.com>
2024-05-29 09:14:05 -04:00
Ulf Lilleengen
cf0d227cca Prepare for embassy-sync 0.6.0 release 2024-05-29 12:09:55 +02:00
Bruno Bousquet
7f4803ddaf fix fmt again 2024-05-29 00:55:49 -04:00
Bruno Bousquet
66122aa60f Merge branch 'pwm_input_f103' into pwm_input 2024-05-29 00:53:09 -04:00
Bruno Bousquet
61f1f80e90 fix fmt 2024-05-29 00:52:55 -04:00
Bruno Bousquet
69badfb845 remove dev files 2024-05-29 00:37:50 -04:00
Bruno Bousquet
521332bdd1 pwm_input is working on F446 2024-05-29 00:28:26 -04:00
Bruno Bousquet
a6c419d096 add f103 example for input_capture 2024-05-28 23:12:08 -04:00
Bruno Bousquet
7c1e1ee288 example is working now 2024-05-28 22:30:10 -04:00
Bruno Bousquet
41b9a12574 compile pwm_input example 2024-05-28 20:36:23 -04:00
Bruno Bousquet
642465a7da add stm32f446 files 2024-05-28 20:20:15 -04:00
Alexandros Liarokapis
25cc5241b1 Add i2s support for spi_v3. 2024-05-27 18:06:20 +03:00
Joël Schulz-Ansres
4e42eaef7c Add dsi example 2024-05-21 22:44:40 +02:00
Dario Nieuwenhuis
621dbeceda
Merge pull request #2912 from brunob45/simple_capture
STM32 Input Capture
2024-05-20 08:49:12 +00:00
Dario Nieuwenhuis
66e3d4da8d examples/stm32: do not enable vbus detect by default, it doesn't work on all boards. 2024-05-13 01:11:49 +02:00
Dario Nieuwenhuis
e2dfdcb509 examples/stm32: reduce packet queue count to avoid OOM on smaller chips. 2024-05-13 01:11:49 +02:00
Bruno Bousquet
969933cb7b fix fmt for ci 2024-05-06 02:52:22 -04:00
Bruno Bousquet
55c8d3f474 add async capture 2024-05-06 02:47:42 -04:00