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)
- 最佳化函數呼叫蹦床的放置
- 分段記憶體空間,允許分段放置到多個範圍中,並允許拆分放置
長期和短期支援
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-1 GHz 無線 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-1 GHz 無線 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-1 GHz 無線 MCU
Wi-Fi 產品
低耗電 2.4GHz 產品
汽車無線連線產品
ARM-CGT-CLANG — Arm® code generation tools - compiler
產品
Sub-1 GHz 無線 MCU
Wi-Fi 產品
低耗電 2.4GHz 產品
汽車無線連線產品
版本資訊
This is the 5.0.0.STS Short-Term Support (STS). 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.
PLEASE NOTE: The MacOS installation of the tiarmclang 5.0.0.STS relies on a libc++.1.dylib that is available in more recent versions of the MacOS. It is known to work with MacOS version 13.6, but it does not work with MacOS version 10.13.6.
最新功能
- Position Independent Code / Dynamic Linking Support
- Full Support for Cortex-M55, Cortex-M85, and Cortex-R52+
- Performance Improvements Across Multiple Supported Processor Variants
- Bug fixes
技術文件
| 類型 | 標題 | 下載最新的英文版本 | 日期 | |||
|---|---|---|---|---|---|---|
| * | 使用指南 | TI ARM Clang Compiler Tools User Guide | 2021/3/28 | |||
| 使用指南 | ARM Optimizing C/C++ Compiler v20.2.0.LTS User's Guide (Rev. W) | PDF | HTML | 2023/3/30 | |||
| 使用指南 | ARM Assembly Language Tools v20.2.0.LTS User's Guide (Rev. Z) | PDF | HTML | 2023/3/30 | |||
| 技術文章 | The future of compiler tools for TI Arm® Cortex®-based MCUs | PDF | HTML | 2020/12/14 |