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.

No chip defined error

Other Parts Discussed in Thread: CCSTUDIO

I have a project that was building successfully in CCS5.3. I did a merge to our latest code base, and it included adding some files.  It was necessary for me to add

"C:\CCStudio_v3.3\C6000\csl\include"  as an include search path.

 

However when I built I got the following error:

#35 #error NO CHIP DEFINED (use -dCHIP_XXXX where XXXX is chip number, i.e. 6201)

 

I tried to define my chip as "-dCHIP_6727" under predefined symbols in the project properties.

Now when I build I get the following compilation error:

Command-line error #1046: invalid macro definition: -DCHIP_6727

1 fatal error detected in the compilation of "5600P1cfg_c.c"

 

I see this error in many locations.

 

How should I be doing this?

 

Thanks,

Dave

  • Hi Dave,

    David Sabol said:
    I tried to define my chip as "-dCHIP_6727" under predefined symbols in the project properties.

    Remove the '-d' in your definition. CCS should add that automatically add it when it is passed to the compiler.

    Thanks

    ki