Modified for BG96
Fork of mbed-dev by
Diff: cmsis/TARGET_CORTEX_M/cmsis_compiler.h
- Revision:
- 174:b96e65c34a4d
- Parent:
- 167:e84263d55307
- Child:
- 180:96ed750bd169
--- a/cmsis/TARGET_CORTEX_M/cmsis_compiler.h Fri Sep 15 14:59:18 2017 +0100 +++ b/cmsis/TARGET_CORTEX_M/cmsis_compiler.h Mon Oct 02 15:33:19 2017 +0100 @@ -78,6 +78,14 @@ #ifndef __ARM_ARCH_7EM__ #define __ARM_ARCH_7EM__ 1 #endif + #elif (__CORE__ == __ARM8M_BASELINE__) + #ifndef __ARM_ARCH_8M_BASE__ + #define __ARM_ARCH_8M_BASE__ 1 + #endif + #elif (__CORE__ == __ARM8M_MAINLINE__) + #ifndef __ARM_ARCH_8M_MAIN__ + #define __ARM_ARCH_8M_MAIN__ 1 + #endif #endif // IAR version 7.8.1 and earlier do not include __ALIGNED