Ulf Lilleengen
8803128707
Merge pull request #3317 from GrantM11235/simplepwmchannel
...
embassy-stm32: Add SimplePwmChannel
2024-10-23 10:30:13 +00:00
Dario Nieuwenhuis
1f58e0efd0
executor: fix unsoundness due to impl Trait
, improve macro error handling. ( #3425 )
...
* executor-macros: don't parse function bodies.
* executor-macros: refactor for better recovery and ide-friendliness on errors.
* executor-macros: disallow `impl Trait` in task arguments.
Fixes #3420
* Fix example using `impl Trait` in tasks.
2024-10-18 03:18:59 +02:00
Dario Nieuwenhuis
ee669ee5c5
Update nighlty, fix warnings.
...
Fixes #2599
2024-10-14 00:11:16 +02:00
Dario Nieuwenhuis
f6155cf735
Update smoltcp, embedded-nal-async to use the core::net
IP addr types.
2024-10-07 00:22:44 +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
Dickless
3408e1ddbf
Fixed to reserve as much space as it uses.
2024-07-07 04:39:39 +09:00
Dickless
b90eef293b
[ #2905 #2904 ] Replaced static raw array with GroundedArrayCell
2024-07-06 17:36:22 +09:00
Dickless
4f649caa81
cargo +nightly fmt
2024-07-05 03:29:25 +09:00
Dickless
49546abfec
rustfmt
2024-07-05 03:17:04 +09:00
Dickless
4ecdf31f9b
add SAI example
2024-07-05 02:33:30 +09:00
Andres Vahter
f851081e09
stm32 adc: introduce blocking_read
2024-07-03 15:20:31 +03:00
Alexandros Liarokapis
70061e74b2
add async dma read example
2024-07-02 17:07:18 +03:00
Jan Špaček
94007ce6e0
stm32/gpio: refactor AfType
2024-06-16 21:11:55 +02: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
Ulf Lilleengen
d2045be9f3
fix broken links to embassy book
2024-06-03 08:45:05 +02:00
Jan Špaček
183f2f6913
stm32/usart: remove instance generic params
2024-05-23 16:32:15 +02:00
Dario Nieuwenhuis
e5c579d9fb
Merge pull request #2985 from rumcake-rs/stm32-adc-anyadcchannel
...
stm32/adc: add AnyAdcChannel type
2024-05-23 10:09:45 +00:00
Univa
7cdbae2a5d
add AnyAdcChannel
2024-05-20 21:29:20 -04:00
Dario Nieuwenhuis
45a12fd41f
stm32/i2c: remove peripheral generic param.
2024-05-21 01:25:49 +02:00
Dario Nieuwenhuis
ca2eef5387
stm32/spi: remove peripheral generic param.
2024-05-20 23:43:10 +02:00
Felipe Balbi
3ef62eef53
stm32h7: add shared bus example
2024-05-16 09:38:13 -07: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
Pegasis
1c10339f47
format
2024-05-03 08:17:29 -04:00
Pegasis
3e87dae578
add example for bdma
2024-05-03 08:14:32 -04:00
Peter Kövesdi
b6f9dbfb5b
fixed: example loops crashing after 256 passes
2024-04-29 22:31:16 +02:00
Dario Nieuwenhuis
5732ee7ca9
Reduce use of the full futures
crate.
2024-04-26 23:22:25 +02:00
Dario Nieuwenhuis
1de44e7086
Merge pull request #2840 from MaxiluxSystems/feature/fdcan-runtime-cfg
...
stm32: can: fd: Properties for common runtime get/set operations
2024-04-23 13:46:09 +00:00
Torin Cooper-Bennun
846abfae2b
examples: stm32: can: fix build
2024-04-22 13:31:01 +01:00
Joël Schulz-Ansres
01b36a4434
rustfmt usb examples
2024-04-22 01:06:59 +02:00
Joël Schulz-Ansres
896d0e7cd8
Add comment on vbus_detection to all USB examples
2024-04-22 00:52:37 +02:00
Dario Nieuwenhuis
d6b1233f16
stm32/usart: remove DMA generic params.
2024-04-16 02:00:55 +02:00
Dario Nieuwenhuis
be087e5d43
stm32/spi: remove DMA generic params.
2024-04-15 21:23:49 +02:00
Andres Vahter
fd901fc7e0
stm32: update adc examples
2024-04-10 10:57:52 +03:00
Barnaby Walters
effc08dde3
Incorporated adam’s suggestion into all multiprio comments
2024-04-07 16:22:42 +02:00
Barnaby Walters
56d34eefaa
Apply suggestions from code review
...
Co-authored-by: becothas <41289937+becothas@users.noreply.github.com>
2024-04-07 15:33:51 +02:00
Barnaby Walters
cf0097162c
[embassy-stm32] added comments explaining multiprio interrupts
2024-04-07 15:19:56 +02:00
Dario Nieuwenhuis
067e422863
Merge pull request #2746 from msrd0/multiprio-example-stm32h7
...
Add multiprio example for stm32h7 inspired by stm32f4
2024-04-04 12:55:03 +00:00
Dominic
8fbd21d216
Add multiprio example for stm32h7 inspired by stm32f4
2024-04-04 13:22:52 +02:00
Corey Schuhen
2217b80278
CAN: Unify API's between BXCAN and FDCAN. Use Envelope for all read methods instead of a tuple sometimes.
2024-03-28 09:32:13 +10:00
Dario Nieuwenhuis
1171e11655
Merge pull request #2730 from embassy-rs/stm32-sealed
...
stm32: use private_bounds for sealed traits.
2024-03-23 01:55:42 +01:00
Dario Nieuwenhuis
2bca875b5f
stm32: use private_bounds for sealed traits.
2024-03-23 01:38:51 +01:00
Dario Nieuwenhuis
389cbc0a77
stm32/timer: simplify traits, convert from trait methods to struct.
2024-03-23 01:37:28 +01:00
Adam Greig
7cf6490fba
usb: remove device_descriptor buffer, store bytes in UsbDevice.inner instead
2024-03-23 00:35:15 +00:00
Dario Nieuwenhuis
eca9aac194
Fix warnings in recent nightly.
2024-03-20 16:39:09 +01:00
AlejandroFNadal
2587ade63e
Rust formatting for comments.
2024-03-20 14:11:04 +01:00
Alejandro Nadal
47ebec82b8
Add comment warning for new users about changing pins on Ethernet for different devices
...
Not all STM32H7 devices share the pins of the example. Added a warning and a specific example for STM32H747XIH
2024-03-20 13:56:15 +01:00