Commit graph

7814 commits

Author SHA1 Message Date
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
Dion Dokter
e224e6cef4 Add CRC 2024-04-14 01:10:20 +02:00
Dion Dokter
ca84be80bc Add wdt and flash 2024-04-14 00:45:53 +02:00
Dion Dokter
0a785585bc Remove temp variable 2024-04-14 00:08:06 +02:00
Dion Dokter
b659e3d529 Add ADC 2024-04-14 00:04:13 +02:00
Dion Dokter
5f23e39052 Add some examples.
- usart works
- dac works
- rng gets stuck on while loop
- usb_serial works, but cannot test due to lack of user usb port
- adc needs work and does not work yet
2024-04-13 18:40:46 +02:00
Dion Dokter
af03e1653a Disable the speed limitation 2024-04-13 14:07:01 +02:00
Dario Nieuwenhuis
ec6ff217ca Add stm32u0 support. 2024-04-13 03:57:21 +02:00
Dario Nieuwenhuis
52bd24499c stm32/adc: update g4 for new pac. 2024-04-13 03:34:28 +02:00
Dario Nieuwenhuis
d9426549c3 stm32/flash: remove otp flash regions (removed in newer metapacs). 2024-04-13 03:33:16 +02:00
Michael Zill
9f4d320d67 stm32/spi,crc: update for new PAC 2024-04-13 03:33:04 +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
chrysn
7f1bedcee0 net/udp: Relay full UdpMetadata instead of only remote endpoint in poll_ functions
This is a breaking change for users of the poll_ functions. (Some might
not notice if they already pass in an IpEndpoint into poll_send_to, or
discard that item in poll_recv_from).
2024-04-08 11:59:21 +02: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