TI C28x to c29clang Migration GuideΒΆ

This Migration Guide addresses tasks required and issues encountered when porting your existing TI C28x (cl2000) application to c29clang.

The following components of a TI C28x application need modification when migrating to c29clang:

Note

COFF to EABI Migration: Only EABI output is supported for TI C29x. If your TI C28x application has COFF output files, you should first migrate from TI C28x COFF output to TI C28x EABI output before migrating to TI C29x. For information, see C2000 Migration from COFF to EABI.

The following migration aids can help you address issues when converting an existing cl2000 project to use the c29clang compiler:

  • Clang-Tidy Tool: The c29clang-tidy tool diagnoses changes that need to be made to application code in order to migrate it from TI C28x to c29clang. The c29clang-tidy tool is a clang-based utility for diagnosing and fixing issues in a C/C++ application. It can be run from the command line or from within CCS. For more about using c29clang-tidy, see Migrating Source Code with Clang-Tidy.

  • C/C++ Source Code Diagnostics: The c29clang compiler diagnostics can help you find proprietary TI pre-defined macro symbols, pragmas, and intrinsics that need to be converted. For more information, see C/C++ Source Migration Aid Diagnostics.

  • CCS Project Migration: For help converting the build options for an existing cl2000 CCS project to use the c29clang compiler, see Migrating cl2000 CCS Projects to c29clang.

Contents: