forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Dominik Ermel <[email protected]>
- Loading branch information
Showing
2 changed files
with
32 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters