Commit Graph

315 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
ee669ee5c5 Update nighlty, fix warnings.
Fixes #2599
2024-10-14 00:11:16 +02:00
Dario Nieuwenhuis
a71098d824 stm32/tests: test spi u8 and u16 word sizes. 2024-09-23 02:06:58 +02:00
Dario Nieuwenhuis
be0d9775e3 net: refactor to simplify lifetimes/generics. 2024-09-16 21:17:11 +02:00
Sjoerd Simons
1b0661ebb1 [UCPD] Add support for non-SOP packets
Allow capturing (and distinguishing) non-SOP packets as well. The
default configuration will just configure SOP packets. For ease of use
the default receive function signature is unchanged as for PD sinks
(which is likely the common usage) just SOP is enough so no need to
differentiate.
2024-08-18 21:19:16 +02:00
Martin Liska
961ec387ed Simplify construction of StackResources::new() 2024-08-08 12:03:43 +02:00
Dion Dokter
e322732fdb Add H7 dual core to common and run fmt 2024-08-05 15:13:11 +02:00
Dion Dokter
3cd2081450 Fix tests 2024-08-05 15:07:51 +02:00
Ulf Lilleengen
37d7b0cd06 prepare release embassy-executor 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
44282b18fa Prepare embassy-time release 2024-08-05 08:56:29 +02:00
Andres Vahter
f851081e09 stm32 adc: introduce blocking_read 2024-07-03 15:20:31 +03:00
Jan Špaček
94007ce6e0 stm32/gpio: refactor AfType 2024-06-16 21:11:55 +02:00
Dario Nieuwenhuis
72029ca0c6 stm32: update stm32-metapac, fixes memory.x for many families. 2024-06-12 21:39:39 +02:00
Ulf Lilleengen
30918c355b prepare for embassy-time 0.3.1 release 2024-06-04 09:02:41 +02:00
Dario Nieuwenhuis
348c87fc2f stm32/spi: fix blocking_write on nosck spi.
Fixes #2902.
2024-06-03 00:57:53 +02:00
Corey Schuhen
367a22cc0e Remove more BXCAN generics. 2024-06-02 20:11:56 +10:00
Dario Nieuwenhuis
8a1658ab0e stm32/spi: test zero-length transfers in more cases. 2024-05-31 22:58:53 +02:00
Dario Nieuwenhuis
339dd85968 stm32/spi: restrict txonly_nosck to SPIv1, it hangs in other versions. 2024-05-31 22:58:53 +02:00
Dario Nieuwenhuis
f594ddceec stm32/spi: add blocking rxonly test. 2024-05-31 21:54:42 +02:00
Dario Nieuwenhuis
da197b6016 stm32/spi: fix spiv1 rxonly hanging. 2024-05-31 21:54:42 +02:00
Dario Nieuwenhuis
999a2ad829 Fix all check-cfg errors in the entire repo.
the main ci.sh now passes if running with nightly.
2024-05-31 21:54:42 +02:00
Corey Schuhen
245c895d09 Remove generics for BXCAN. 2024-05-30 21:39:11 +10:00
Dario Nieuwenhuis
7532a06f67
Merge pull request #3007 from liarokapisv/spi_v3-fix-rx
Add proper rxonly support for spi_v3 and force tx dma stream requirem…
2024-05-30 10:44:48 +00:00
Dario Nieuwenhuis
e9cb9badf7
Merge pull request #3012 from cschuhen/feature/fdcan_no_generics
Remove generic argument for STM32 FDCAN.
2024-05-30 10:42:53 +00:00
Ulf Lilleengen
cf0d227cca Prepare for embassy-sync 0.6.0 release 2024-05-29 12:09:55 +02:00
Corey Schuhen
35feb1bf23 Remove generic argument for STM32 FDCAN. 2024-05-29 20:07:17 +10:00
Alexandros Liarokapis
4f76f6b9df add spi_dma rx-only test 2024-05-28 16:08:36 +03:00
Jan Špaček
183f2f6913 stm32/usart: remove instance generic params 2024-05-23 16:32:15 +02:00
Dario Nieuwenhuis
2b09f9efd7 stm32/spi: check that the RCC enable bit is disabled on drop. 2024-05-20 23:43:10 +02:00
Dario Nieuwenhuis
7089e5b586 stm32/tests: add stm32u0 hil. 2024-05-13 16:20:52 +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
6f44d7a9df stm32: update metapac. Adds U5 LPDMA, fixes ADC_COMMONs. 2024-04-29 20:52:27 +02:00
eZio Pan
d9e59e8e42 low power for h5 2024-04-28 00:33:02 +08:00
Torin Cooper-Bennun
543c02e649 stm32: can: fd: fix test build for all relevant chips 2024-04-22 13:30:57 +01: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
Dario Nieuwenhuis
6c35a1769d
Merge pull request #2697 from eZioPan/stm32-cordic
stm32 CORDIC driver
2024-04-04 21:32:27 +00:00
Dario Nieuwenhuis
c8936edb6c stm32/can: simplify bxcan api, merging bx::* into the main structs.
The bx::* separate structs (Can, Rx, Tx) and separate `Instance` trait
are a relic from the `bxcan` crate. Remove them, move the functionality
into the main structs.
2024-04-02 11:08:03 +02:00
Corey Schuhen
8d43fb4da4 CAN: Use the same testing code for BXCAN and FDCAN h/w. 2024-03-28 09:32:13 +10: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
Emilie Burgun
402def86ee Remove ad-hoc fixes for setting the IOSV bit to true 2024-03-26 17:27:02 +01:00
eZio Pan
6b2e15e318 stm32 CORDIC: exclude stm32u5a 2024-03-26 15:06:06 +08:00
eZio Pan
79eabc95aa stm32 CORDIC: add g491re back to cordic test 2024-03-23 09:57:29 +08:00
eZio Pan
0abcccee96 stm32 CORDIC: re-design API 2024-03-23 09:15:25 +08:00
eZio Pan
441aa4c8ce stm32 CORDIC: make HIL run 2024-03-23 09:15:25 +08:00
eZio Pan
0d065ab2d6 stm32 CORDIC: add HIL test 2024-03-23 09:15:25 +08:00
Corey Schuhen
3f5c8784af FDCAN: Fix offset issue preventing CAN2 and CAN3 from working.
Fix for not H7
2024-03-16 19:32:38 +10:00
Dario Nieuwenhuis
c580d4c490
Merge pull request #2701 from timokroeger/stm32-ucpd
STM32 UCPD CI Test
2024-03-15 18:51:09 +00:00
Dario Nieuwenhuis
0f03018434 tests/stm32: run ucpd only on g0. 2024-03-15 19:47:05 +01:00
Timo Kröger
067e677ae5 [UCPD] Add unit test for stm32g071rb board
One test for changing the CC line pull-up resistor is skipped for now.
2024-03-15 17:49:15 +01:00