Skip to content
Commit b50dc43a authored by Dominik Ermel's avatar Dominik Ermel Committed by Anas Nashif
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 1f1dc372
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment