The DATA_ALIGN Pragma

The DATA_ALIGN pragma aligns the symbol in C, or the next symbol declared in C++, to an alignment boundary. The alignment boundary is the maximum of the symbol's default alignment value or the value of the constant in bytes. The constant must be a power of 2. The maximum alignment is 32768.

The DATA_ALIGN pragma cannot be used to reduce an object's natural alignment.

Using the DATA_ALIGN pragma has the same effect as using the GCC-style aligned variable attribute. See Section 5.17.3.

The syntax of the pragma in C is:

#pragma DATA_ALIGN (symbol, constant)

The syntax of the pragma in C++ is:

#pragma DATA_ALIGN (constant)