141 Commits

Author SHA1 Message Date
Ulf Lilleengen
f9547e6455 chore: prepare crate releases 2026-01-04 16:26:19 +01:00
Dario Nieuwenhuis
62ed44f99a Update to embedded-io 0.7 2025-12-19 12:29:50 +01:00
WillaWillNot
764c921a57 Reverted adding AnyBinding, removed AnyChannel, removed ability for ExtiInput to accept AnyPin and AnyChannel arguments, added ExtiPin trait for all pins which is lost on converstion to AnyPin and contains type-level ExtiChannel information 2025-11-22 16:48:46 -05:00
WillaWillNot
54d57bc72f Fixed broken examples/formatting reported by CI 2025-11-21 20:44:07 -05:00
WillaWillNot
623623a25f Updated documentation, fixed EXTI definition issues with chips that have touch sensing, updated examples, added generation of convenience method to bind_interrupts for easier type erasure 2025-11-21 16:36:15 -05:00
xoviat
e32f78fde6 stm32/adc: extract into common
add common low-level interface for adc
2025-11-12 13:14:15 -06:00
xoviat
12b59dc610 adc: remove sample_time from struct 2025-11-10 09:56:42 -06:00
xoviat
b9559c7713 rtc: use consistent api between stop and non-stop 2025-11-04 16:35:07 -06:00
Michael Turner
719c2bbbb8 Correct the temperature reading to preserve the sign bits 2025-11-02 14:10:02 -08:00
Dario Nieuwenhuis
8730a013c3 Rustfmt for edition 2024. 2025-10-06 23:19:53 +02:00
Dario Nieuwenhuis
abc8e450f9 Edition 2024. 2025-10-06 23:19:53 +02:00
Per Rosengren
4e1e424955 Cleanup 2025-09-16 19:14:00 +02:00
Per Rosengren
07e86b23f1 Re-export API enums and update examples 2025-09-16 19:11:13 +02:00
Per Rosengren
a548d7efe3 Add Adc::new_with_clock() to configure analog clock
Required on STM32WL with default HAL initialization.

The function is only available for adc_g0, but all
that have clock config should add implementations.
2025-08-30 22:01:40 +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
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
Süha Ünüvar
da0b59ce28 rustfmt 2025-08-08 23:32:42 +08:00
Süha Ünüvar
70bf63723a i2c examples 2025-08-08 23:06:17 +08:00
Ulf Lilleengen
3f1ddaf60e chore: prepare embassy-executor 0.8 release 2025-07-31 10:33:14 +02:00
Ulf Lilleengen
c484e7d0e5 chore: Release embassy-usb version 0.5.0 2025-07-16 15:35:47 +02:00
Süha Ünüvar
b31a423eea fix examples 2025-06-27 09:25:24 +08:00
melvdl
41327c1325 stm32: adapt examples to timer API changes 2025-06-27 01:08:45 +02:00
Matt Johnston
5e49985ed6 embassy-sync: bump to 0.7.0 2025-05-22 13:29:55 +08:00
Yuri Astrakhan
ef0f29f0ed Update defmt dependencies 2025-05-18 20:52:09 +02:00
Dario Nieuwenhuis
3ffee5e22b
Merge pull request #3965 from toon23/stm32_usart-pin_config
Stm32 usart: implement pin config for cts, tx, rts and de
2025-04-18 11:10:00 +00:00
Anton Pöhl
94c208b52a Stm32 usart: better names for open drain pin modes 2025-04-16 20:42:51 +02:00
Anton Pöhl
a544726be4 Stm32 usart: remove HalfDuplexConfig
The pin parameters of usart::Config are used instead.
2025-04-11 20:58:03 +02: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
Dario Nieuwenhuis
d41eeeae79 Remove Peripheral trait, rename PeripheralRef->Peri. 2025-03-27 15:18:06 +01:00
Dario Nieuwenhuis
897d42e012
Merge pull request #3880 from nikvoid/stm32-rtc-subsecond
STM32: RTC subsecond support
2025-02-16 23:22:50 +00:00
nikvoid
610804f138 stm32: read microsecond from RTC 2025-02-13 15:15:47 +02: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
083f584f29 examples/stm32: fix g0 hftimer example with hsi sys_div 2025-01-17 12:45:58 +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
Dario Nieuwenhuis
29dce03adc
Merge pull request #3679 from trnila/1wire
stm32/usart: configurable readback for half-duplex to support 1-wire + ds18b20 example
2024-12-31 11:33:54 +01:00
Dániel Buga
9a238e6ad8
Prepare new embassy-time-*driver, embassy-executor, embassy-time 2024-12-22 20:27:15 +01:00
Daniel Trnka
7070f5364e examples/stm32g0: added ds18b20 temperature sensor on 1-wire bus 2024-12-22 19:55:21 +01:00
Dario Nieuwenhuis
2f2e2c6031
Make integrated-timers the default, remove Cargo feature. 2024-12-15 18:49:57 +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
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
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