Merge branch 'ci/enable_c5_mp_ci_jobs' into 'master'

ci(esp32c5mp): enable esp32c5 build on CI

See merge request espressif/esp-idf!29895
This commit is contained in:
Kevin (Lao Kaiyao)
2024-04-08 12:16:16 +08:00
126 changed files with 421 additions and 281 deletions

View File

@@ -15,6 +15,10 @@ examples/protocols/esp_http_client:
<<: *default_dependencies
enable:
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "linux"
disable:
- if: IDF_TARGET == "esp32c5"
temporary: true
reason: not supported yet # TODO: [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET not in ["esp32", "linux"]
depends_filepatterns:
@@ -24,7 +28,9 @@ examples/protocols/esp_http_client:
examples/protocols/esp_local_ctrl:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32h2"]
- if: IDF_TARGET in ["esp32h2", "esp32c5"]
temporary: true
reason: not supported yet # TODO: [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
reason: only test on these targets
@@ -35,12 +41,20 @@ examples/protocols/esp_local_ctrl:
examples/protocols/http_request:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32c5"
temporary: true
reason: not supported yet # TODO: [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
examples/protocols/http_server:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32c5"
temporary: true
reason: not supported yet # TODO: [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
reason: only test on these targets
@@ -51,9 +65,9 @@ examples/protocols/http_server:
examples/protocols/http_server/captive_portal:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32h2", "esp32p4"]
- if: IDF_TARGET in ["esp32h2", "esp32p4", "esp32c5"]
temporary: true
reason: not supported on p4 # TODO: IDF-8076
reason: not supported on p4 # TODO: IDF-8076 [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
@@ -64,13 +78,19 @@ examples/protocols/http_server/captive_portal:
examples/protocols/http_server/restful_server:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32h2"]
- if: IDF_TARGET in ["esp32h2", "esp32c5"]
temporary: true
reason: not supported yet # TODO: [ESP32C5] IDF-8697
depends_filepatterns:
- examples/common_components/protocol_examples_common/**/*
- components/esp_http_server/**/*
examples/protocols/http_server/ws_echo_server:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32c5"
temporary: true
reason: not supported yet # TODO: [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
@@ -82,6 +102,10 @@ examples/protocols/https_mbedtls:
<<: *default_dependencies
enable:
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "linux"
disable:
- if: IDF_TARGET == "esp32c5"
temporary: true
reason: not supported yet # TODO: [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
@@ -89,15 +113,19 @@ examples/protocols/https_mbedtls:
examples/protocols/https_request:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32h2", "esp32p4"]
- if: IDF_TARGET in ["esp32h2", "esp32p4", "esp32c5"]
temporary: true
reason: not supported on h2 and p4 # TODO: IDF-9076 (H2)
reason: not supported on h2, p4 and c5 # TODO: IDF-9076 (H2) [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
examples/protocols/https_server/simple:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32c5"
temporary: true
reason: not supported yet # TODO: [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
reason: only test on these targets
@@ -108,6 +136,10 @@ examples/protocols/https_server/simple:
examples/protocols/https_server/wss_server:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32c5"
temporary: true
reason: not supported yet # TODO: [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
@@ -117,6 +149,10 @@ examples/protocols/https_server/wss_server:
examples/protocols/https_x509_bundle:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32c5"
temporary: true
reason: not supported yet # TODO: [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
@@ -127,24 +163,28 @@ examples/protocols/https_x509_bundle:
examples/protocols/icmp_echo:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32p4"
- if: IDF_TARGET in ["esp32p4", "esp32c5"]
temporary: true
reason: not supported on p4
reason: not supported on p4 and c5 # TODO: [ESP32-C5] IDF-8697
disable_test:
- if: SOC_WIFI_SUPPORTED != 1
examples/protocols/l2tap:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32p4"
- if: IDF_TARGET in ["esp32p4", "esp32c5"]
temporary: true
reason: not supported on p4
reason: not supported on p4 and c5 # TODO: [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
examples/protocols/modbus:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32c5"
temporary: true
reason: not supported yet # TODO: [ESP32C5] IDF-8722, IDF-8697
depends_filepatterns:
- examples/common_components/protocol_examples_common/**/*
- examples/protocols/modbus/mb_example_common/**/*
@@ -152,9 +192,9 @@ examples/protocols/modbus:
examples/protocols/mqtt:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32p4"
- if: IDF_TARGET in ["esp32p4", "esp32c5"]
temporary: true
reason: not supported on p4 # TODO: IDF-8077
reason: not supported on p4 and c5 # TODO: [ESP32P4] IDF-8077 [ESP32C5] IDF-8697
depends_filepatterns:
- examples/common_components/protocol_examples_common/**/*
- components/mqtt/**/*
@@ -162,16 +202,16 @@ examples/protocols/mqtt:
examples/protocols/mqtt/custom_outbox:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32p4"
- if: IDF_TARGET in ["esp32p4", "esp32c5"]
temporary: true
reason: not supported on p4 # TODO: IDF-8077
reason: not supported on p4 and c5 # TODO: [ESP32P4] IDF-8077 [ESP32C5] IDF-8697
examples/protocols/mqtt/ssl:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32p4"
- if: IDF_TARGET in ["esp32p4", "esp32c5"]
temporary: true
reason: not supported on p4 # TODO: IDF-8077
reason: not supported on p4 and c5 # TODO: [ESP32P4] IDF-8077 [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
@@ -186,9 +226,9 @@ examples/protocols/mqtt/ssl_ds:
examples/protocols/mqtt/tcp:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32p4"
- if: IDF_TARGET in ["esp32p4", "esp32c5"]
temporary: true
reason: not supported on p4 # TODO: IDF-8077
reason: not supported on p4 and c5 # TODO: [ESP32P4] IDF-8077 [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
@@ -196,9 +236,9 @@ examples/protocols/mqtt/tcp:
examples/protocols/mqtt/ws:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32p4"
- if: IDF_TARGET in ["esp32p4", "esp32c5"]
temporary: true
reason: not supported on p4 # TODO: IDF-8077
reason: not supported on p4 and c5 # TODO: [ESP32P4] IDF-8077 [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
@@ -206,9 +246,9 @@ examples/protocols/mqtt/ws:
examples/protocols/mqtt/wss:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32p4"
- if: IDF_TARGET in ["esp32p4", "esp32c5"]
temporary: true
reason: not supported on p4 # TODO: IDF-8077
reason: not supported on p4 and c5 # TODO: [ESP32P4] IDF-8077 [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
@@ -216,9 +256,9 @@ examples/protocols/mqtt/wss:
examples/protocols/mqtt5:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32p4"
- if: IDF_TARGET in ["esp32p4", "esp32c5"]
temporary: true
reason: not supported on p4 # TODO: IDF-8077
reason: not supported on p4 and c5 # TODO: [ESP32P4] IDF-8077 [ESP32C5] IDF-8697
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
@@ -226,9 +266,9 @@ examples/protocols/mqtt5:
examples/protocols/smtp_client:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32p4"
- if: IDF_TARGET in ["esp32p4", "esp32c5"]
temporary: true
reason: not supported on p4
reason: not supported on p4 and c5 # TODO: [ESP32C5] IDF-8697
examples/protocols/sntp:
<<: *default_dependencies
@@ -240,9 +280,9 @@ examples/protocols/sntp:
examples/protocols/sockets:
<<: *default_dependencies
disable:
- if: IDF_TARGET == "esp32p4"
- if: IDF_TARGET in ["esp32p4", "esp32c5"]
temporary: true
reason: not supported on p4
reason: not supported on p4 and c5 # TODO: [ESP32C5] IDF-8697
disable_test:
- if: SOC_WIFI_SUPPORTED != 1
@@ -260,14 +300,14 @@ examples/protocols/sockets/tcp_client:
- if: SOC_WIFI_SUPPORTED != 1
# linux target won't work with CONFIG_EXAMPLE_SOCKET_IP_INPUT_STDIN=y
disable:
- if: IDF_TARGET == "esp32p4"
- if: IDF_TARGET in ["esp32p4", "esp32c5"]
temporary: true
reason: not supported on p4
reason: not supported on p4 and c5 # TODO: [ESP32C5] IDF-8697
examples/protocols/static_ip:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32h2"]
- if: IDF_TARGET == "esp32p4"
- if: IDF_TARGET in ["esp32p4", "esp32c5"]
temporary: true
reason: not supported on p4
reason: not supported on p4 and c5 # TODO: [ESP32C5] IDF-8697

View File

@@ -1,5 +1,5 @@
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
# TCP non-blocking client and server examples
@@ -70,4 +70,4 @@ See the Getting Started Guide for full steps to configure and use ESP-IDF to bui
## Troubleshooting
Follow the same troubleshooting instruction as for the standard [TCP sever](../tcp_server/README.md) and the [TCP client](../tcp_client/README.md),
using the host tools and scripts as descibed in the upper level documentation on [BSD socket examples](../README.md).
using the host tools and scripts as described in the upper level documentation on [BSD socket examples](../README.md).