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 drivers/flash/Kconfig.simulator:17

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:54drivers/flash/Kconfig:63

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