From 4bf62250fb77ee7db744ed10244b55cb7fcac6d1 Mon Sep 17 00:00:00 2001 From: Xu Si Yu Date: Fri, 24 Feb 2023 16:02:12 +0800 Subject: [PATCH] CI: add openthread build CI for ESP32-H2 --- components/ieee802154/lib | 2 +- examples/openthread/.build-test-rules.yml | 10 +++++++--- examples/openthread/ot_cli/README.md | 4 ++-- examples/openthread/ot_rcp/README.md | 4 ++-- examples/openthread/pytest_otbr.py | 1 + 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/components/ieee802154/lib b/components/ieee802154/lib index 9b0e23edec..d9da61a6f6 160000 --- a/components/ieee802154/lib +++ b/components/ieee802154/lib @@ -1 +1 @@ -Subproject commit 9b0e23edec879fc3fd46908bc3629dbd2a33359b +Subproject commit d9da61a6f6ee3ebf8176a1467fd32addfc3a0d04 diff --git a/examples/openthread/.build-test-rules.yml b/examples/openthread/.build-test-rules.yml index 96641da7c2..d864f9233b 100644 --- a/examples/openthread/.build-test-rules.yml +++ b/examples/openthread/.build-test-rules.yml @@ -12,12 +12,16 @@ examples/openthread/ot_br: examples/openthread/ot_cli: enable: - - if: IDF_TARGET in ["esp32h4", "esp32c6"] + - if: IDF_TARGET in ["esp32h2", "esp32h4", "esp32c6"] + disable_test: + - if: IDF_TARGET == "esp32h2" + temporary: true + reason: test on esp32h4 and esp32c6 examples/openthread/ot_rcp: enable: - - if: IDF_TARGET in ["esp32h4", "esp32c6"] + - if: IDF_TARGET in ["esp32h2", "esp32h4", "esp32c6"] disable_test: - - if: IDF_TARGET == "esp32c6" + - if: IDF_TARGET in ["esp32h2", "esp32c6"] temporary: true reason: only test on esp32h4 diff --git a/examples/openthread/ot_cli/README.md b/examples/openthread/ot_cli/README.md index 24bf10569f..97839575b1 100644 --- a/examples/openthread/ot_cli/README.md +++ b/examples/openthread/ot_cli/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32-C6 | ESP32-H4 | -| ----------------- | -------- | -------- | +| Supported Targets | ESP32-C6 | ESP32-H2 | ESP32-H4 | +| ----------------- | -------- | -------- | -------- | # OpenThread Command Line Example diff --git a/examples/openthread/ot_rcp/README.md b/examples/openthread/ot_rcp/README.md index 49b76464d8..c8ebe57cd7 100644 --- a/examples/openthread/ot_rcp/README.md +++ b/examples/openthread/ot_rcp/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32-C6 | ESP32-H4 | -| ----------------- | -------- | -------- | +| Supported Targets | ESP32-C6 | ESP32-H2 | ESP32-H4 | +| ----------------- | -------- | -------- | -------- | # OpenThread Radio Co-Processor (RCP) Example diff --git a/examples/openthread/pytest_otbr.py b/examples/openthread/pytest_otbr.py index b4085b0066..223a2be7c4 100644 --- a/examples/openthread/pytest_otbr.py +++ b/examples/openthread/pytest_otbr.py @@ -70,6 +70,7 @@ default_cli_ot_para = ocf.thread_parameter('router', '', '12', '', False) # Case 1: Thread network formation and attaching @pytest.mark.esp32s3 +@pytest.mark.esp32h2 @pytest.mark.esp32h4 @pytest.mark.esp32c6 @pytest.mark.openthread_br