This is the documentation for the latest (master) 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

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:76

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:58drivers/flash/Kconfig:66

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.)