embassy
embassy copied to clipboard
Get flash region info without moving
I'd like to get flash region info (like base, length, write size and erase size) without destroying the flash driver. In other words, I'd like to have Flash::get_regions(&self) -> /* something like FlashLayout */, instead of Flash::into_blocking_regions(self) -> FlashLayout<...>.
Is this possible with the current implementation, or can it be added easily?