flash_map: add shell interface
Add shell for flash_map currently supporting listing the configurated flash_map for a device. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
1e5d02fcd2
commit
5c6efa011a
4 changed files with 62 additions and 1 deletions
|
@ -15,10 +15,19 @@ menuconfig FLASH_MAP
|
|||
help
|
||||
Enable support of flash map abstraction.
|
||||
|
||||
if FLASH_MAP
|
||||
|
||||
config FLASH_MAP_SHELL
|
||||
bool "Enable flash map shell interface"
|
||||
depends on SHELL
|
||||
help
|
||||
This enables shell commands to list and test flash maps.
|
||||
|
||||
config FLASH_MAP_CUSTOM
|
||||
bool "Custom flash map description"
|
||||
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.
|
||||
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue