The latest development version of this page may be more current than this released 2.2.1 version.
CONFIG_FLASH_SIMULATOR

Flash simulator

Type: bool

Help

Enable the flash simulator.

Direct dependencies

(FLASH && BOARD_NATIVE_POSIX) || (FLASH && BOARD_QEMU_X86) || FLASH

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

Kconfig definitions

At boards/posix/native_posix/Kconfig.defconfig:72

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config FLASH_SIMULATOR
    bool
    default y
    depends on FLASH && BOARD_NATIVE_POSIX

At boards/x86/qemu_x86/Kconfig.defconfig:11

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config FLASH_SIMULATOR
    bool
    default y
    depends on FLASH && BOARD_QEMU_X86

At drivers/flash/Kconfig.simulator:6

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:56drivers/flash/Kconfig:63

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

menuconfig FLASH_SIMULATOR
    bool "Flash simulator"
    select STATS
    select STATS_NAMES
    select FLASH_HAS_PAGE_LAYOUT
    select FLASH_HAS_DRIVER_ENABLED
    depends on FLASH
    help
      Enable the flash simulator.

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