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
Aurélien Jacobs
10ee1c1ae8
stm32: ensure the core runs on HSI clock while setting up rcc
2024-04-16 23:36:47 +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
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
Jack Hogan
aeb4daa22f
Merge branch 'embassy-rs:main' into main
2024-04-15 14:15:53 -04:00
Jack Hogan
6ffecb1250
Added MAC address getter to cyw43 controller
2024-04-15 14:11:28 -04:00
Boris Faure
ae4fb433ae
usb-hid: all the RequestHandler method accept &mut self
2024-04-15 19:57:18 +02:00
Boris Faure
9341ef3b47
examples: request_handler is mutable
2024-04-15 19:57:18 +02:00
Boris Faure
41415fae0d
usb/hid: make RequestHandler::set_report(&mut self,…)
...
That way, it is possible to change some fields in the RequestHandler based
on outside report.
2024-04-15 19:57:18 +02:00
Dario Nieuwenhuis
3f4e326ec5
Merge pull request #2815 from embassy-rs/mux-nonexhaustive
...
stm32/rcc: make ClockMux non_exhasutive.
2024-04-15 13:57:10 +02:00
Torin Cooper-Bennun
f66b63017c
stm32: flash: h50: implement bank swapping
2024-04-15 11:37:40 +01:00
chrysn
8fe88847d8
fixup! net/udp: Relay full UdpMetadata instead of only remote endpoint in poll_ functions
2024-04-15 10:02:35 +02:00