ARM-CGT
Arm® code generation tools - compiler
ARM-CGT
Overview
The TI Arm® code generation (compiler) tools support development of applications for TI Arm-based platforms, especially those featuring TI Arm Cortex-M and Cortex-R series devices.
The current tools (ARM-CGT-CLANG) are derived from the open-source Clang compiler and its supporting LLVM infrastructure. The legacy proprietary (ARM-CGT) tools are in maintenance status and will receive bug fixes as needed. Please refer to the documentation for the software development kit (SDK) being used to confirm which compilers are supported. In general, the Clang based compiler is used for new products.
Code Composer Studio™ is the Integrated Development Environment (IDE) for TI embedded devices. When starting development, it is recommended to begin by downloading Code Composer Studio as it includes the necessary TI compilers. For existing users of Code Composer Studio, compiler updates can be downloaded from with the environment.
Features
- Excellent C/C++ standards support
- Source-based code coverage
- Support for migration from armcl (legacy TI compiler)
- Improved code size over armcl/gcc
- Excellent Performance
- Fast compile times
- GCC compatibility
- Linker and C runtime library optimization for reduced code size
- Function specialization, minimizing code size on common functions, including printf, memcpy, and memset
- Copy Table support, allowing automatic copying of code/data during runtime
- Initialized Data and Copy Table compression, reducing code size
- Security features such as ECC, CRC, and CMSE (for Cortex-M33)
- Optimized placement of function call trampolines
- Segmented memory spaces, allowing section placement into multiple ranges as well as split-placement
Long-term and short-term support
TI has two types of compiler release streams, long-term support (LTS) and short-term support (STS).
Long-term support (LTS) releases are actively maintained for approximately two years with reported defects being repaired as follows:
- Production stop defects are addressed within 2 weeks,
- Critical defects are addressed within 90 days, and
- Defect repairs are proactively applied to each active release stream
Short-term support (STS) releases are only supported until the next release becomes available meaning that:
- Only production stop defects may cause patch releases to be created,
- Patch releases for STS releases will not be planned, and
- Defect repairs will not be proactively applied to each release stream
For more information about the distinction between LTS and STS compiler releases, please see the article: Introduction to LTS and STS Compiler Releases
- Optimizing C/C++ Compiler
- Assembler
- Linker
- C/C++ standard header files
- C/C++ runtime libraries
- Object file display and manipulation utilities
Downloads
ARM-CGT-CLANG — Arm® code generation tools - compiler
Supported products & hardware
Arm Cortex-M4 MCUs
Automotive wireless connectivity products
Low-power 2.4-GHz products
Sub-1 GHz wireless MCUs
Wi-Fi products
ARM-CGT-CLANG — Arm® code generation tools - compiler
Arm Cortex-M4 MCUs
Automotive wireless connectivity products
Low-power 2.4-GHz products
Sub-1 GHz wireless MCUs
Wi-Fi products
Technical documentation
Type | Title | Date | ||
---|---|---|---|---|
* | User guide | TI ARM Clang Compiler Tools User Guide | 28 Mar 2021 | |
User guide | ARM Assembly Language Tools v20.2.0.LTS User's Guide (Rev. Z) | PDF | HTML | 30 Mar 2023 | |
User guide | ARM Optimizing C/C++ Compiler v20.2.0.LTS User's Guide (Rev. W) | PDF | HTML | 30 Mar 2023 | |
Technical article | The future of compiler tools for TI Arm® Cortex®-based MCUs | PDF | HTML | 14 Dec 2020 | |
SMD | ADC12D1620QML-SP SMD 5962-12205 | 22 Oct 2020 |
Related design resources
Software development
IDE, CONFIGURATION, COMPILER OR DEBUGGER
Support & training
TI E2E™ forums with technical support from TI engineers
Content is provided "as is" by TI and community contributors and does not constitute TI specifications. See terms of use.
If you have questions about quality, packaging or ordering TI products, see TI support.