Rick Rogers
6d384a1a39
introduce stm32h7rs xspi
2025-04-04 15:36:33 +08:00
Dario Nieuwenhuis
d41eeeae79
Remove Peripheral trait, rename PeripheralRef->Peri.
2025-03-27 15:18:06 +01:00
William Spinelli
19efea195d
stm32u5: Add support for HSPI peripheral
2025-01-07 21:55:08 +01:00
Gabriel Smith
4c8ee8786f
stm32: Implement reads of DTS peripheral
...
Only PCLK-driven operation is supported.
2025-01-04 13:56:41 -05:00
klownfish
a5a90156ce
cleanup
2024-12-27 02:54:38 +01:00
Olof
0836392219
Merge branch 'embassy-rs:main' into u5_adc
2024-12-27 00:35:49 +01:00
Dion Dokter
595ce48eb2
Write the flag sooner with a known value
2024-12-25 22:54:48 +01:00
Dion Dokter
92a489b6a1
Make SharedData repr C
2024-12-25 22:50:19 +01:00
Olof
7cf96e4730
Merge branch 'embassy-rs:main' into u5_adc
2024-12-18 01:48:25 +01:00
Gabriel Smith
bd65906d14
STM32H5xx ADC ( #3557 )
...
* stm32: Update STM32 data source
* stm32h5: Add ADC example
2024-11-21 23:23:46 +01:00
elagil
62dbdcd45a
feat: add SPDIFRX driver
2024-11-18 20:51:22 +01:00
Dario Nieuwenhuis
0de204ccd7
Fix "non-local impl definition" warning from recent nightlies.
2024-11-08 13:20:13 +01:00
Dario Nieuwenhuis
8eb80c6816
Merge pull request #3444 from dnbln/main
...
feat: allow `bind_interrupts!` to accept conditional compilation attrs
2024-10-22 15:18:35 +00:00
Dinu Blanovschi
c797915525
fix: review comments
2024-10-22 16:56:05 +02:00
Dinu Blanovschi
e9f2e63796
fix
2024-10-22 16:50:10 +02:00
Dinu Blanovschi
5c23c789ee
fix
2024-10-22 16:23:17 +02:00
Dinu Blanovschi
82a438a037
fix
2024-10-22 15:51:05 +02:00
Dinu Blanovschi
ccd635f0dc
fix + allow both conditions on the irq and the handlers
2024-10-22 15:43:28 +02:00
Dinu Blanovschi
3279c19eee
feat(stm32): allow bind_interrupts! to accept conditional compilation attrs
2024-10-22 12:30:37 +02:00
Alexandros Liarokapis
d280b23428
fix adc/ringbuffered_v2.rs
2024-10-15 12:29:12 +03:00
klownfish
3ce40f41fb
WIP: add u5 adc4
2024-09-24 19:03:20 +02:00
Romain Goyet
a1c9a2e8bd
First working draft of a lptim driver
...
This driver is able to PWM a pin
2024-09-11 01:18:52 +02:00
Alexandros Liarokapis
2b7e76efe9
Fix dma nvic issues on dual core lines
...
This commit addresses #3256 by disabling dma NVIC interrupt enablement at startup.
Instead, per-channel NVIC interrupt enablement is now done with the rest of the dma channel configuration.
This ensures that each core will only handle the interrupts of the DMA channels that it uses.
2024-08-17 16:54:41 +03:00
Dion Dokter
2a7fe16ceb
Improve shared data placement, require less atomic support and use unsafecell for the clocks
2024-08-05 11:18:16 +02:00
Dion Dokter
e39e93ead4
Improve use of CS
2024-07-09 09:56:15 +02:00
Dion Dokter
f6f312270f
fmt
2024-07-09 09:37:49 +02:00
Dion Dokter
203297b569
Make clocks repr C.
...
Add shared data.
Modify freq functions to use shared data.
Modify examples to use new init/
2024-07-08 16:54:06 +02: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
Alexandros Liarokapis
25cc5241b1
Add i2s support for spi_v3.
2024-05-27 18:06:20 +03:00
Jan Špaček
081afca3f0
stm32/rcc: replace generated enable/disable code with runtime info
2024-05-25 18:44:55 +02:00
Dario Nieuwenhuis
ae49e58993
Merge pull request #2777 from taunusflieger/feature/HSEM
...
HSEM support for embassy-stm32
2024-05-21 21:34:50 +00:00
Michael Zill
7d350fb4c8
HSEM support for embassy-stm32
2024-05-21 23:08:44 +02:00
Dario Nieuwenhuis
2d8ec70f71
Merge pull request #2853 from nautd/kkoppul2/tsc
...
TSC implementation
2024-05-21 20:55:41 +00:00
Karun
253f6c42ee
Address versioning and format issues raised by CI
2024-05-02 17:17:39 -04:00
Karun
0febc24de7
Initial fill out of driver without IO considerations
2024-05-02 17:17:38 -04:00
Joël Schulz-Ansres
f468d84a5b
Cargo format
2024-05-02 13:50:07 +02:00
Joël Schulz-Ansres
9fe50a7639
Add stm32 dsihost driver
2024-05-02 13:43:42 +02:00
Dario Nieuwenhuis
fb67fe0a6c
stm32: add support for STM32H7[RS] "bootflash line", add HIL tests.
2024-05-01 02:24:45 +02:00
Dario Nieuwenhuis
09a284e959
stm32: rename mod traits to macros.
2024-04-15 21:52:40 +02:00
Dario Nieuwenhuis
be087e5d43
stm32/spi: remove DMA generic params.
2024-04-15 21:23:49 +02:00
Dario Nieuwenhuis
921fa9af80
Merge pull request #2672 from nautd/karun/main_octospi_implementation
...
Octospi implementation
2024-04-04 21:41:34 +00:00
Dario Nieuwenhuis
6c35a1769d
Merge pull request #2697 from eZioPan/stm32-cordic
...
stm32 CORDIC driver
2024-04-04 21:32:27 +00:00
Boris Faure
1e399fbf9d
stm32: fix typo in doc
2024-04-02 22:16:11 +02:00
Karun Koppula
9344f55ff3
Merge branch 'main' into karun/main_octospi_implementation
2024-04-02 15:51:50 -04:00
Emilie Burgun
ca998c170f
Missing half of the implementation detail comment
2024-03-26 16:33:41 +01:00
Emilie Burgun
64964bd614
Add a config option to make the VDDIO2 supply line valid
...
On STM32L4[7-A]xx, STM32L5xxx and STM32U5xxx chips, the GPIOG[2..15] pins are only available
once the IOSV bit has been set in PWR->CR2 (U5 chips have the bit in a funkier register).
This is meant to allow the user to have control over this power supply, so the GPIOG pins
are initially insulated, until the user wishes to un-insulate them (or something like that?).
For most applications, though, the VDDIO2 is connected to the VDD line, and this behavior only
gets in the way and causes confusing issues.
This submission adds an option in `embassy_stm32::Config`, called `enable_independent_io_supply`,
which simply enables the IOSV bit. It is only available on chips for which I could find a mention
of IOSV (STM32L4 and STM32L5) or IO2SV (STM32U5).
2024-03-26 16:22:05 +01:00
eZio Pan
6b2e15e318
stm32 CORDIC: exclude stm32u5a
2024-03-26 15:06:06 +08:00
eZio Pan
cf065d439e
stm32 CORDIC: ZeroOverhead q1.31 1 arg 1 res mode
2024-03-23 09:15:25 +08:00
Dario Nieuwenhuis
2bca875b5f
stm32: use private_bounds for sealed traits.
2024-03-23 01:38:51 +01:00
Dario Nieuwenhuis
530ff9d4d3
stm32/usb: merge usb and usb_otg into single module.
2024-03-19 22:07:16 +01:00