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.
I attempted to move working "energia" project that complied under CCS with GNC compiler to TI compiler.
I moved all "energia" libs and files .c , .h, .cpp files to local project folder and I have most of them compile successfully but not all.
Main problem I see with Print.h file where I see #20 identifier "class" undefined error . This error propagates to Stream.h , Wire.h and others that are derived from Print class.
SPI.h file also has confusing error on class SPISettings and , class SPIClass #66 expected a ";"
Other classes in this project compiled correctly and so far I don't know what causing those errors.
Andrew
I resolved most of problems by adding #indef __cplusplus on top of .h righ after first #define files and #endif at the end.
**Attention** This is a public forum