Ulf Lilleengen
386c586afa
chore: Release embassy-embedded-hal version 0.3.1
2025-07-16 14:53:02 +02:00
Dario Nieuwenhuis
f525386fca
Merge pull request #4397 from korbin/allocate-numbered-endpoints
...
Make USB endpoint allocator methods accept an optional `EndpointAddress`
2025-07-15 22:08:08 +00:00
Ulf Lilleengen
f32e8f6025
release: embassy-usb-driver 0.1.1
2025-07-15 21:41:41 +02:00
Gerzain Mata
ed64d99a51
WIP for USB_OTG support on STM32WBA devices
2025-07-14 16:49:50 -07:00
Gerzain Mata
6e95da965d
Merge branch 'main' into feat/adc4-stm32wba
2025-07-14 13:55:49 -07:00
Ulf Lilleengen
64e1a806fa
chore: update to embassy-hal-internal
v0.3.0
2025-07-14 11:46:47 +02:00
korbin
93e2fdf512
consolidate endpoint validation logic in stm32
2025-07-13 22:44:48 -06:00
korbin
b666a88ab1
make usb endpoint allocator methods accept an optional EndpointAddress
2025-07-13 20:40:54 -06:00
Dion Dokter
423870d1f7
Introduce traits for special channels
2025-07-10 15:57:45 +02:00
dimi
9589c056d1
fix typo
2025-07-09 20:00:49 +02:00
Gerzain Mata
37ea72e013
Merge remote-tracking branch 'purepani/push-kytkkzsvpwrz'
2025-07-08 17:37:03 -07:00
Dario Nieuwenhuis
d7d0828d5c
Merge pull request #4370 from cmilatinov/feature/stm32-sample-shifting
...
embassy-stm32: Added sample shifting to qspi config
2025-07-06 20:37:46 +00:00
Dario Nieuwenhuis
78af9ae8af
Merge pull request #4358 from skoe/opamp_rcc
...
Use proper RCC clock enable for opamps
2025-07-06 18:49:17 +00:00
Thomas Giesel
bfbecdf93a
Use proper RCC clock enable for opamps
...
new() now resets the opamp and enables its clock. The clock is
disabled when the opamp is dropped. On families that use
SYSCFGEN (F3 and G4), this is not done because this
clock is always on in Embassy.
This change makes use of the RCC driver, which uses a reference
counter to prevent conflicts. The opamp itself is still disabled
when its output is dropped.
2025-07-05 22:47:24 +02:00
Cristian Milatinov
1f87e47831
Run cargo fmt
2025-07-05 01:15:15 -04:00
Cristian Milatinov
fb21fcf4f1
Added sample shifting to qspi config for stm32
2025-07-05 00:47:30 -04:00
Dario Nieuwenhuis
c8a4a49958
stm32/sdmmc: misc improvements
2025-07-04 00:25:00 +02:00
Dario Nieuwenhuis
3127e1c50b
sdmmc: use div_ceil.
2025-07-04 00:23:22 +02:00
Dario Nieuwenhuis
84cc949df6
stm32/dma: fix packing/unpacking not working.
2025-07-04 00:23:22 +02:00
Dario Nieuwenhuis
00b2567fbf
stm32/dma: add missing fence on BDMA start.
2025-07-04 00:23:22 +02:00
Dario Nieuwenhuis
72248a601a
Update Rust nightly, stable.
2025-07-04 00:23:22 +02:00
Dario Nieuwenhuis
4af2d9adc4
Merge pull request #4365 from qwerty19106/stm32_impl_nb_write
...
stm32: Fix impl embedded_hal_nb::serial::Write for usart::UartTx
2025-07-03 14:24:43 +00:00
qwerty19106
e256f1360b
Fix impl embedded_hal_nb::serial::Write for embassy_stm32::usart::UartTx
2025-07-03 18:17:01 +04:00
Ulf Lilleengen
4727c07a08
Merge pull request #4330 from innermatrix/stm32-adc-v1-watchdog
...
Added STM32 ADCv1 analog watchdog implementation
2025-07-03 14:10:31 +00:00
purepani
08f3b45de6
Adds ADC4 for WBA
2025-06-30 15:37:22 -05:00
purepani
15c7526c0a
Updates stm32-metapac
2025-06-30 10:00:26 -05:00
Süha Ünüvar
5cbc9a235f
correct documentation
2025-06-27 09:23:53 +08:00
Süha Ünüvar
04bf17dde6
rename fns and add documentation
2025-06-27 09:23:53 +08:00
Iris Artin
440b94aecf
Added STM32 ADCv1 analog watchdog implementation
2025-06-26 21:07:12 -04:00
melvdl
2727fb266f
run cargo fmt
2025-06-27 01:28:47 +02:00
melvdl
6f88c2c73c
stm32: rename timer channel trait; replace impls via macro with impls generic over timer channels
2025-06-27 01:08:28 +02:00
melvdl
cbd24bf2ee
stm32: fix timer break input 2 trait name in build script
2025-06-27 01:04:47 +02:00
melvdl
1623d4e639
stm32: generify timer::one_pulse and timer::qei pin constructors
2025-06-26 22:55:12 +02:00
melvdl
3e78f8a108
stm32: generify timer channels
2025-06-26 19:35:19 +02:00
Gerzain Mata
51675e9bc7
Added STM32WBA6XXX devices as features
...
Added 2 wba6 features to cargo batch in ci.sh
WIP
Added default RTC rust version for undefined peripherals
Added missing generated RTC peripheral to be handled by rtc/v3.rs
Reordered cfg_attrs in rtc/mod.rs
2025-06-26 04:38:22 -07:00
Thomas Giesel
ef4faffcb5
Merge branch 'main' into generate_all_opamp_pins
2025-06-25 21:10:25 +02:00
Thomas Giesel
ca14f54529
Adapt opamp driver to new opamp IP version numbers
2025-06-25 21:06:39 +02:00
Thomas Giesel
cbf61765f1
Generate pins for new opamp pin naming scheme
...
The new code implements the corresponding traits for the
common opamp pin naming scheme of all families, which
is VINPx/VINMx.
The same pin must not be used for multiple channels for the
same opamp. For example, if VINM0 and VINM1 of the same opamp
were assigned to the same pin, the channel would not be unique,
meaning that the traits would be implemented in a conflicting
manner.
2025-06-25 08:27:44 +02:00
jake-taf
9cb5c6d001
Fix issues #4333
...
Allow configs to be used in this macro
2025-06-23 10:30:09 -04:00
Dario Nieuwenhuis
454a5e9044
Merge pull request #4272 from cschuhen/fdcan_refcounter_raii
...
Fdcan use RAII for reference counting.
2025-06-22 21:37:15 +00:00
Dario Nieuwenhuis
bf3170ed38
Merge pull request #4294 from AlanRosenthal/rtc_c0
...
Add RTC example for STM32C0
2025-06-22 21:22:10 +00:00
Dario Nieuwenhuis
699626ced7
Merge pull request #4324 from plorefice/hsem-fixes
...
embassy-stm32: fix HSEM initialization and core detection
2025-06-22 21:08:38 +00:00
Dario Nieuwenhuis
c9709cf19d
Merge pull request #4311 from antonok-edm/sdmmc-set-datatime-during-init
...
[sdmmc] Set `datatime` during initialization
2025-06-22 21:04:22 +00:00
Corey Schuhen
8b280688e1
FDCAN/BXCAN: Finish implementation of RAII instance counters.
...
- Use DeRef in all types
- Change Name of internal_operation and its enum
- move into Info to avoid macro code dup
2025-06-21 12:31:56 +10:00
Tobias Naumann
e75b344089
Add TxGuard and RxGuard which impl RAII for the STM32 CAN reference counting
2025-06-21 12:29:36 +10:00
Corey Schuhen
b2dcdad51d
BXCAN: Put State inside a critical section mutex of RefCell. This removed unsound code that was giving out mut& to State
...
This change is equiverlent to f5658d6833cb140296a0b6f25b7eb6d16f06c520
that was already done for the FDCAN driver.
2025-06-21 11:58:53 +10:00
Pietro Lorefice
59228e2ab4
stm32: hsem: fix broken CPUID detection
2025-06-20 10:47:37 +02:00
Pietro Lorefice
be5b62bdd4
stm32: hsem: add missing RCC initialization
2025-06-20 10:46:33 +02:00
Frank Stevenson
d750a8b6b9
Make more accurate table based MSI frequency calculation based on datasheet.
2025-06-17 15:46:32 +02:00
Frank Stevenson
7fe4547ecb
U5: Apply auto-calibration on MSIK and calculate frequencies for detuned LSE input
2025-06-17 14:27:37 +02:00