embassy icon indicating copy to clipboard operation
embassy copied to clipboard

Get flash region info without moving

Open ruza-net opened this issue 1 year ago • 0 comments

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?

ruza-net avatar Oct 16 '24 12:10 ruza-net