Skip to content

Commit eb86d39

Browse files
committed
Merge branch 'feature/xtensa-esp32-elf-clang' into 'master'
tools: LLVM for Xtensa (ESP32-S2) based on clang See merge request espressif/esp-idf!15094
2 parents 4a8bbb4 + 1a88d5a commit eb86d39

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed

docs/en/api-guides/tools/idf-tools-notes.inc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141

4242
On Linux and macOS, it is recommended to install CMake using the OS-specific package manager (like apt, yum, brew, etc.). However, for convenience it is possible to install CMake using idf_tools.py along with the other tools.
4343

44+
---
45+
46+
.. tool-xtensa-clang-notes
47+
48+
4449
---
4550

4651
.. tool-ninja-notes

docs/zh_CN/api-guides/tools/idf-tools-notes.inc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@
4343

4444
On Linux and macOS, it is recommended to install CMake using the OS package manager. However, for convenience it is possible to install CMake using idf_tools.py along with the other tools.
4545

46+
---
47+
48+
.. tool-xtensa-clang-notes
49+
50+
4651
---
4752

4853
.. tool-ninja-notes

tools/tools.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,51 @@
177177
}
178178
]
179179
},
180+
{
181+
"description": "LLVM for Xtensa (ESP32, ESP32-S2) based on clang",
182+
"export_paths": [
183+
[
184+
"xtensa-clang",
185+
"bin"
186+
]
187+
],
188+
"export_vars": {},
189+
"info_url": "https://github.com/espressif/llvm-project",
190+
"install": "on_request",
191+
"license": "Apache-2.0",
192+
"name": "xtensa-clang",
193+
"supported_targets": [
194+
"esp32",
195+
"esp32s2"
196+
],
197+
"version_cmd": [
198+
"clang",
199+
"--version"
200+
],
201+
"version_regex": "version\\s*([0-9\\.]+)\\s*\\([^\\s]+\\s*(\\w+)\\)",
202+
"version_regex_replace": "\\1-\\2",
203+
"versions": [
204+
{
205+
"linux-amd64": {
206+
"sha256": "d62d9234c702a86ed510777125ee97458204e28877806a73f9de5e41d7b65716",
207+
"size": 102954848,
208+
"url": "https://github.com/espressif/llvm-project/releases/download/esp-12.0.1-20210914/xtensa-esp32-elf-llvm12_0_1-esp-12.0.1-20210914-linux-amd64.tar.xz"
209+
},
210+
"macos": {
211+
"sha256": "6e7413e5fa515e403859ecf5301bdcdc3f8bf12c5de9aecaa11e9f17f32b05db",
212+
"size": 89888488,
213+
"url": "https://github.com/espressif/llvm-project/releases/download/esp-12.0.1-20210914/xtensa-esp32-elf-llvm12_0_1-esp-12.0.1-20210914-macos.tar.xz"
214+
},
215+
"name": "12.0.1-d9341b81fc",
216+
"status": "recommended",
217+
"win64": {
218+
"sha256": "e056366959c722367e4144076c5383bd417ea199db5658bb7bb6c95b9aca014b",
219+
"size": 177903504,
220+
"url": "https://github.com/espressif/llvm-project/releases/download/esp-12.0.1-20210914/xtensa-esp32-elf-llvm12_0_1-esp-12.0.1-20210914-win64.zip"
221+
}
222+
}
223+
]
224+
},
180225
{
181226
"description": "Toolchain for 32-bit RISC-V based on GCC",
182227
"export_paths": [

0 commit comments

Comments
 (0)