Tool/software: TI C/C++ Compiler
Hello,
I'm using CCS v7. I try to use the USB driver imported from provided exemple "usb_dev_serial"
So I need to include usblib.h file. But in it there is this code:
#if defined(ccs) || \
defined(codered) || \
defined(gcc) || \
defined(rvmdk) || \
defined(__ARMCC_VERSION) || \
defined(sourcerygxx)
#define PACKED __attribute__ ((packed))
#elif defined(ewarm)
#define PACKED
#elif defined(ccs_c2k)
#define PACKED
#else
#error Unrecognized COMPILER!
#endif
In the exemple project, in the properties, I have the following option : Build/C2000 Compiler/ Advanced Options/Language Option/ -> Enable support of GCC extensions (--gcc):
but in my own project, this option is not available!:
How can I solve this problem??
Thank you