CONFIG_FLASH_SIMULATOR_UNALIGNED_READ

Allow read access to be unaligned

Type: bool

Help

If selected, the reading operation does not check if access is aligned. Disable this option only if you want to simulate a specific FLASH interface that requires aligned read access.

Direct dependencies

FLASH_SIMULATOR && FLASH

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:60<Zephyr>/drivers/flash/Kconfig:79

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

config FLASH_SIMULATOR_UNALIGNED_READ
    bool "Allow read access to be unaligned"
    default y
    depends on FLASH_SIMULATOR && FLASH
    help
      If selected, the reading operation does not check if access is aligned.
      Disable this option only if you want to simulate
      a specific FLASH interface that requires aligned read access.

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