Commit Graph

7662 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
be087e5d43 stm32/spi: remove DMA generic params. 2024-04-15 21:23:49 +02:00
Dario Nieuwenhuis
40e7ea47ba temporarily disable stm32l152re/usart_rx_ringbuffered test. 2024-04-15 20:20:48 +02:00
Dario Nieuwenhuis
3f4e326ec5
Merge pull request #2815 from embassy-rs/mux-nonexhaustive
stm32/rcc: make ClockMux non_exhasutive.
2024-04-15 13:57:10 +02:00
Dario Nieuwenhuis
fcaa7de87e stm32/rcc: make ClockMux non_exhasutive. 2024-04-15 01:12:28 +02:00
Dario Nieuwenhuis
8e850de592
Merge pull request #2782 from c410-f3r/main
Add `map` method
2024-04-15 01:07:11 +02:00
Dario Nieuwenhuis
a25cae46c5 ci: test embassy-sync on miri. 2024-04-15 00:52:42 +02:00
Caio
86706bdc14 Add map method 2024-04-14 19:35:59 -03:00
Dario Nieuwenhuis
953e1cd6f6
Merge pull request #2814 from embassy-rs/update-nightly
update nightly.
2024-04-15 00:02:45 +02:00
Dario Nieuwenhuis
1741209ba2 update nightly.
Fixes docs build.
2024-04-14 23:59:38 +02:00
Dario Nieuwenhuis
7989e3b59d
Merge pull request #2801 from plaes/nrf-changelog
nrf: Add basic CHANGELOG summarizing changes in embassy-nrf
2024-04-14 23:46:33 +02:00
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
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