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_BIG_ENDIAN

(No prompt – not directly user assignable.)

Type: bool

Help

This option tells the build system that the target system is big-endian.
Little-endian architecture is the default and should leave this option
unselected.  This option is selected by arch/$ARCH/Kconfig,
soc/**/Kconfig, or boards/**/Kconfig and the user should generally avoid
modifying it.  The option is used to select linker script OUTPUT_FORMAT
and command line option for gen_isr_tables.py.

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Kconfig definition

At arch/Kconfig:143

Included via Kconfig:8Kconfig.zephyr:39

Menu path: (Top) → General Architecture Options

config BIG_ENDIAN
    bool
    help
      This option tells the build system that the target system is big-endian.
      Little-endian architecture is the default and should leave this option
      unselected.  This option is selected by arch/$ARCH/Kconfig,
      soc/**/Kconfig, or boards/**/Kconfig and the user should generally avoid
      modifying it.  The option is used to select linker script OUTPUT_FORMAT
      and command line option for gen_isr_tables.py.

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