Commit Graph

7948 Commits

Author SHA1 Message Date
Eric Yanush
e65503e255 Add sleep/wakeup handling for bxCAN peripherals 2024-04-22 14:04:39 -06:00
Eric Yanush
3e00c1ac52 rustfmt whitespace fixes 2024-04-22 14:01:48 -06:00
Dario Nieuwenhuis
e581c9f027
Merge pull request #2849 from joelsa/add-vbus-faq
Add information about vbus_detection to the FAQ and link it in all USB examples.
2024-04-22 13:29:38 +00:00
Torin Cooper-Bennun
846abfae2b examples: stm32: can: fix build 2024-04-22 13:31:01 +01:00
Torin Cooper-Bennun
543c02e649 stm32: can: fd: fix test build for all relevant chips 2024-04-22 13:30:57 +01:00
Torin Cooper-Bennun
263071d016 stm32: can: fd: Properties: rm &mut refs; make !Sync; rename getters 2024-04-22 13:14:32 +01:00
Torin Cooper-Bennun
7f55a28a50 stm32: can: fd: Properties for common runtime get/set operations 2024-04-22 13:14:32 +01:00
Ulf Lilleengen
a9878a243d
Merge pull request #2841 from nerwalt/channel-ready-to-receive
Adding ready_to_receive to Channel and Receiver
2024-04-22 10:25:02 +00:00
Eric Yanush
68a4fd8f4a Enable LEC interrupt as well 2024-04-22 01:52:10 -06:00
Eric Yanush
6e1290b3f1 Ensure bus errors are forwarded only once, enable bus off/passive/warning interrupts 2024-04-22 01:46:24 -06:00
Joël Schulz-Ansres
01b36a4434 rustfmt usb examples 2024-04-22 01:06:59 +02:00
Joël Schulz-Ansres
896d0e7cd8 Add comment on vbus_detection to all USB examples 2024-04-22 00:52:37 +02:00
Joël Schulz-Ansres
152d514f52 Fix spelling in vbus_detection doc comment 2024-04-22 00:39:59 +02:00
Joël Schulz-Ansres
79fbdb1fe0 Add USB debugging section to FAQ 2024-04-22 00:38:09 +02:00
Dario Nieuwenhuis
a5b006268b
Merge pull request #2848 from jannic/pio_pull_doc_improvement
Add a comment to the pio rx fifo pull function
2024-04-21 21:32:18 +00:00
Jan Niehusmann
3f8736e872 Add a comment to the pio rx fifo pull function 2024-04-21 21:24:15 +00:00
Bjorn
d2ba751c06 Changed attach to new 2024-04-21 10:00:57 -07:00
Bjorn
7658966486 Merge branch 'main' of https://github.com/embassy-rs/embassy 2024-04-20 22:12:28 -07:00
Bjorn
0a2d58ec5b Added PIO pwm examples for rp
Two additionally `rp` examples, `pio_pwm.rs`, which is a baremetal example of how to do pwm with pio, and `pio_servo.rs`, which is a more extended example of pwm and pio with servos.
2024-04-20 22:12:24 -07:00
Mark Tomlin
b03f23ab64
Update sharing_peripherals.adoc 2024-04-19 21:36:03 -04:00
Mark Tomlin
b2f7ce99d6
Update time_keeping.adoc 2024-04-19 21:35:25 -04:00
nerwalt
30dcc88093 Adding ready_to_receive to Channel and Receiver
Adding ReceiveReadyFuture
2024-04-19 12:16:12 -06:00
chrysn
49435f79b3 fixup! net/udp: Relay full UdpMetadata instead of only remote endpoint in poll_ functions 2024-04-19 15:54:56 +02:00
chrysn
2c7c39d1db fixup! net/udp: Relay full UdpMetadata instead of only remote endpoint in poll_ functions 2024-04-19 15:51:27 +02:00
chrysn
e6bf6c7a49 Merge branch 'main' into prep-embedded-nal-async-udp 2024-04-19 15:22:57 +02:00
Ulf Lilleengen
da86c08651
Merge pull request #2839 from retif/patch-1
Update layer_by_layer.adoc to fix a typo
2024-04-19 10:40:34 +00:00
Oleksandr Kuksenko
0dcf034857
Update layer_by_layer.adoc
Fixed typo
2024-04-19 13:37:58 +03:00
Dario Nieuwenhuis
00708d8c27
Merge pull request #2833 from qwerty19106/stm32_fix_half_duplex_uart
Allow Uart::new_half_duplex for any usart version
2024-04-18 14:49:11 +00:00
Dario Nieuwenhuis
0ee7748811
Merge pull request #2832 from MaxiluxSystems/feature/fdcan-bus-off
stm32: can: fd: implement bus-off recovery
2024-04-18 14:48:13 +00:00
qwerty19106
ce58cd0f1c Allow Uart::new_half_duplex for all usart_vx 2024-04-18 10:34:52 +04:00
Dario Nieuwenhuis
78ca904e96
Merge pull request #2831 from cyril-marpaud/patch-1
fix: typo
2024-04-17 15:56:31 +00:00
Torin Cooper-Bennun
80b3db4ea6 stm32: can: fd: implement bus-off recovery
as per RM0492 and other relevant RMs, bus-off recovery is not automatic.
CCCR.INIT is set by the device upon bus-off; the CPU must reset
CCCR.INIT to initiate the recovery.
2024-04-17 14:58:08 +01:00
Torin Cooper-Bennun
901bdfc7b8 stm32: can: fd: on_interrupt: simplify, rm redundant code
PED, PEA are never enabled in the interrupt enable code in
peripheral.rs; no need to process the flags here
2024-04-17 14:57:58 +01:00
Cyril Marpaud
34362b77cc
fix: typo 2024-04-17 12:56:18 +02:00
Dario Nieuwenhuis
bab4affe7c
Merge pull request #2813 from diondokter/u0-dion
More U0 support
2024-04-16 18:45:09 +00:00
Dario Nieuwenhuis
38e71a2438 ci: add u0 examples. 2024-04-16 20:38:09 +02:00
Dario Nieuwenhuis
2bd5095991 stm32/usb: enable USV for U0. 2024-04-16 20:37:42 +02:00
Dario Nieuwenhuis
e5e9fb78af update stm32-metapac. 2024-04-16 20:37:10 +02:00
Dario Nieuwenhuis
40ad87730f
Merge pull request #2828 from idaniel86/stm32-g4-adc-channel-number-issue
Bug: There are at most 18 channels for the STM32G4 ADCs.
2024-04-16 18:35:56 +00:00
Daniel Igaz
32b1b4067f Bug: There are at most 18 channels for the ADC. 2024-04-16 20:27:12 +02:00
Alex Moon
34668bae5c Add wait_disabled method to embassy_nrf::usb::Endpoint 2024-04-16 12:14:22 -04:00
Dario Nieuwenhuis
bd13b5c060 More probe-run -> probe-rs run. 2024-04-16 17:07:13 +02:00
Dario Nieuwenhuis
b66736a4d3
Merge pull request #2826 from embassy-rs/jamesmunns-patch-1
L4 Example: probe-run to probe-rs
2024-04-16 17:05:53 +02:00
James Munns
4202dac8a6
L4 Example: probe-run to probe-rs
Reverts some change made in https://github.com/embassy-rs/embassy/pull/1792
2024-04-16 17:03:44 +02:00
Dion Dokter
90f1d29c24 Fix rng clock 2024-04-16 16:36:10 +02:00
Dario Nieuwenhuis
b3710a31f0
Merge pull request #2825 from MaxiluxSystems/fix/adc-blocking-delay-overflow
stm32: adc: fix blocking_delay_us() overflowing when sys freq is high
2024-04-16 14:22:39 +00:00
Torin Cooper-Bennun
d928663bae stm32: adc: fix blocking_delay_us() overflowing when sys freq is high
e.g. H503 running at 250 MHz resulted in an upper bound of 17 us here.
casting up to u64 for intermediate calc allows the upper bound to be
increased by a factor of 1e6
2024-04-16 15:13:31 +01:00
Dion Dokter
a5f754238b Add spi, i2c and fix usart 2024-04-16 15:33:23 +02:00
Dion Dokter
53cb84d3d6 Added RTC example 2024-04-16 15:24:20 +02:00
Dario Nieuwenhuis
e421215dff
Merge pull request #2822 from embassy-rs/jamesmunns-patch-1
FAQ: Common STM32 stumbling blocks
2024-04-16 12:05:40 +00:00