This is the documentation for the latest (main) 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_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:60drivers/flash/Kconfig:89

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