From 256e0e50e7019f18bb09ab073b4b4f8b4d5b0314 Mon Sep 17 00:00:00 2001 From: Bogdan Kolendovskyy Date: Thu, 21 Mar 2024 11:33:57 +0100 Subject: [PATCH] feat(mqtt): Enable build test in mqtt examples for esp32p4 --- examples/protocols/.build-test-rules.yml | 28 +++++++++---------- .../protocols/mqtt/custom_outbox/README.md | 4 +-- examples/protocols/mqtt/ssl/README.md | 4 +-- .../protocols/mqtt/ssl_mutual_auth/README.md | 4 +-- examples/protocols/mqtt/ssl_psk/README.md | 4 +-- examples/protocols/mqtt/tcp/README.md | 4 +-- examples/protocols/mqtt/ws/README.md | 4 +-- examples/protocols/mqtt/wss/README.md | 4 +-- examples/protocols/mqtt5/README.md | 4 +-- 9 files changed, 30 insertions(+), 30 deletions(-) diff --git a/examples/protocols/.build-test-rules.yml b/examples/protocols/.build-test-rules.yml index 76a30e2632..07d49e3b3b 100644 --- a/examples/protocols/.build-test-rules.yml +++ b/examples/protocols/.build-test-rules.yml @@ -192,9 +192,9 @@ examples/protocols/modbus: examples/protocols/mqtt: <<: *default_dependencies disable: - - if: IDF_TARGET in ["esp32p4", "esp32c5"] + - if: IDF_TARGET == "esp32c5" temporary: true - reason: not supported on p4 and c5 # TODO: [ESP32P4] IDF-8077 [ESP32C5] IDF-8697 + reason: not supported on c5 # TODO: [ESP32C5] IDF-8697 depends_filepatterns: - examples/common_components/protocol_examples_common/**/* - components/mqtt/**/* @@ -202,16 +202,16 @@ examples/protocols/mqtt: examples/protocols/mqtt/custom_outbox: <<: *default_dependencies disable: - - if: IDF_TARGET in ["esp32p4", "esp32c5"] + - if: IDF_TARGET == "esp32c5" temporary: true - reason: not supported on p4 and c5 # TODO: [ESP32P4] IDF-8077 [ESP32C5] IDF-8697 + reason: not supported on c5 # TODO: [ESP32C5] IDF-8697 examples/protocols/mqtt/ssl: <<: *default_dependencies disable: - - if: IDF_TARGET in ["esp32p4", "esp32c5"] + - if: IDF_TARGET == "esp32c5" temporary: true - reason: not supported on p4 and c5 # TODO: [ESP32P4] IDF-8077 [ESP32C5] IDF-8697 + reason: not supported on c5 # TODO: [ESP32C5] IDF-8697 disable_test: - if: IDF_TARGET != "esp32" reason: only test on esp32 @@ -226,9 +226,9 @@ examples/protocols/mqtt/ssl_ds: examples/protocols/mqtt/tcp: <<: *default_dependencies disable: - - if: IDF_TARGET in ["esp32p4", "esp32c5"] + - if: IDF_TARGET == "esp32c5" temporary: true - reason: not supported on p4 and c5 # TODO: [ESP32P4] IDF-8077 [ESP32C5] IDF-8697 + reason: not supported on c5 # TODO: [ESP32C5] IDF-8697 disable_test: - if: IDF_TARGET != "esp32" reason: only test on esp32 @@ -236,9 +236,9 @@ examples/protocols/mqtt/tcp: examples/protocols/mqtt/ws: <<: *default_dependencies disable: - - if: IDF_TARGET in ["esp32p4", "esp32c5"] + - if: IDF_TARGET == "esp32c5" temporary: true - reason: not supported on p4 and c5 # TODO: [ESP32P4] IDF-8077 [ESP32C5] IDF-8697 + reason: not supported on c5 # TODO: [ESP32C5] IDF-8697 disable_test: - if: IDF_TARGET != "esp32" reason: only test on esp32 @@ -246,9 +246,9 @@ examples/protocols/mqtt/ws: examples/protocols/mqtt/wss: <<: *default_dependencies disable: - - if: IDF_TARGET in ["esp32p4", "esp32c5"] + - if: IDF_TARGET == "esp32c5" temporary: true - reason: not supported on p4 and c5 # TODO: [ESP32P4] IDF-8077 [ESP32C5] IDF-8697 + reason: not supported on c5 # TODO: [ESP32C5] IDF-8697 disable_test: - if: IDF_TARGET != "esp32" reason: only test on esp32 @@ -256,9 +256,9 @@ examples/protocols/mqtt/wss: examples/protocols/mqtt5: <<: *default_dependencies disable: - - if: IDF_TARGET in ["esp32p4", "esp32c5"] + - if: IDF_TARGET == "esp32c5" temporary: true - reason: not supported on p4 and c5 # TODO: [ESP32P4] IDF-8077 [ESP32C5] IDF-8697 + reason: not supported on c5 # TODO: [ESP32C5] IDF-8697 disable_test: - if: IDF_TARGET != "esp32" reason: only test on esp32 diff --git a/examples/protocols/mqtt/custom_outbox/README.md b/examples/protocols/mqtt/custom_outbox/README.md index 29a31425b9..5698dae61a 100644 --- a/examples/protocols/mqtt/custom_outbox/README.md +++ b/examples/protocols/mqtt/custom_outbox/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | # ESP-MQTT custom outbox sample application (See the README.md file in the upper level 'examples' directory for more information about examples.) diff --git a/examples/protocols/mqtt/ssl/README.md b/examples/protocols/mqtt/ssl/README.md index ff97ae7681..3da8c7ef5f 100644 --- a/examples/protocols/mqtt/ssl/README.md +++ b/examples/protocols/mqtt/ssl/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | # ESP-MQTT SSL Sample application diff --git a/examples/protocols/mqtt/ssl_mutual_auth/README.md b/examples/protocols/mqtt/ssl_mutual_auth/README.md index 71de8e3852..695da3e768 100644 --- a/examples/protocols/mqtt/ssl_mutual_auth/README.md +++ b/examples/protocols/mqtt/ssl_mutual_auth/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | # ESP-MQTT SSL Sample application (mutual authentication) diff --git a/examples/protocols/mqtt/ssl_psk/README.md b/examples/protocols/mqtt/ssl_psk/README.md index ce0fa6d8e0..f65175b913 100644 --- a/examples/protocols/mqtt/ssl_psk/README.md +++ b/examples/protocols/mqtt/ssl_psk/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | # ESP-MQTT SSL example with PSK verification diff --git a/examples/protocols/mqtt/tcp/README.md b/examples/protocols/mqtt/tcp/README.md index 52888e39df..1be468aa29 100644 --- a/examples/protocols/mqtt/tcp/README.md +++ b/examples/protocols/mqtt/tcp/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | # ESP-MQTT sample application (See the README.md file in the upper level 'examples' directory for more information about examples.) diff --git a/examples/protocols/mqtt/ws/README.md b/examples/protocols/mqtt/ws/README.md index 69b66ac8a3..bf84e7a73a 100644 --- a/examples/protocols/mqtt/ws/README.md +++ b/examples/protocols/mqtt/ws/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | # ESP-MQTT MQTT over Websocket diff --git a/examples/protocols/mqtt/wss/README.md b/examples/protocols/mqtt/wss/README.md index 7b1222fa37..2edbaf5055 100644 --- a/examples/protocols/mqtt/wss/README.md +++ b/examples/protocols/mqtt/wss/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | # ESP-MQTT MQTT over WSS Sample application (See the README.md file in the upper level 'examples' directory for more information about examples.) diff --git a/examples/protocols/mqtt5/README.md b/examples/protocols/mqtt5/README.md index efc2b7b5e4..9cf3cefdb5 100644 --- a/examples/protocols/mqtt5/README.md +++ b/examples/protocols/mqtt5/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | # ESP-MQTT sample application (See the README.md file in the upper level 'examples' directory for more information about examples.)