Priit Laes
fcb270bced
nrf: Add basic CHANGELOG summarizing changes in embassy-nrf
2024-04-10 11:02:35 +03:00
Andres Vahter
fd901fc7e0
stm32: update adc examples
2024-04-10 10:57:52 +03:00
Andres Vahter
68b1a840c6
stm32 adc: remove DelayNs
2024-04-10 10:33:15 +03:00
Gustav Toft
6663be0b36
Fixed commented issues.
2024-04-10 09:07:20 +02:00
Andres Vahter
fd802ffdfd
stm32: use embedded_hal_1::delay::DelayNs
...
This makes delay compatible with https://lib.rs/crates/rtic-monotonics .
2024-04-09 22:32:09 +03:00
Dario Nieuwenhuis
c575c7dc6c
Merge pull request #2794 from simpkins/usb_mps
...
USB: fix comments about the config.max_packet_size_0 field
2024-04-09 17:40:57 +00:00
Adam Simpkins
03a87add15
USB: fix comments about the config.max_packet_size_0 field
...
Fix the comment about the default value: this defaults to 64 rather
than 8 bytes.
It seems like the max packet size for endpoint 0 should normally be
selected automatically, rather than being part of the config. At best
it seems like this setting should just be a hint that gets used if when
the bus is operating at full speed. The contents of the device
descriptor should ideally be updated with the correct max packet size
after bus enumeration completes. In practice always using 64 is
probably fine if low speed environments never need to be supported.
(Super speed requires a max packet size of 512 bytes, which I didn't
list in the comments here.)
2024-04-09 10:31:19 -07:00
Dario Nieuwenhuis
029636e6fc
Merge pull request #2787 from sourcebox/sync-additions
...
embassy-sync: Add len, is_empty and is_full functions to Channel.
2024-04-07 23:06:23 +00:00
Oliver Rockstedt
fa05256f05
embassy-sync: Add len, is_empty and is_full functions to Channel.
2024-04-08 00:40:42 +02:00
Dario Nieuwenhuis
a4eebdcc68
Merge pull request #2785 from barnabywalters/stm32-multiprio
...
[embassy-stm32] added comments explaining multiprio interrupts
2024-04-07 16:16:13 +00:00
Barnaby Walters
effc08dde3
Incorporated adam’s suggestion into all multiprio comments
2024-04-07 16:22:42 +02:00
Barnaby Walters
56d34eefaa
Apply suggestions from code review
...
Co-authored-by: becothas <41289937+becothas@users.noreply.github.com>
2024-04-07 15:33:51 +02:00
Barnaby Walters
cf0097162c
[embassy-stm32] added comments explaining multiprio interrupts
2024-04-07 15:19:56 +02:00
Dario Nieuwenhuis
328cb99068
Merge pull request #2779 from barnabywalters/patch-1
...
Add VBUS detection blackpill comment
2024-04-05 20:28:15 +00:00
Barnaby Walters
99ea564f1c
Add VBUS detection blackpill comment
2024-04-05 22:11:01 +02:00
Dario Nieuwenhuis
9884460787
Merge pull request #2778 from Dillonmcewan/rcc-docs-typo
...
Fix 'clocok' typo in RCC docs
2024-04-05 17:27:18 +00:00
Dillon McEwan
2ad82c2adf
Fix 'clocok' typo in RCC docs
2024-04-05 10:07:15 -07:00
Dario Nieuwenhuis
370436d675
Merge pull request #2776 from MaxiluxSystems/fix/adc-h5-ch0
...
stm32: adc: v3: [h5] set OR.OP0 to 1 when ADCx_INP0 is selected, per RM
2024-04-05 12:59:13 +00:00
Torin Cooper-Bennun
c953b9045b
stm32: adc: v3: [h5] set OR.OP0 to 1 when ADCx_INP0 is selected, per RM
2024-04-05 13:00:33 +01:00
Dario Nieuwenhuis
20110ce6c7
Merge pull request #2775 from embassy-rs/qspi-autolen
...
stm32/qspi: autodeduce transfer len from buffer len.
2024-04-04 23:47:02 +00:00
Dario Nieuwenhuis
c2b8ddaa83
stm32/qspi: autodeduce transfer len from buffer len.
...
mirrors change made in #2672 .
2024-04-05 01:41:47 +02:00
Dario Nieuwenhuis
485bfd165c
Merge pull request #2476 from pawel00100/rp_pwm_input_pull-up_and_pull-down
...
Add parameter for enabling pull-up and pull-down in RP PWM input mode
2024-04-04 23:21:56 +00:00
pawel00100
143b288333
Add parameter for enabling pull-up and pull-down in RP PWM input mode
2024-04-05 01:20:34 +02:00
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