Dániel Buga
3dc54c8c44
Add some metadata
2024-04-26 18:28:41 +02:00
Dániel Buga
7ce2594eb7
Reset inited flag to allow re-enabling
2024-04-26 18:18:08 +02:00
Dániel Buga
50aefb4174
Hide the Dir trait
2024-04-26 18:13:15 +02:00
Dániel Buga
91c42e0b9e
Extract synopsys otg driver
2024-04-26 17:58:23 +02:00
Dario Nieuwenhuis
4d4cbc0dd3
Merge pull request #2812 from borisfaure/mut-hid-request-handler
...
usb::hid::RequestHandler::set_report(&mut self, ...)
2024-04-23 17:42:56 +00:00
Dario Nieuwenhuis
1de44e7086
Merge pull request #2840 from MaxiluxSystems/feature/fdcan-runtime-cfg
...
stm32: can: fd: Properties for common runtime get/set operations
2024-04-23 13:46:09 +00:00
Torin Cooper-Bennun
e15fd5895f
stm32: can: fd: Properties: simplify reg accesses
2024-04-23 12:46:42 +01:00
Torin Cooper-Bennun
521c132e34
stm32: can: fd: introduce BusErrorMode with docs and Properties getter
2024-04-23 12:34:17 +01:00
Torin Cooper-Bennun
6ca7e0feab
stm32: can: fd: fix a couple doc comments
2024-04-23 12:34:02 +01:00
Dario Nieuwenhuis
511bee7230
Merge pull request #2854 from ericyanush/feat/add-bxcan-sleep-wakeup
...
Add stm32 bxCAN sleep/wakeup functionality
2024-04-22 22:57:22 +00:00
Eric Yanush
5c56aff9c2
rustfmt fixes
2024-04-22 14:05:28 -06:00
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
nerwalt
30dcc88093
Adding ready_to_receive to Channel and Receiver
...
Adding ReceiveReadyFuture
2024-04-19 12:16:12 -06: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
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