Dario Nieuwenhuis
695a6da322
Statically allocate task pools on stable Rust.
...
Thanks @0e4ef622 for the awesome idea of how to do it and the first implementation.
Co-Authored-By: Matthew Tran <0e4ef622@gmail.com>
2025-03-28 19:11:53 +01:00
Dario Nieuwenhuis
bda7ba7b14
Merge pull request #4019 from techmccat/main
...
stm32: allow using LSI/LSE as SYSCLK on g0/c0
2025-03-28 12:20:24 +00:00
techmccat
ce578b62b8
stm32: run cargo fmt
2025-03-28 10:45:14 +01:00
techmccat
0621087f6f
stm32: allow using LSI/LSE as SYSCLK on g0/c0
2025-03-28 10:35:05 +01:00
Dario Nieuwenhuis
502c188cf4
Merge pull request #3999 from embassy-rs/peripehral-v2
...
Remove Peripheral trait, rename PeripheralRef->Peri.
2025-03-27 15:30:40 +01:00
Dario Nieuwenhuis
d41eeeae79
Remove Peripheral trait, rename PeripheralRef->Peri.
2025-03-27 15:18:06 +01:00
Dario Nieuwenhuis
d097ccc68c
Merge pull request #4012 from adom-inc/rp2350-adc-fix
...
rp/adc: fix potential race condition
2025-03-27 13:36:46 +00:00
Dario Nieuwenhuis
8186847801
Merge pull request #4014 from adom-inc/rp-bootram-typo
...
rp: rename BOOTROM_BASE to BOOTRAM_BASE
2025-03-27 13:26:22 +00:00
Adrian Wowk
5777284304
rp: rename BOOTROM_BASE to BOOTRAM_BASE
...
Previously the constant pointing at the base of the bootram was
incorrectly called BOOTROM_BASE. According to the datasheet, the bootrom
is a 32K region starting at 0x00000000 while the bootram is a 1K region
of SRAM starting at 0x400e0000.
2025-03-26 19:05:27 -05:00
Adrian Wowk
1b6e563260
rp/adc: fix potential race condition
...
This commit rearranges the Adc::wait_for_ready function to make sure
that wakers are registered before the interrupt is enabled, and keeps
enabling the interrupt until the ADC is ready
2025-03-26 17:11:27 -05:00
Ulf Lilleengen
9edf5b7f04
Merge pull request #4009 from i509VCB/mspm0-gpio-disable-event
...
mspm0: disable events before clearing gpio RIS
2025-03-26 07:50:13 +00:00
i509VCB
db7759ea7d
mspm0: disable events before clearing gpio ris
2025-03-25 23:55:01 -05:00
Dario Nieuwenhuis
4f250f3995
Merge pull request #4005 from embassy-rs/no-nodma
...
stm32: remove DMA generic params, remove NoDma.
2025-03-25 21:31:14 +00:00
Dario Nieuwenhuis
a592acb806
stm32/cryp: remove DMA generic param.
2025-03-25 22:18:21 +01:00
Dario Nieuwenhuis
db86aba841
stm32/hash: remove DMA generic param.
2025-03-25 21:57:37 +01:00
Dario Nieuwenhuis
9a0afa7bf4
stm32/sdmmc: remove DMA generic param.
2025-03-25 21:43:47 +01:00
Dario Nieuwenhuis
73ec3a7506
stm32/dac: remove DMA generic params.
2025-03-25 21:31:28 +01:00
Dario Nieuwenhuis
f007b53db3
stm32/dac: dedup pin and DMA traits, demacrofify.
2025-03-25 20:49:09 +01:00
Dario Nieuwenhuis
17cce79807
Merge pull request #3992 from elagil/usb_fixes
...
Small USB-related fixes
2025-03-25 11:03:53 +00:00
Dario Nieuwenhuis
9d009e59e5
Merge pull request #4000 from quarters78/main
...
Make CDC ACM state constructor `const`
2025-03-25 11:00:56 +00:00
Dario Nieuwenhuis
dbbdd5e388
Merge pull request #4004 from johnkjellberg/main
...
Clarified ADC API documentation for some STM32s.
2025-03-25 10:38:30 +00:00
John Kjellberg
3e63a2e5df
Clarified ADC API documentation for some STM32s.
2025-03-25 11:10:51 +01:00
Bailey Quarters
eff9168846
Make CDC ACM state constructor const
2025-03-24 19:53:36 +01:00
elagil
15394ae5fa
fix(usb): blocking wait
2025-03-24 19:49:44 +01:00
Dario Nieuwenhuis
f15a11f4d6
Merge pull request #3994 from i509VCB/mspm0-generate-singletons
...
mspm0: generate all singletons
2025-03-24 00:27:16 +00:00
Dario Nieuwenhuis
c9a0797797
Merge pull request #3991 from i509VCB/mspm0-remove-unimpl-features
...
mspm0: Remove features for which int_group is not implemented in metapac yet
2025-03-24 00:26:19 +00:00
Dario Nieuwenhuis
b7ea1dcd9d
Merge pull request #3993 from drindr/main
...
clean the SAADC's register while dropping
2025-03-24 00:25:56 +00:00
i509VCB
73c0bad8ad
mspm0: remove todo comment about pin names with slash
...
these are now gone from metapac
2025-03-22 19:27:52 -05:00
i509VCB
07da54ec18
mspm0: generate all singletons
2025-03-22 19:26:05 -05:00
drindr
816aa9a06c
clean the SAADC's register while dropping
2025-03-23 00:01:01 +08:00
elagil
e34b4d69ee
fix: build
2025-03-22 11:58:50 +01:00
elagil
5264d77007
fix: mute by default (UAC1)
2025-03-22 11:47:38 +01:00
elagil
07387ea405
fix: apply STM32H5 USB errata (OUT transfer delay)
2025-03-22 11:47:36 +01:00
i509VCB
46a96ff68c
mspm0: Remove features for which int_group is not implemented in metapac yet
...
These will be readded again when I eliminate int_group manual impls in the near future
2025-03-21 19:23:43 -05:00
Dario Nieuwenhuis
4033a619a8
Merge pull request #3990 from i509VCB/fix-doc
...
Add missing flavors to docs for mspm0
2025-03-21 23:42:57 +00:00
i509VCB
d43acbb22b
Add missing flavors to docs for mspm0
2025-03-21 15:16:27 -05:00
Ulf Lilleengen
e29be82c8b
Merge pull request #3966 from i509VCB/mspm0-init
...
Embassy for MSPM0
2025-03-21 13:32:14 +00:00
Dario Nieuwenhuis
fecb7a2b2b
Merge pull request #3976 from friedman-ionq/stm32h7rs-enet
...
define stm32h7rs ethernet pin traits
2025-03-20 13:34:29 +00:00
Steven Friedman
83b70d5847
w/ static config, don't need to wait for DHCP
2025-03-20 09:14:28 -04:00
Steven Friedman
1e027d3b61
revert changes to build.rs
2025-03-20 09:14:27 -04:00
Steven Friedman
9fd464dc50
reformat
2025-03-20 09:14:27 -04:00
Steven Friedman
a0b948f270
define stm32h7rs ethernet pin traits
2025-03-20 09:14:27 -04:00
Ulf Lilleengen
31352b2436
Merge pull request #3982 from mkj/dev/matt/net-std
...
embassy-net: Add std and alloc features
2025-03-20 05:43:16 +00:00
Matt Johnston
c7e997a8d8
embassy-net: Add std and alloc features
...
These are passed through to smoltcp, which otherwise won't handle
some match cases when managed/std feature is enabled externally.
--> .../index.crates.io-1949cf8c6b5b557f/smoltcp-0.12.0/src/iface/socket_set.rs:82:15
|
82 | match &mut self.sockets {
| ^^^^^^^^^^^^^^^^^ pattern `&mut ManagedSlice::Owned(_)` not covered
2025-03-20 11:30:37 +08:00
Dario Nieuwenhuis
3e03d693a7
Merge pull request #3981 from embassy-rs/update-stm32-data-234
...
update stm32-data, add C0 adc, add OTP memory regions.
2025-03-20 01:17:26 +00:00
Rasmus Melchior Jacobsen
5e762e8cf4
Fix compile error in ospi
2025-03-20 01:58:44 +01:00
Rasmus Melchior Jacobsen
97ed7f085a
feat(stm32): Add OTP flash region (again)
2025-03-20 01:58:44 +01:00
Timofei Korostelev
8c6fa83006
Added ADC support for STM32C0.
2025-03-20 01:58:44 +01:00
Dario Nieuwenhuis
9407ac67d3
Update stm32-data.
2025-03-20 01:58:44 +01:00
Dario Nieuwenhuis
4f2b1371f9
Merge pull request #3979 from embedded-rust-iml/fix/ringbuffered-error-recovery
...
Recover from errors in ringbuffered usart
2025-03-20 00:19:14 +00:00