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.

Compiler/CC2538-SW: Intrinsic Functions (intrinsics.h) for cc2538 project in CCS

Part Number: CC2538-SW
Other Parts Discussed in Thread: CC2538, Z-STACK

Tool/software: TI C/C++ Compiler

Hello!


I am migrating functions from IAR to CCS. I'm having difficulty finding references in C to implement the intrinsic functions (intrinsics.h) used in the cc2538 project to compile using the code composer. Would anyone have any suggestions?

Thanks

  • Vanessa Borba,

    I just downloaded the software foundation and it does actually contain 4 older CCS compatible projects. I managed to import these projects into CCS7.4 and after messing with the include paths and creating a new generic Cortex-M3 processor the project compiled without errors.

    I do not think you need the intrinsics.h file for CCS.

  • Hi,

    What software are you migrating from IAR to CCS? Is it Z-Stack or another TI software product or is it your own custom code?
  • Hi, thank you for your suggestion!

    I managed to generate some small utilities based on these codes, and from what I understand they do not use intrinsic functions, but I'll revise, maybe I missed something, thank you!

  • Hi Jason,

    yes, we are working with zstack 1.0.1 already modified for the company project. However, the company decided, due to costs, to migrate to the CCS. I saw in other debates here in the forum that there is no compatibility between the IAR e CCS, but after much research I found another IT document with some tips to migrate projects from IAR to CCS. Using these tips I have already solved many problems, and now I have problem in using this file intrinsics.h. According to the document (which is for msp430) there was intrinsics.h file in the CCS. Searching in the CSS directories, for arp32_1.0.9 there is this file. But in the directory arm_15.12.3.LTS used by the project for CC2538 there is no file. I installed a compiler update ti-cgt-arm_17.9.0.STS but it also does not have this file. Any suggestion?
  • As you mentioned, we do not support legacy Z-Stack in CCS unfortunately, if you wish to pursue this path you would need to do the porting yourself. Would it be possible for you to switch hardware platforms at this point in your project? Our upcoming CC2652 platform will support Z-Stack 3.1 in CCS in the SimpleLink Zigbee SDK Plugin for the CC26x2 SDK, that software is available for download here:

    www.ti.com/.../SIMPLELINK-CC26X2-SDK
  • Jason, thank you for reply! It is more complicated because there are customers using this solution after much hours of tests... but we will analyze your suggestion.