CMSIS: Add missing __STATIC_FORCEINLINE for GCC.

This commit is contained in:
iabdalkader 2018-06-09 21:23:02 +02:00
parent 691349d7da
commit 8eed8b4580
2 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,7 @@
#define __ASM __asm /*!< asm keyword for GNU Compiler */
#define __INLINE inline /*!< inline keyword for GNU Compiler */
#define __STATIC_INLINE static inline
#define __STATIC_FORCEINLINE static __attribute__((always_inline)) inline
#elif defined ( __ICCARM__ )
#define __ASM __asm /*!< asm keyword for IAR Compiler */

View File

@ -93,6 +93,7 @@
#define __ASM __asm /*!< asm keyword for GNU Compiler */
#define __INLINE inline /*!< inline keyword for GNU Compiler */
#define __STATIC_INLINE static inline
#define __STATIC_FORCEINLINE static __attribute__((always_inline)) inline
#elif defined ( __ICCARM__ )
#define __ASM __asm /*!< asm keyword for IAR Compiler */