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_ARC_USE_UNALIGNED_MEM_ACCESS

Enable unaligned access in HW

Type: bool

Help

ARC EM cores w/o secure shield 2+2 mode support might be configured
to support unaligned memory access which is then disabled by default.
Enable unaligned access in hardware and make software to use it.

Direct dependencies

((CPU_ARCEM && !ARC_HAS_SECURE) || CPU_ARCHS) && ARC

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

At arch/arc/Kconfig:212

Included via Kconfig:8Kconfig.zephyr:37arch/Kconfig:12

Menu path: (Top) → ARC Options → ARC CPU Options

config ARC_USE_UNALIGNED_MEM_ACCESS
    bool "Enable unaligned access in HW"
    default y if CPU_ARCHS
    depends on ((CPU_ARCEM && !ARC_HAS_SECURE) || CPU_ARCHS) && ARC
    help
      ARC EM cores w/o secure shield 2+2 mode support might be configured
      to support unaligned memory access which is then disabled by default.
      Enable unaligned access in hardware and make software to use it.

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