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_STATS && FLASH_SIMULATOR && FLASH

(Includes any dependencies from ifs and menus.)

Default

  • 256

Kconfig definition

At <Zephyr>/drivers/flash/Kconfig.simulator:60

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:62<Zephyr>/drivers/flash/Kconfig:89

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

config FLASH_SIMULATOR_STAT_PAGE_COUNT
    int "Pages under statistic"
    range 1 256
    default 256
    depends on FLASH_SIMULATOR_STATS && 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.)