22 lines
630 B
C
22 lines
630 B
C
#ifndef __CMSIS_COMPILER_H__
|
|
#define __CMSIS_COMPILER_H__
|
|
|
|
#ifndef __STATIC_FORCEINLINE
|
|
#define __STATIC_FORCEINLINE static inline __attribute__((always_inline))
|
|
#endif
|
|
#ifndef __STATIC_INLINE
|
|
#define __STATIC_INLINE static inline __attribute__((always_inline))
|
|
#endif
|
|
#ifndef __FORCEINLINE
|
|
#define __FORCEINLINE inline __attribute__((always_inline))
|
|
#endif
|
|
#ifndef __WEAK
|
|
#define __WEAK __attribute__((weak))
|
|
#endif
|
|
|
|
#ifndef __UNUSED
|
|
#define __UNUSED __attribute__((unused))
|
|
#endif
|
|
|
|
|
|
#endif |