SLAAEQ6
March 2025
MSPM0G3519
1
Abstract
Trademarks
1
Introduction
2
Pre-Migration Preparation
2.1
CCS Version Comparison
2.2
Pre-Migration Preparation
3
Porting Code to CCS
3.1
Prepare for Porting
3.2
Set Up CCS Environment
3.3
Import Source Code and Files in CCS
3.4
Handle Device-Specific Code
3.5
Adapt Code for CCS
3.6
Build and Debug
4
Post-Migration Optimization
5
Summary
6
References
3.5
Adapt Code for CCS
Fix compiler-specific code:
IAR and CCS compilers can have different syntax or behavior for certain constructs (for example, inline assembly, pragmas).
Update any compiler-specific code to be compatible with CCS.
Replace IAR-specific functions:
Replace IAR-specific functions (for example, `__enable_interrupt()`) with equivalent CCS or TI-specific functions.
Update debugging code:
If the project uses IAR-specific debugging macros or functions, then replace those macros or functions with CCS-compatible alternatives.