Dario Nieuwenhuis
70283f128a
Merge pull request #2795 from simpkins/futures_test
...
Fix embassy-futures test failure
2024-04-14 22:30:46 +02:00
Dario Nieuwenhuis
e147f29b5c
ci: test embassy-futures.
2024-04-14 22:30:31 +02:00
Adam Simpkins
5178c24cf4
Fix embassy-futures test failure
...
Running `cargo test` in embassy-futures was failing. The `no_run` tag
on this doc example caused it to still try and compile this example,
just not run it, and compilation failed. This updates the example so
that it can successfully compile and run.
2024-04-14 22:30:14 +02:00
Dario Nieuwenhuis
2f5023f4a7
Merge pull request #2809 from embassy-rs/u0
...
Add STM32U0 support.
2024-04-14 22:29:35 +02:00
Dario Nieuwenhuis
65c085ce91
Add stm32u0 support.
2024-04-14 22:29:07 +02:00
Dario Nieuwenhuis
87b79d4499
Merge pull request #2807 from chemicstry/rcc_methods
...
Expose RCC enable and disable methods
2024-04-14 20:14:46 +00:00
Dario Nieuwenhuis
b6d06661bd
Merge pull request #2791 from taunusflieger/feature/fix-spi
...
Fix for SPI and CRC reg changes in stm32-data
2024-04-14 20:09:30 +00:00
Dario Nieuwenhuis
4079a8acf8
stm32/adc: update g4 for new pac.
2024-04-14 22:06:41 +02:00
Dario Nieuwenhuis
1f3b690f76
stm32/flash: remove otp flash regions (removed in newer metapacs).
2024-04-14 22:06:41 +02:00
Michael Zill
ffc61f78b0
stm32/spi,crc: update for new PAC
2024-04-14 22:06:41 +02:00
chemicstry
64b806db0b
Expose RCC enable and disable methods
2024-04-12 18:07:44 +03:00
Dario Nieuwenhuis
b1902957c9
Merge pull request #2805 from embassy-rs/f4-otg-hs-fix
...
stm32/otg: fix OTG_HS in FS mode.
2024-04-12 01:37:01 +00:00
Dario Nieuwenhuis
499c6e84a3
stm32/otg: fix OTG_HS in FS mode.
2024-04-12 03:33:20 +02:00
Dario Nieuwenhuis
2a157585d1
Merge pull request #2803 from VegaDeftwing/spelling-and-shellcheck
...
Spelling and whitespace fixes
2024-04-11 22:59:50 +02:00
Dario Nieuwenhuis
b74a4394db
Merge pull request #2804 from borisfaure/stm32-usb-typo-in-doc
...
stm32: fix typo in doc
2024-04-11 22:58:42 +02:00
Boris Faure
98b4eb4491
stm32: fix typo in doc
2024-04-11 22:51:34 +02:00
Vega Deftwing
a3f8048877
Revert xargs changes
2024-04-11 20:21:30 +00:00
Vega Deftwing
80fadada70
.sh whitespace and shellcheck fixes
2024-04-11 19:47:31 +00:00
Vega Deftwing
9053b6b5b3
Fix spelling and white space mistakes
2024-04-11 19:45:38 +00:00
Dario Nieuwenhuis
f5f776f815
Merge pull request #2769 from GustavToft/main
...
embassy-net: Implement RAW sockets
2024-04-11 08:54:01 +00:00
Gustav Toft
b578d3e645
Removed generic type parameter.
2024-04-11 10:34:17 +02:00
Gustav Toft
fd5113eeb0
Restore vscode settings
2024-04-11 09:08:10 +02:00
Gustav Toft
fc260fbb01
Merge branch 'main' of https://github.com/embassy-rs/embassy
2024-04-11 09:07:38 +02:00
Gustav Toft
ec0896037a
Removed Result for send and poll_send.
2024-04-11 08:29:06 +02:00
Gustav Toft
d4ba6ccc37
Merge branch 'main' of https://github.com/GustavToft/embassy
2024-04-11 08:27:30 +02:00
Dario Nieuwenhuis
b109263705
Merge pull request #2797 from andresv/stm32-adc-eh1-delayns
...
stm32 adc: remove delay trait
2024-04-10 19:27:08 +00:00
Andres Vahter
6e24dc58c6
stm32 adc: use fn blocking_delay_us(us: u32)
2024-04-10 22:23:49 +03:00
Gustav Toft
4ffe35c840
Merge branch 'main' of https://github.com/embassy-rs/embassy
2024-04-10 13:26:59 +02:00
Gustav Toft
11bf2ca987
Fixed commented issues
2024-04-10 13:26:12 +02: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