Skip to main content

IAR Embedded Workbench for RX 5.20

--endian

In this section:
Syntax
--endian={b|big|l|little}
Parameters

b|big

Sets the predefined symbol __BIG_ENDIAN__ to 1 and __LITTLE_ENDIAN__ to 0

l|little (default)

Sets the predefined symbol __BIG_ENDIAN__ to 0 and __LITTLE_ENDIAN__ to 1

Description

Use this option to define the symbols __BIG_ENDIAN__ and __LITTLE_ENDIAN__.

See also

Predefined symbols.

Caution

Project>Options>General Options>Target>Byte order