From f91b20b516e139938362ce4fec0eec62cf5d58bf Mon Sep 17 00:00:00 2001 From: Xu Si Yu Date: Fri, 15 May 2026 16:35:40 +0800 Subject: [PATCH 1/2] feat(openthread): add ESP32-S31 support for examples build targets --- examples/openthread/.build-test-rules.yml | 15 ++++----------- examples/openthread/ot_br/README.md | 4 ++-- examples/openthread/ot_trel/README.md | 4 ++-- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/examples/openthread/.build-test-rules.yml b/examples/openthread/.build-test-rules.yml index a123a98ac80..00dbdeb3078 100644 --- a/examples/openthread/.build-test-rules.yml +++ b/examples/openthread/.build-test-rules.yml @@ -31,9 +31,6 @@ examples/openthread/ot_br: - if: ((SOC_WIFI_SUPPORTED == 1 and IDF_TARGET != "esp32c61") or IDF_TARGET == "esp32p4") and CONFIG_NAME != "native_radio" - if: SOC_WIFI_SUPPORTED == 1 and (SOC_IEEE802154_SUPPORTED == 1 and CONFIG_NAME == "native_radio") disable: - - if: IDF_TARGET == "esp32s31" - temporary: true - reason: OpenThread BR example does not support esp32s31 yet - if: IDF_TARGET in ["esp32", "esp32s2", "esp32s3"] and CONFIG_NAME == "br_debug_riscv" disable_test: - if: IDF_TARGET not in ["esp32s3"] @@ -44,8 +41,8 @@ examples/openthread/ot_cli: enable: - if: SOC_IEEE802154_SUPPORTED == 1 disable: - - if: IDF_TARGET in ["esp32h4", "esp32s31", "esp32h21"] and CONFIG_NAME == "ext_coex" - reason: ext_coex not supported on esp32h4, esp32s31 and esp32h21 yet + - if: IDF_TARGET in ["esp32h4", "esp32h21"] and CONFIG_NAME == "ext_coex" + reason: ext_coex not supported on esp32h4 and esp32h21 yet disable_test: - if: IDF_TARGET not in ["esp32h2", "esp32c6"] reason: only test on esp32h2 and esp32c6 @@ -55,8 +52,8 @@ examples/openthread/ot_rcp: enable: - if: SOC_IEEE802154_SUPPORTED == 1 disable: - - if: IDF_TARGET in ["esp32h4", "esp32s31", "esp32h21"] and CONFIG_NAME == "ext_coex" - reason: ext_coex not supported on esp32h4, esp32s31 and esp32h21 yet + - if: IDF_TARGET in ["esp32h4", "esp32h21"] and CONFIG_NAME == "ext_coex" + reason: ext_coex not supported on esp32h4 and esp32h21 yet disable_test: - if: IDF_TARGET not in ["esp32h2", "esp32c6"] reason: only test on esp32h2 and esp32c6 @@ -83,10 +80,6 @@ examples/openthread/ot_sleepy_device/light_sleep: examples/openthread/ot_trel: enable: - if: SOC_WIFI_SUPPORTED == 1 - disable: - - if: IDF_TARGET == "esp32s31" - temporary: true - reason: OpenThread TREL example does not support esp32s31 yet disable_test: - if: IDF_TARGET not in ["esp32c6", "esp32s3"] reason: only test on esp32c6 and esp32s3 diff --git a/examples/openthread/ot_br/README.md b/examples/openthread/ot_br/README.md index 5f7f8ac010c..c22dc0aa182 100644 --- a/examples/openthread/ot_br/README.md +++ b/examples/openthread/ot_br/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-P4 | ESP32-S2 | ESP32-S3 | ESP32-S31 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | --------- | # OpenThread Border Router Example diff --git a/examples/openthread/ot_trel/README.md b/examples/openthread/ot_trel/README.md index 6fcb37e96e9..809e1c3724f 100644 --- a/examples/openthread/ot_trel/README.md +++ b/examples/openthread/ot_trel/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-S2 | ESP32-S3 | ESP32-S31 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | --------- | # Thread Radio Encapsulation Link Example From 919ee1b61d968c9e9f16a65192a9267e0a326bca Mon Sep 17 00:00:00 2001 From: Xu Si Yu Date: Tue, 19 May 2026 03:52:09 +0000 Subject: [PATCH 2/2] feat(openthread): support s31 openthread br lib * esp-openthread: thread_zigbee/esp-openthread@2e7e04a30 * openthread: espressif/openthread@a98813b30 * esp-idf: espressif/esp-idf@f91b20b51 --- components/openthread/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/openthread/lib b/components/openthread/lib index 70a7322bfe4..75a1adad77a 160000 --- a/components/openthread/lib +++ b/components/openthread/lib @@ -1 +1 @@ -Subproject commit 70a7322bfe4dd130c7cf9a94b8dbbeb0dbae0687 +Subproject commit 75a1adad77ac6a3a45ec0806c4f680520823fdba