ZHCUBW3 April 2024
#if (defined(__TMS320C28xx__) && __TI_COMPILER_VERSION__ < 6004000)
#if !defined(__GNUC__)
#error “F65 Flash API requires GCC language extensions. Use the –gcc option.”
#endif
#endif
#if defined(__ICCARM__) /* IAR EWARM Compiler */
#define ATTRIBUTE_PACKED __packed
#elif defined(__TMS320C28XX__) /* TI CGT C28xx compilers */
#define ATTRIBUTE_PACKED
#else /* all other compilers */
#define ATTRIBUTE_PACKED __attribute__((packed))
#endif
#define HIGH_BYTE_FIRST 0
#define LOW_BYTE_FIRST 1
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif