Commit Graph

7750 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
9d0b682b2d
Merge pull request #2735 from eZioPan/stm32-timer-api-leak
stm32: fix timer api leaking
2024-04-04 23:04:38 +00:00
Dario Nieuwenhuis
3d7d3e0286 stm32/time-driver: always use CC interrupt.
This avoids cfg's, because it works both for timers that have a a dedicated CC interrupt
line, and timers where all interrupts go to a single interrupt line.
2024-04-05 00:56:21 +02:00
Dario Nieuwenhuis
8294bbc99d
Merge pull request #2774 from embassy-rs/unsealedify
nrf,rp,stm32: remove mod sealed.
2024-04-04 22:55:31 +00:00
eZio Pan
5dc3738bc2 add missing interrupt for timer 2024-04-05 00:51:20 +02:00
eZio Pan
78b9cb98d4 "separate CC interrupt" is for AdvCh4 only 2024-04-05 00:51:20 +02:00
eZio Pan
348a46b110 move enable_outputs to private trait ...
... to avoid API leaking.
2024-04-05 00:51:20 +02:00
Dario Nieuwenhuis
d597815c9a stm32: remove last few mod sealed's. 2024-04-05 00:48:46 +02:00
Dario Nieuwenhuis
a84b33995e rp: remove mod sealed. 2024-04-05 00:48:46 +02:00
Dario Nieuwenhuis
ab85eb4b60 nrf: remove mod sealed. 2024-04-05 00:48:46 +02:00
Dario Nieuwenhuis
0e1208947e
Merge pull request #2741 from schmettow/patch-1
Added YLab project to "in the wild"
2024-04-04 21:44:40 +00:00
Dario Nieuwenhuis
a0439479f7
Merge pull request #2742 from sgoll/i2c-async-transaction
stm32/i2c(v1): Implement asynchronous transactions
2024-04-04 21:43:21 +00: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
Gustav Toft
a373633d0d Merge branch 'main' of https://github.com/GustavToft/embassy 2024-04-04 15:52:44 +02:00
Gustav Toft
0427c442ea Implement raw sockets in embassy-net 2024-04-04 15:51:25 +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
Ulf Lilleengen
027a1e6f32
Merge pull request #2765 from davidzwa/patch-1
Update faq.adoc with memory.x definition helping hand
2024-04-04 05:05:25 +00:00
Ulf Lilleengen
f873e5944e
Merge pull request #2766 from alexmoon/semaphore-fix
Fix `FairSemaphore` bugs
2024-04-04 05:04:19 +00:00
Alex Moon
c9acebf783 Fix FairSemaphore bugs
- `acquire` and `acquire_all` futures were `!Send`, even for `M: RawMutex + Send` due to the captured `Cell`.
- If multiple `acquire` tasks were queued, waking the first would not wake the second, even if there were permits remaining after the first `acquire` completed.
2024-04-03 19:13:57 -04:00
Karun
330a3b0488 Fix passing of dual quad param to inner constructor 2024-04-03 16:42:16 -04:00
Karun
4ea7dfce17 Fix build errors
Add empty checks/peripheral busy waits
2024-04-03 16:36:02 -04:00
David Zwart
446965a903
Update faq.adoc 2024-04-03 22:33:21 +02:00
David Zwart
7aef047def
Update faq.adoc
github link
2024-04-03 22:32:28 +02:00
David Zwart
54be08afe4
Update faq.adoc with memory.x definition helping hand 2024-04-03 22:24:09 +02:00
Karun
80aeea93fd Configure dual-quad setting by constructor 2024-04-03 16:05:23 -04:00
Karun
b3bbf42b8b Remove data length from transfer config
Remove non hal traits
Fix function comments
2024-04-03 15:58:20 -04:00
Karun
630fd90d26 Address PR comments 2024-04-03 14:01:40 -04:00
Karun
a031b3b79e Update metapac 2024-04-03 13:42:38 -04:00
Sebastian Goll
6efac5562a Merge remote-tracking branch 'upstream/main' into i2c-async-transaction 2024-04-03 16:53:45 +02:00
Karun
66a7b62909 Add octospi version dependency for max transfer support 2024-04-02 16:24:31 -04:00
Dario Nieuwenhuis
1fd260e4b1
Merge pull request #2764 from borisfaure/stm32-typo-in-doc
stm32: fix typo in doc
2024-04-02 20:21:56 +00:00
Boris Faure
1e399fbf9d stm32: fix typo in doc 2024-04-02 22:16:11 +02:00
Karun
166c95be6c Update to use private supertrait, following PR#2730 2024-04-02 16:14:10 -04:00
Karun Koppula
9344f55ff3
Merge branch 'main' into karun/main_octospi_implementation 2024-04-02 15:51:50 -04:00
Karun
2caea89b6a Update build dependency as well 2024-04-02 15:50:57 -04:00
Karun
d62615b536 Update metapac to use PR #442 with octospi rcc updates 2024-04-02 15:48:39 -04:00
Ulf Lilleengen
990f271767
Merge pull request #2755 from alexmoon/sync-semaphore
Semaphore synchronization primitive
2024-04-02 19:15:36 +00:00
Dario Nieuwenhuis
0e709ab0ea
Merge pull request #2763 from UPB-FILS-MA/rp_rename_pwm_channel_to_slice
rp2040: rename all usages of pwm channel to pwm slices
2024-04-02 17:10:27 +00:00
Alexandru RADOVICI
7c36e8dbc7 rename pins data type and the macro 2024-04-02 20:05:46 +03:00
Alexandru RADOVICI
d35572c11f rename pwm channels to pwm slices, including in documentation 2024-04-02 19:50:30 +03:00
Alexandru RADOVICI
7b9546c9c8 rename the Channel trait to Slice and the PwmPin to PwmChannel 2024-04-02 19:42:37 +03:00
Sebastian Goll
7506519a13 Merge remote-tracking branch 'upstream/main' into i2c-async-transaction 2024-04-02 18:10:25 +02:00
Karun
47b492ba05 retrigger checks 2024-04-02 12:01:33 -04:00
Dario Nieuwenhuis
e29b5619d1
Merge pull request #2762 from UPB-FILS-MA/rp_rename_pwm
rp2040: Rename PWM_CH to PWM_SLICE
2024-04-02 14:37:46 +00:00
Alexandru RADOVICI
aa9eb2ab01 rename PWM_CH to PWM_SLICE 2024-04-02 17:20:35 +03:00
Sebastian Goll
804b19b116 Merge remote-tracking branch 'upstream/main' into i2c-async-transaction 2024-04-02 16:06:15 +02:00
Dario Nieuwenhuis
016d552d1a
Merge pull request #2760 from embassy-rs/stm32-bxcan-flatten
stm32/can: simplify bxcan api, merging bx::* into the main structs.
2024-04-02 10:32:19 +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
Dario Nieuwenhuis
e0f0430e2c
Merge pull request #2757 from tyler-gilbert/add-async-stop-stm32-dma_bdma
Add async stop() function to stm32 bdma_dma
2024-04-01 16:29:53 +00:00