subsys: storage: Add flash_map abstraction module
Introduce flas_map module is abstraction over flash memory and its driver for using flash memories along with description of available flash areas. Module provides simple API for write/read/erase and so one. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
This commit is contained in:
parent
4a713aa824
commit
25269fb0ed
13 changed files with 586 additions and 0 deletions
28
subsys/storage/flash_map/Kconfig
Normal file
28
subsys/storage/flash_map/Kconfig
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Kconfig - Flash map abstraction module
|
||||
#
|
||||
# Copyright (c) 2017 Nordic Semiconductor ASA
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
#
|
||||
# Flash map
|
||||
#
|
||||
|
||||
menuconfig FLASH_MAP
|
||||
bool
|
||||
prompt "Flash map abstraction module"
|
||||
default n
|
||||
depends on FLASH
|
||||
help
|
||||
Enable support of flash map abstraction.
|
||||
|
||||
config FLASH_MAP_CUSTOM
|
||||
bool
|
||||
prompt "Custom flash map description"
|
||||
default n
|
||||
depends on FLASH_MAP
|
||||
help
|
||||
This option enables custom flash map description.
|
||||
User must provide such a description in place of default on
|
||||
if had enabled this option.
|
Loading…
Add table
Add a link
Reference in a new issue