Go to the documentation of this file.
10 #ifndef HAL_COMPILER_SUPPORT_H
11 #define HAL_COMPILER_SUPPORT_H
14 #if defined __ARMCC_VERSION
18 #define HAL_PACKED __packed
19 #define HAL_INLINE inline
20 #define HAL_WEAK __weak
28 #define HAL_INLINE inline
30 #if !defined __MINGW32__
31 #define HAL_PACKED __attribute__((packed))
33 #define HAL_PACKED __attribute__((gcc_struct, __packed__))
36 #define HAL_WEAK __attribute__((weak))
44 #define HAL_PACKED // Project->Properties->C/C++->Code Generation->Struct Member Alignment
45 #define HAL_INLINE __inline