__ARM_PROFILE_M__ __CORE__ __ARMVFP__ __LITTLE_ENDIAN__
__ARM_PROFILE_M__
Description
An integer that is set based on the --cpu option.
The symbol is set to 1 if the selected processor architecture is a profile M core.
The symbol is undefined for other cores.
__CORE__
Description
An integer that identifies the processor architecture in use.
These symbolic names can be used when testing the __CORE__ symbol.
An integer that identifies the chip core in use. The value reflects the setting of the --cpu option and is defined to
__ARM4TM__, __ARM5__, __ARM5E__, __ARM6__, __ARM6M__, __ARM6SM__, __ARM7M__, __ARM7EM__, __ARM7A__, or __ARM7R___.
These symbolic names can be used when testing the __CORE__ symbol.
The symbol reflects the --core option and is defined to
#define __ARM7A__ 0 #define __ARM7R__ 0 #define __ARM4TM__ 4 #define __ARM5__ 5 #define __ARM5T__ 5 #define __ARM5TM__ 5 #define __ARM6T2__ 6 #define __ARM6__ 6 #define __ARM7M__ 7 #define __ARM7__ 7 #define __ARM5E__ 10 #define __ARM6M__ 11 #define __ARM6SM__ 12 #define __ARM7EM__ 13
__ARMVFP__
Description
An integer that reflects the --fpu option and is defined to
__ARMVFPV1__ ( 1 ),
__ARMVFPV2__ ( 2 ),
__ARMVFPV3__ ( 3 ),
__ARMVFPV4__ ( 4 ).
These symbolic names can be used when testing the __ARMVFP__ symbol.
If VFP code generation is disabled (default), the symbol will be undefined.
__LITTLE_ENDIAN__
Description
An integer that reflects the --endian option and is defined to 1 when the byte order is little-endian.
The symbol is defined to 0 when the byte order is big-endian.