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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:62<Zephyr>/drivers/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.)