Skip to content
Commit 55c12f2c authored by Dominik Ermel's avatar Dominik Ermel Committed by Benjamin Cabé
Browse files

storage: flash map: Add flash_area_sectors



The commit adds flash_area_sectors function that allows to get information
on sector/erase page layout by flash_area object pointer instead of
index.
The only difference between flash_area_sectors and flash_area_get_sectors
is that the later calls flash_area_open internally and as such requires
flash map to be compiled in.

Signed-off-by: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
parent 984be5eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment