mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
CMSIS: Add missing __STATIC_FORCEINLINE for GCC.
This commit is contained in:
parent
691349d7da
commit
8eed8b4580
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user