CONFIG_NFFS_FILESYSTEM_MAX_AREAS

Maximum number of areas

Type: int

Help

This defines maximum number of areas located on flash. Each area can be erased without affecting other areas thus the size of area can affect performance of GC where single area has to be rewritten. At least one scratch and one non-scratch area is required.

Direct dependencies

FILE_SYSTEM_NFFS && FILE_SYSTEM

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At ext/fs/nffs/Kconfig:2

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:16subsys/fs/Kconfig:111

Menu path: (top menu) → File Systems → NFFS Settings

config NFFS_FILESYSTEM_MAX_AREAS
    int
    prompt "Maximum number of areas" if FILE_SYSTEM_NFFS && FILE_SYSTEM && FILE_SYSTEM_NFFS
    range 2 64 if FILE_SYSTEM_NFFS && FILE_SYSTEM
    default 8 if FILE_SYSTEM_NFFS && FILE_SYSTEM
    depends on FILE_SYSTEM_NFFS && FILE_SYSTEM
    help
      This defines maximum number of areas located on flash. Each area can
      be erased without affecting other areas thus the size of area can
      affect performance of GC where single area has to be rewritten.
      At least one scratch and one non-scratch area is required.

(Definitions include propagated dependencies, including from if’s and menus.)