Commit Graph

7900 Commits

Author SHA1 Message Date
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
Dario Nieuwenhuis
fcaa7de87e stm32/rcc: make ClockMux non_exhasutive. 2024-04-15 01:12:28 +02:00
Dario Nieuwenhuis
8e850de592
Merge pull request #2782 from c410-f3r/main
Add `map` method
2024-04-15 01:07:11 +02:00
Dario Nieuwenhuis
a25cae46c5 ci: test embassy-sync on miri. 2024-04-15 00:52:42 +02:00
Caio
86706bdc14 Add map method 2024-04-14 19:35:59 -03:00
Dario Nieuwenhuis
953e1cd6f6
Merge pull request #2814 from embassy-rs/update-nightly
update nightly.
2024-04-15 00:02:45 +02:00
Dario Nieuwenhuis
1741209ba2 update nightly.
Fixes docs build.
2024-04-14 23:59:38 +02:00
Dario Nieuwenhuis
7989e3b59d
Merge pull request #2801 from plaes/nrf-changelog
nrf: Add basic CHANGELOG summarizing changes in embassy-nrf
2024-04-14 23:46:33 +02:00
Dario Nieuwenhuis
70283f128a
Merge pull request #2795 from simpkins/futures_test
Fix embassy-futures test failure
2024-04-14 22:30:46 +02:00
Dario Nieuwenhuis
e147f29b5c ci: test embassy-futures. 2024-04-14 22:30:31 +02:00
Adam Simpkins
5178c24cf4 Fix embassy-futures test failure
Running `cargo test` in embassy-futures was failing.  The `no_run` tag
on this doc example caused it to still try and compile this example,
just not run it, and compilation failed.  This updates the example so
that it can successfully compile and run.
2024-04-14 22:30:14 +02:00
Dario Nieuwenhuis
2f5023f4a7
Merge pull request #2809 from embassy-rs/u0
Add STM32U0 support.
2024-04-14 22:29:35 +02:00
Dario Nieuwenhuis
65c085ce91 Add stm32u0 support. 2024-04-14 22:29:07 +02:00
Dario Nieuwenhuis
87b79d4499
Merge pull request #2807 from chemicstry/rcc_methods
Expose RCC enable and disable methods
2024-04-14 20:14:46 +00:00
Dario Nieuwenhuis
b6d06661bd
Merge pull request #2791 from taunusflieger/feature/fix-spi
Fix for SPI and CRC reg changes in stm32-data
2024-04-14 20:09:30 +00:00
Dario Nieuwenhuis
4079a8acf8 stm32/adc: update g4 for new pac. 2024-04-14 22:06:41 +02:00
Dario Nieuwenhuis
1f3b690f76 stm32/flash: remove otp flash regions (removed in newer metapacs). 2024-04-14 22:06:41 +02:00
Michael Zill
ffc61f78b0 stm32/spi,crc: update for new PAC 2024-04-14 22:06:41 +02:00
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