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.

migration from IAR to CCS compiler problems

Other Parts Discussed in Thread: Z-STACK

Dear readers ,

i am tryng to migrate my project from IAR to CCS  ,the target is MSP4305438 ,the sample light home automation is the project ,i add my files and the  include paths , when i build the project i got :

Description Resource Path Location Type
#35 #error directive: "ERROR: Unknown compiler." .ccsproject /zigbeehome line 92, external location: C:\Texas Instruments\Z-Stack Home 1.2.2a.44539\Components\hal\target\MSP5438ZAP\hal_types.h C/C++ Problem   

zigbeehome is my new project on ccs , any suggestions plz ,

Regards

  • Hi,

    This is an error handling directive present in line 92 of the hal_types.h header file mentioned in the error above. It is being caused by the fact it can't properly find a suitable compiler for the MSP430 device. Given this is coming from the migration itself, double-check the CCS project properties to see what type of compiler you are using.

    Unfortunately I don't know this project in detail, therefore I can't give anything other than a few tips.

    Therefore, I also suggest you search the Zigbee forum, so the experts that created this package may have additional tips about this - who knows? Maybe you are not the first one to try migrating it to CCS.

    Regards,
    Rafael
  • Hello,
    Try adding the following preprocessor define to the project properties:

    __TI_COMPILER_VERSION

    Thanks
    ki