This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_FLASH_SIMULATOR_STAT_PAGE_COUNT

Pages under statistic

Type: int

Help

Only up to this number of beginning pages will be tracked
while catching dedicated flash operations and thresholds.
This number is not automatic because implementation uses
UNTIL_REPEAT() macro, which is limited to take explicitly
number of iterations.
This is why it's not possible to calculate the number of pages with
preprocessor using DT properties.

Direct dependencies

FLASH_SIMULATOR && FLASH

(Includes any dependencies from ifs and menus.)

Default

  • 256

Kconfig definition

At drivers/flash/Kconfig.simulator:34

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:60drivers/flash/Kconfig:87

Menu path: (Top) → Device Drivers → Flash hardware support → Flash simulator

config FLASH_SIMULATOR_STAT_PAGE_COUNT
    int "Pages under statistic"
    range 1 256
    default 256
    depends on FLASH_SIMULATOR && FLASH
    help
      Only up to this number of beginning pages will be tracked
      while catching dedicated flash operations and thresholds.
      This number is not automatic because implementation uses
      UNTIL_REPEAT() macro, which is limited to take explicitly
      number of iterations.
      This is why it's not possible to calculate the number of pages with
      preprocessor using DT properties.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)