ARM-CGT
Arm® 代码生成工具 - 编译器
ARM-CGT
概述
TI Arm® 代码生成(编译器)工具支持开发适用于 TI Arm 平台的应用,尤其是采用 TI Arm Cortex-M 和 Cortex-R 系列器件的应用。
当前工具 (ARM-CGT-CLANG) 从开源 Clang 编译器及其支持的 LLVM 基础架构衍生而来。旧版专有 (ARM-CGT) 工具处于维护状态,将根据需要收到错误修复。请参阅所使用的软件开发套件 (SDK) 的文档,以确认支持哪些编译器。通常,基于 Clang 的编译器用于新产品。
Code Composer Studio™ 是适用于 TI 嵌入式器件的集成开发环境 (IDE)。开始开发时,建议先下载 Code Composer Studio,因为它包含必要的 TI 编译器。对于 Code Composer Studio 的现有用户,可以从环境中下载编译器更新。
特性
- 出色的 C/C++ 标准支持
- 基于源代码的覆盖率
- 支持从 armcl(旧版 TI 编译器)迁移
- 通过 armcl/gcc 缩减了代码大小
- 性能优异
- 缩短编译时间
- GCC 兼容性
- 针对缩减代码大小的链接器和 C 运行时库优化
- 函数专业化,更大限度地减小常用函数(包括 printf、memcpy 和 memset)的代码大小
- 复制表支持,允许运行期间自动复制代码/数据
- 已初始化的数据和复制表压缩,减小了代码大小
- ECC、CRC 和 CMSE 等安全功能(用于 Cortex-M33)
- 优化了函数调用 trampoline 的放置
- 分段式存储器空间,支持将段放置在多个范围内以及拆分放置
长期支持和短期支持
TI 拥有两种类型的编译器版本流,即长期支持 (LTS) 和短期支持 (STS)。
长期支持 (LTS) 版本主动维护期约为两年,针对所报告缺陷的修复说明如下:
- 在 2 周之内解决停产缺陷,
- 在 90 天内解决重要缺陷,并且
- 会主动为每个有源版本流执行缺陷修复
短期支持 (STS) 版本仅在下一版本可用前受到支持,这意味着:
- 仅停产缺陷可能导致创建补丁版本,
- 不会计划创建 STS 版本的补丁版本,并且
- 不会主动为每个版本流执行缺陷修复
有关 LTS 和 STS 编译器版本区别的更多信息,请参阅文章:LTS 和 STS 编译器版本简介
- 优化 C/C++ 编译器
- 汇编器
- 链接器
- C/C++ 标准头文件
- C/C++ 运行时库
- 目标文件显示和操作实用程序
下载
ARM-CGT — ARM Code Generation Tools - Compiler
支持的产品和硬件
产品
Sub-1GHz 无线 MCU
Wi-Fi 产品
低功耗 2.4GHz 产品
汽车类无线连接产品
ARM-CGT — ARM Code Generation Tools - Compiler
Linux Installer for ARM CGT
Windows Installer for ARM CGT
MacOS Installer for ARM CGT
产品
Sub-1GHz 无线 MCU
Wi-Fi 产品
低功耗 2.4GHz 产品
汽车类无线连接产品
发布信息
This is a long-term support release of the ARM Code Generation Tools (CGT) containing new enhancements and features. The ARM CGT provides software development tools including the compiler, assembler, and linker, among others, which can be used to develop applications with C/C++ source code for loading and running on ARM core processors.
新增功能
- Hex utility tool new option --cmac (cipher-based message authentication protocol) will apply cmac algorithm to user defined regions and generate cmac tags for secure boot support.
- Hex utility tool now supports output option --binary.
- Default file extension for compiler generated object files updated to .c.obj and .cpp.obj
ARM-CGT-CLANG — Arm® code generation tools - compiler
支持的产品和硬件
产品
Sub-1GHz 无线 MCU
Wi-Fi 产品
低功耗 2.4GHz 产品
汽车类无线连接产品
ARM-CGT-CLANG — Arm® code generation tools - compiler
产品
Sub-1GHz 无线 MCU
Wi-Fi 产品
低功耗 2.4GHz 产品
汽车类无线连接产品
发布信息
This is the 4.0.3.LTS Long-Term Support (LTS) release on the 4.0.0.LTS Long-Term Support release series of the TI Arm Clang (tiarmclang) Compiler Tools. The tiarmclang compiler tools provide software development tools including the compiler, assembler, and linker, among others, which can be used to develop applications with C/C++ source code for loading and running on Arm Cortex-M and Cortex-R series core processors.
For definitions and explanations of STS, LTS, and the versioning number scheme, please see https://software-dl.ti.com/ccs/esd/documents/sdto_cgt_compiler_version_numbers_and_what_they_mean.html.
新增功能
- Security: Control Flow Integrity (CFI)
- Security: Support for C11 Secure Functions in C Runtime Library
- Security: Linker Command File fill() Operator - with optional width argument
- Security: Support for pad Function Attribute
- Basic Support for Cortex-R52
- Support for Suppressing Floating Point Speculation with -ffp-exception-behavior Option
- Support for Size-Based align(power2) Operator in Linker Command Files
- Support for MSP M0/M0+Math Accelerator
- Bug fixes
技术文档
类型 | 标题 | 下载最新的英语版本 | 日期 | |||
---|---|---|---|---|---|---|
* | 用户指南 | TI ARM Clang Compiler Tools User Guide | 2021-3-28 | |||
用户指南 | ARM 优化 C/C++ 编译器 v20.2.0.LTS (Rev. W) | PDF | HTML | 英语版 (Rev.W) | PDF | HTML | 2023-4-13 | |
用户指南 | ARM 汇编语言工具 v20.2.0.LTS (Rev. Z) | PDF | HTML | 英语版 (Rev.Z) | PDF | HTML | 2023-4-13 | |
技术文章 | The future of compiler tools for TI Arm® Cortex®-based MCUs | PDF | HTML | 2020-12-14 |