This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TM4C123GH6PM: GCC compiler errors with usblib and other libraries

Part Number: TM4C123GH6PM

Tool/software: Code Composer Studio

Hi,

Whenever I compile using GCC and include usblib headers, I always get "unrecognized compiler" error. I have been searching the forums and the  solution I found works with the TI compiler where you set some gcc flag under the compiler properties. I can't find that same option in the GNU compiler properties. Is there a way to solve this in GNU.

Also, under linker libraries, I added the correct usb library path in TIVAware and I selected the GCC folder. I also added "usb" under libraries. I still get the error. I did the same thing with sensorlib and I would also get errors with that. Driverlib works fine though. I couldn't figure out what I'm missing here.

Lastly, unrelated question - my coworker mentioned that the TI compiler is now free with unlimited code size. Is this true? Or he probably meant GCC?

Thanks.

AJ