My TM4C1294 project on HDD was working perfectly until I clone the drive.
After I clone my drive from HDD to SSD, everything works fine except CCS
In my project, I have many .C files and .H files, all the global #define are in .H files, such as
mydef.h:
#define myoption
...
myproject.c:
#include "mydef.h"
#ifdef myoption
mycodes..
#endif
After cloning, the project's .C files can still see the .H files, but it won't include any of the #define statements. In the above example, I can even click on mydef.h in the #include statement and open the file properly and see #define myoption, but in myproject.c, mycodes is always grayed out, as if myoption was never defined.
I've never seen such thing, and I tried multiple actions, such as renaming mydef.h, adding full file path to #include, nothing works
Could anyone give me some pointers? Thanks!