From 7c40eefe847bf2267963a6957a90a3b5af607759 Mon Sep 17 00:00:00 2001 From: bsongis Date: Wed, 23 Jan 2013 07:46:01 +0000 Subject: [PATCH] Companion9x compilation --- .../Libraries/CMSIS/Include/core_cm3.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/x9d/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm3.h b/src/x9d/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm3.h index c15e10ae2..c6f976fd1 100644 --- a/src/x9d/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm3.h +++ b/src/x9d/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm3.h @@ -95,6 +95,10 @@ #define __ASM __asm /*!< asm keyword for TASKING Compiler */ #define __INLINE inline /*!< inline keyword for TASKING Compiler */ +#else + #define __INLINE + #define __DSB() + #endif /*!< __FPU_USED to be checked prior to making use of FPU specific registers and functions */