From 7db2dfce67fdd5d1d7e7be3af1999df0d62227fb Mon Sep 17 00:00:00 2001 From: "hrushikesh.bhosale" Date: Tue, 3 Sep 2024 12:33:05 +0530 Subject: [PATCH] feat(ota): Enable support for OTA examples for c61 Tested OTA examples on esp32c61 and added their support in their corresponding README.mds --- examples/system/.build-test-rules.yml | 24 +++++++++---------- .../system/ota/advanced_https_ota/README.md | 4 ++-- .../system/ota/native_ota_example/README.md | 4 ++-- examples/system/ota/otatool/README.md | 4 ++-- examples/system/ota/otatool/pytest_otatool.py | 3 ++- .../system/ota/pre_encrypted_ota/README.md | 4 ++-- .../system/ota/simple_ota_example/README.md | 4 ++-- 7 files changed, 24 insertions(+), 23 deletions(-) diff --git a/examples/system/.build-test-rules.yml b/examples/system/.build-test-rules.yml index 6e6d83e512..ddb33070ef 100644 --- a/examples/system/.build-test-rules.yml +++ b/examples/system/.build-test-rules.yml @@ -133,9 +133,9 @@ examples/system/nmi_isr: examples/system/ota/advanced_https_ota: disable: - - if: IDF_TARGET in ["esp32h2", "esp32c61"] + - if: IDF_TARGET in ["esp32h2"] temporary: true - reason: target esp32h2 esp32c61 is not supported yet + reason: target esp32h2 is not supported yet disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"] temporary: true @@ -153,9 +153,9 @@ examples/system/ota/advanced_https_ota: examples/system/ota/native_ota_example: disable: - - if: IDF_TARGET in ["esp32h2", "esp32c61"] + - if: IDF_TARGET in ["esp32h2"] temporary: true - reason: target esp32h2, esp32c61 is not supported yet + reason: target esp32h2 is not supported yet disable_test: - if: IDF_TARGET != "esp32" reason: Only esp32 has ethernet runners @@ -170,19 +170,19 @@ examples/system/ota/native_ota_example: examples/system/ota/otatool: disable: - - if: IDF_TARGET in ["esp32h2", "esp32c61"] + - if: IDF_TARGET in ["esp32h2"] temporary: true - reason: target esp32h2, esp32c61 is not supported yet + reason: target esp32h2 is not supported yet disable_test: - - if: IDF_TARGET in ["esp32c5"] - reason: incomplete esptool support for esp32c5 # IDF-10915 + - if: IDF_TARGET in ["esp32c61"] + reason: target esp32c61 is not supported yet examples/system/ota/pre_encrypted_ota: disable: - - if: IDF_TARGET in ["esp32h2", "esp32c61"] + - if: IDF_TARGET in ["esp32h2"] temporary: true - reason: target esp32h2, esp32c61 is not supported yet + reason: target esp32h2 is not supported yet disable_test: - if: IDF_TARGET != "esp32" temporary: true @@ -198,9 +198,9 @@ examples/system/ota/pre_encrypted_ota: examples/system/ota/simple_ota_example: disable: - - if: IDF_TARGET in ["esp32h2", "esp32c61"] + - if: IDF_TARGET in ["esp32h2"] temporary: true - reason: target esp32h2, esp32c61 is not supported yet + reason: target esp32h2 is not supported yet - if: CONFIG_NAME == "spiram" and SOC_SPIRAM_SUPPORTED != 1 disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"] diff --git a/examples/system/ota/advanced_https_ota/README.md b/examples/system/ota/advanced_https_ota/README.md index 5268657db6..3ab4875b55 100644 --- a/examples/system/ota/advanced_https_ota/README.md +++ b/examples/system/ota/advanced_https_ota/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-P4 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | # Advanced HTTPS OTA example diff --git a/examples/system/ota/native_ota_example/README.md b/examples/system/ota/native_ota_example/README.md index d80bef4852..85500a1e2b 100644 --- a/examples/system/ota/native_ota_example/README.md +++ b/examples/system/ota/native_ota_example/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-P4 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | # Native OTA example diff --git a/examples/system/ota/otatool/README.md b/examples/system/ota/otatool/README.md index 2fc4ba3edf..255b223200 100644 --- a/examples/system/ota/otatool/README.md +++ b/examples/system/ota/otatool/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-P4 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | # OTA Tool Example diff --git a/examples/system/ota/otatool/pytest_otatool.py b/examples/system/ota/otatool/pytest_otatool.py index 6104ce7296..8a9d0b21af 100644 --- a/examples/system/ota/otatool/pytest_otatool.py +++ b/examples/system/ota/otatool/pytest_otatool.py @@ -30,7 +30,8 @@ def _real_test_func(dut: Dut) -> None: @pytest.mark.esp32s2 @pytest.mark.esp32c3 @pytest.mark.esp32s3 -# @pytest.mark.esp32c5 # IDF-10915 +@pytest.mark.esp32c5 +# @pytest.mark.esp32c61 #IDF-11309 @pytest.mark.esp32c6 @pytest.mark.esp32p4 @pytest.mark.generic diff --git a/examples/system/ota/pre_encrypted_ota/README.md b/examples/system/ota/pre_encrypted_ota/README.md index b40260b9a6..226544cfd8 100644 --- a/examples/system/ota/pre_encrypted_ota/README.md +++ b/examples/system/ota/pre_encrypted_ota/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-P4 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | # Encrypted Binary OTA diff --git a/examples/system/ota/simple_ota_example/README.md b/examples/system/ota/simple_ota_example/README.md index f4090b91ab..03415d7ba1 100644 --- a/examples/system/ota/simple_ota_example/README.md +++ b/examples/system/ota/simple_ota_example/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-P4 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | # Simple OTA example