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
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
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
Dion Dokter
c8c7c718f3
Merge branch 'master' into u0-dion
2024-04-16 13:48:18 +02:00
Dario Nieuwenhuis
ca139b9177
Merge pull request #2823 from jamesmunns/james/usb-otg-errata
...
Add critical sections to avoid USB OTG Errata
2024-04-16 11:41:59 +00:00
James Munns
2315a39293
Remove nested CS
2024-04-16 13:39:00 +02:00
James Munns
75352d181c
Add critical sections to avoid USB OTG Errata
2024-04-16 12:07:40 +02:00
James Munns
8988df9ac1
FAQ: Common STM32 stumbling blocks
...
Adds some commonly encountered issues.
Help wanted: if anyone has a working BDMA linker script setup, it would be good to add here.
2024-04-16 11:07:42 +02:00
Dario Nieuwenhuis
e38f1011d6
Merge pull request #2821 from embassy-rs/usart-nodma
...
stm32/usart: remove DMA generic params.
2024-04-16 00:05:43 +00:00
Dario Nieuwenhuis
d6b1233f16
stm32/usart: remove DMA generic params.
2024-04-16 02:00:55 +02:00
Dario Nieuwenhuis
524c24c8b3
Merge pull request #2808 from MaxiluxSystems/feature/stm32h50-flash-swap-banks
...
stm32: flash: h50: implement bank swapping
2024-04-15 22:35:07 +00:00
Dario Nieuwenhuis
6d122c274f
Merge pull request #2792 from wagcampbell/wgc/u5-flash-non-secure
...
Support non-secure flash operations on STM32U5
2024-04-15 22:28:34 +00:00
Warren Campbell
c5119c6318
Add support for using secure registers
2024-04-15 18:02:29 -04:00
Dario Nieuwenhuis
76bf3f733d
Merge pull request #2820 from embassy-rs/i2c-nodma
...
stm32/i2c: remove DMA generic params.
2024-04-15 21:45:08 +00:00
Dario Nieuwenhuis
913bb19a34
stm32/i2c: remove DMA generic params.
2024-04-15 23:40:12 +02:00
Dario Nieuwenhuis
2eab099b85
stm32/spi: rename rxdma, txdma -> rx_dma, tx_dma.
2024-04-15 21:56:08 +02:00
Dario Nieuwenhuis
09a284e959
stm32: rename mod traits to macros.
2024-04-15 21:52:40 +02:00
Dario Nieuwenhuis
02da66aec8
stm32/dma: add ChannelAndRequest helper.
2024-04-15 21:52:40 +02:00
Dario Nieuwenhuis
d66c054aae
Merge pull request #2819 from embassy-rs/spi-nodma
...
stm32/spi: remove DMA generic params.
2024-04-15 19:33:12 +00:00
Dario Nieuwenhuis
be087e5d43
stm32/spi: remove DMA generic params.
2024-04-15 21:23:49 +02:00
Warren Campbell
2fa0bb7d6e
Use non-secure registers for u5 flash
2024-04-15 14:59:31 -04:00
Dario Nieuwenhuis
27ba2ad5b0
Merge pull request #2818 from ImTheSquid/main
...
Add MAC address getter to cyw43 controller
2024-04-15 18:21:39 +00:00
Dario Nieuwenhuis
40e7ea47ba
temporarily disable stm32l152re/usart_rx_ringbuffered test.
2024-04-15 20:20:48 +02:00