Commit Graph

7803 Commits

Author SHA1 Message Date
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
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