Merge branch 'lld_orphan' into 'master'

esp_system: enable linking with LLD on RISC-V targets

Closes LLVM-216

See merge request espressif/esp-idf!48712
This commit is contained in:
morris
2026-08-17 14:40:36 +08:00
17 changed files with 147 additions and 11 deletions
+2 -2
View File
@@ -51,9 +51,9 @@ tools/test_apps/system/build_tests/trax_esp32s2:
tools/test_apps/system/clang_build_test:
enable:
- if: IDF_TARGET in ["esp32", "esp32s2", "esp32s3", "esp32c2", "esp32c3", "esp32c5", "esp32c6", "esp32h2"]
- if: IDF_TARGET in ["esp32", "esp32s2", "esp32s3", "esp32c2", "esp32c3", "esp32c5", "esp32c6", "esp32h2", "esp32p4"]
temporary: true
reason: the other targets are not supported yet, esp32p4 # TODO: IDF-14355
reason: the other targets are not supported yet
tools/test_apps/system/cxx_no_except:
enable:
@@ -1,4 +1,4 @@
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
This project is for testing if the application can be built with Clang toolchain.
@@ -0,0 +1,3 @@
# Build test: link with LLD instead of GNU ld (esp32p4 only)
CONFIG_IDF_TARGET="esp32p4"
CONFIG_COMPILER_USE_LLD=y