SLAAEQ6 March   2025 MSPM0G3519

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Pre-Migration Preparation
    1. 2.1 CCS Version Comparison
    2. 2.2 Pre-Migration Preparation
  6. 3Porting Code to CCS
    1. 3.1 Prepare for Porting
    2. 3.2 Set Up CCS Environment
    3. 3.3 Import Source Code and Files in CCS
    4. 3.4 Handle Device-Specific Code
    5. 3.5 Adapt Code for CCS
    6. 3.6 Build and Debug
  7. 4Post-Migration Optimization
  8. 5Summary
  9. 6References

Adapt Code for CCS

  1. Fix compiler-specific code:
    1. IAR and CCS compilers can have different syntax or behavior for certain constructs (for example, inline assembly, pragmas).
    2. Update any compiler-specific code to be compatible with CCS.
  2. Replace IAR-specific functions:
    1. Replace IAR-specific functions (for example, `__enable_interrupt()`) with equivalent CCS or TI-specific functions.
  3. Update debugging code:
    1. If the project uses IAR-specific debugging macros or functions, then replace those macros or functions with CCS-compatible alternatives.