5f10eadb8d
1475: Add YieldingAsync adapter r=Dirbaio a=rmja This PR calls `yield_now()` for long blocking `NorFlash` read and erase operations. The motivation for this change is to allow for other tasks on the same executor to get something done between these long running operations, for example a task that feeds a watchdog. This will allow the watchdog to have a timer relative to e.g. one sector erase, instead of all sector erase. 1478: stm32: Minor fixes in flash regions for F4 dual bank layout r=Dirbaio a=rmja This PR has the following fixes: * Ensure that `FlashRegion` instances can only be created within the embassy-stm32 crate. * Remove `Drop` trait for `AltFlashLayout`, as it is hard to use, as one cannot take the individual regions out from the struct. Instead of going back to single bank mode on `Drop`, we instead transition to single bank mode when calling `Flash::into_regions()`. * Add missing `otp_region` to the dual bank layout and implement `NorFlash` for the alternate regions. 1482: Add ConcatFlash utility r=Dirbaio a=rmja This PR adds a `ConcatFlash` utility that can be used to concatenate two `NorFlash` flashes. This is especially useful when concatenating multiple flash regions with unequal erase size. Co-authored-by: Rasmus Melchior Jacobsen <rmja@laesoe.org> |
||
---|---|---|
.. | ||
adc | ||
can | ||
crc | ||
dma | ||
eth | ||
flash | ||
i2c | ||
pwm | ||
qspi | ||
rcc | ||
rtc | ||
sdmmc | ||
spi | ||
timer | ||
tl_mbox | ||
usart | ||
usb | ||
usb_otg | ||
wdg | ||
dac.rs | ||
dcmi.rs | ||
exti.rs | ||
fmc.rs | ||
fmt.rs | ||
gpio.rs | ||
i2s.rs | ||
ipcc.rs | ||
lib.rs | ||
rng.rs | ||
time_driver.rs | ||
time.rs | ||
traits.rs |