11162 Commits

Author SHA1 Message Date
James Munns
b65a3a301a Clean up some TODOs 2025-09-11 14:45:06 +02:00
James Munns
08a57b1cb0 Update with changes from the PR 2025-09-11 14:45:06 +02:00
James Munns
2a068c5283 Conditional import 2025-09-11 14:45:06 +02:00
James Munns
ed2e51bfa4 Dependency enablement trickery 2025-09-11 14:45:06 +02:00
James Munns
ba0426f767 Combine DRS and non-DRS atomic scheduler, using cordyceps 2025-09-11 14:45:06 +02:00
James Munns
8c70aafd4b Make some things more consistent 2025-09-11 14:45:06 +02:00
James Munns
1f50e4d496 Implement Deadline Ranked Scheduling
This implements a minimal version of Deadline Rank Scheduling, as well as ways to access and set Deadlines.

This still needs some UX improvements, but is likely Enough for testing.
2025-09-11 14:45:06 +02:00
James Munns
535c80e61f Add initial DRS scheduler placeholder
* Start hacking in cordyceps

This adds a third kind of runqueue, for now it should work the same as the
current "atomics" runqueue, but uses a cordyceps TransferStack instead of
the existing home-rolled linked list.

* Clean up, use new cordyceps feature

* A bit more cleanup

* Update docs to be more clear
2025-09-11 14:45:06 +02:00
Dario Nieuwenhuis
d860530009
Merge pull request #4648 from birktj/stm32-blocking-uart-flush
stm32/usart: fix blocking flush
2025-09-10 12:46:29 +00:00
Birk Tjelmeland
88c4274547 stm32/usart: fix blocking flush
The PR in #2416 fixes buffered usart flushing,
but only for the async functions. This commit
introduces the same fixes to the blocking
functions.
2025-09-10 14:00:01 +02:00
Dario Nieuwenhuis
c9baf4ec09
Merge pull request #4650 from cjdell/main
Add Wiznet W6100 driver
2025-09-10 11:08:14 +00:00
Chris Dell
bed230095d Update changelog with new W6100 (unreleased) 2025-09-10 11:24:29 +01:00
crispaudio
b2fa01cec7 mspm0-adc: use CfgSet to enable vrsel cfg option 2025-09-10 09:22:50 +02:00
crispaudio
7b9fe7e639 mspm0-adc: remove dynamic vrsel and cleanup 2025-09-09 22:21:10 +02:00
Ulf Lilleengen
2d01ee1e1b
Merge pull request #4643 from CarlKCarlK/patch-1
Update Embassy in the Wild with no_std Raspberry Pi Pico clock demons…
2025-09-09 07:03:52 +00:00
Ulf Lilleengen
3c420bf194
Merge pull request #4649 from yodaldevoid/embassy-executor-version
chore: bump embassy-executor to 0.9.1 to match released version
2025-09-09 06:58:54 +00:00
Chris Dell
b9023296f6 Add Wiznet W6100 driver 2025-09-08 22:15:16 +01:00
Gabriel Smith
86aff0e63e chore: bump embassy-executor to 0.9.1 to match released version 2025-09-08 14:48:06 -04:00
crispaudio
a1e387e6a5 mspm0-adc: fix rustfmt imports 2025-09-08 09:58:35 +02:00
crispaudio
e21f5e62c4 mspm0-adc: add to changelog 2025-09-08 09:24:11 +02:00
crispaudio
bbcaab13bc mspm0-adc: add adc with examples 2025-09-08 09:10:16 +02:00
Dario Nieuwenhuis
a6cd24907a
Merge pull request #4304 from Remmirad/embassy-net-nrf-802154
embassy-net driver for nrf52 802.15.4 radio
2025-09-07 12:38:57 +00:00
Carl Kadie
c101acbdc3
Update Embassy in the Wild with no_std Raspberry Pi Pico clock demonstrating layered Embassy tasks
(I also added a note that newer entries are at the top. If this isn't right, let me know or change.)
2025-09-06 14:05:45 -07:00
Remmirad
224d6b0312 nrf: 802.15.4 embassy-net-driver 2025-09-06 11:54:29 +02:00
Dario Nieuwenhuis
25e0ebf520
Merge pull request #4430 from fwolter/add-f1-remap
Add STM32F1 AFIO remap
2025-09-05 22:45:57 +00:00
Dario Nieuwenhuis
23d5c7efd9 stm32/afio: fix accidentally always using AF number 0 on non-AFIO chips. 2025-09-06 00:39:18 +02:00
Dario Nieuwenhuis
a23c4b7bca stm32/afio: make af_num() unavailable in afio chips. 2025-09-06 00:14:03 +02:00
Dario Nieuwenhuis
35f4ae378c stm32/afio: make the A generic param only appear in chips with AFIO. 2025-09-05 23:44:25 +02:00
Dario Nieuwenhuis
7419b398bf stm32/afio: use type inference for timer remaps as well. 2025-09-05 23:00:31 +02:00
Dario Nieuwenhuis
24902b9bfb
Merge pull request #4640 from universalhandle/4577-dropped-channel-disables-dac
fix(embassy-stm32): Remove duplicate fn call, vestigial from earlier refcount implementation
2025-09-05 19:37:43 +00:00
Francisco José Gómez
59af53d53e fix(embassy-stm32): Remove duplicate fn call, vestigial from earlier refcount implementation
Refs: #4577
2025-09-05 15:31:12 -04:00
Fabian Wolter
a6562c4f03 Add STM32F1 AFIO remap 2025-09-05 21:15:46 +02:00
Dario Nieuwenhuis
46bf0c71cc
Merge pull request #4210 from mcaveniathor/pio_i2s_rx
Add PioI2sIn, PioI2sInProgram, and example binary
2025-09-05 19:08:06 +00:00
Thor McAvenia
241129c569 Add PioI2sIn, PioI2sInProgram, and example binary 2025-09-05 21:01:37 +02:00
Dario Nieuwenhuis
bbcf9af87e
Merge pull request #4639 from embassy-rs/rp-pio-spi
rp: add PIO SPI
2025-09-05 19:00:01 +00:00
Adrian Wowk
815ba8aa75 rp: read pio gpiobase in set_pins and set_pin_dirs 2025-09-05 20:41:07 +02:00
Adrian Wowk
5137306575 rp: move pio pin configs after set_config
This is needed for the program to work correctly on rp235xb when using
the higher pin numbers.
2025-09-05 20:35:48 +02:00
Adrian Wowk
451625ff55 rp: fix pio spi async example 2025-09-05 20:35:48 +02:00
Adrian Wowk
62ff0194f4 rp: add pio spi runtime reconfiguration 2025-09-05 20:35:48 +02:00
Adrian Wowk
83b42e0db6 style: cleanup with rustfmt 2025-09-05 20:35:48 +02:00
Adrian Wowk
236662c748 rp: add pio spi examples 2025-09-05 20:35:48 +02:00
Adrian Wowk
4cac3ac1d2 rp: add new pio spi program
This commit adds a new PIO program which implements SPI. This allows
you to drive more than 2 SPI buses by using PIO state machines as
additional duplex SPI interfaces.

The driver supports both blocking and async modes of operation and
exclusively uses the DMA for async IO.
2025-09-05 20:35:48 +02:00
Adrian Wowk
676f9da583 rp: add new pio dma apis
This commit adds StateMachineRx::dma_pull_repeated and
StateMachineTx::dma_push_repeated which allow you to discard reads or
send dummy writes to the state machine using the DMA hardware
2025-09-05 20:35:48 +02:00
Dario Nieuwenhuis
0407f7ebe8
Merge pull request #4613 from felipebalbi/embassy-usb-transfer-helper
feat: add helper to read/write full transfer blocks
2025-09-05 15:01:12 +00:00
Dario Nieuwenhuis
bd9bb7b9e8
Merge pull request #4566 from mkj/pr/otg-rx
otg: Use chunks_exact for more efficient rx copy
2025-09-05 16:56:35 +02:00
Dario Nieuwenhuis
6438068c16
Merge pull request #4368 from nikvoid/stm32-complementary-pwm-dma
stm32: add `waveform_up` function for complementary PWM too
2025-09-05 16:56:18 +02:00
Dario Nieuwenhuis
4b27444e1c
Merge pull request #4359 from cbaechler/fix/stm32-l0-temperature-channel
embassy-stm32: Fix temperature ADC channel for STM32L0 series
2025-09-05 16:56:07 +02:00
Dario Nieuwenhuis
84f2254332
Merge pull request #4638 from embassy-rs/octospi
stm32: OSPI ram support
2025-09-05 16:55:56 +02:00
Matt Johnston
cac3964252 otg: Use chunks_exact for more efficient rx copy 2025-09-05 16:35:54 +02:00
Matt Johnston
bc448985d5 otg: Simplify chunks_exact for tx
The last chunk doesn't need to be created first, instead borrow the
iterator so it can be used later for the remainder.
2025-09-05 16:35:54 +02:00