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.

Does CCS support exporting const data like IAR?

Hi team,

Does CCS support exporting const data to a library so that it can be used for another project? IAR has a feature called isymexport to accomplish that:

https://www.iar.com/knowledge/support/technical-notes/linker/using-isymexport-to-export-symbols-const-data-from-one-project-to-another/

Is there a similar function in CCS?

Best regards,

Shuyang

  • Hi Shuyang,

    Presently there is no tool like IAR's isymexport that will do this, but it may be possible to do it with a sequence of steps involving the compiler toolchain that may be able to be setup in a CCS project. Which compiler are you using, and what target is this for?

    Thanks,

    -Alan

  • Hi Alan,

    The target is to create some "Common APIs" in a shared flash area. These common APIs can be accessed by different firmwares.

    Best regards,

    Shuyang

  • I have no knowledge of the IAR toolset.  From that one page, I cannot work out what ismyexport does.  Thus, I am unsure what you need.  

    Please describe the overarching problem you want to solve.  Just for now, ignore how you might implement the solution.  Pretend you are explaining this to someone who knows nothing about compilers and linkers.

    All that said, I still need to know ...

    Which compiler are you using, and what target is this for?

    Thanks and regards,

    -George