Merge branch 'feat/add_openthread_s31_ci_case' into 'master'

ci: add openthread s31 ci case

See merge request espressif/esp-idf!51587
This commit is contained in:
Shu Chen
2026-08-26 10:25:23 +00:00
3 changed files with 14 additions and 4 deletions

View File

@@ -72,7 +72,7 @@ examples/openthread/ot_sleepy_device/light_sleep:
enable: enable:
- if: SOC_IEEE802154_SUPPORTED == 1 - if: SOC_IEEE802154_SUPPORTED == 1
disable: disable:
- if: IDF_TARGET in ["esp32h4", "esp32s31", "esp32h21"] - if: IDF_TARGET in ["esp32h4", "esp32h21"]
temporary: true temporary: true
reason: Not supported yet reason: Not supported yet
<<: [*openthread_dependencies, *openthread_sleep_dependencies] <<: [*openthread_dependencies, *openthread_sleep_dependencies]

View File

@@ -1,5 +1,5 @@
| Supported Targets | ESP32-C5 | ESP32-C6 | ESP32-H2 | | Supported Targets | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S31 |
| ----------------- | -------- | -------- | -------- | | ----------------- | -------- | -------- | -------- | --------- |
# OpenThread Sleepy Device Example # OpenThread Sleepy Device Example
The example demonstrates the Thread Sleepy End Device (SED), the device will enter [Light Sleep mode](https://docs.espressif.com/projects/esp-idf/en/latest/esp32h2/api-reference/system/sleep_modes.html#sleep-modes) during idle state. The example demonstrates the Thread Sleepy End Device (SED), the device will enter [Light Sleep mode](https://docs.espressif.com/projects/esp-idf/en/latest/esp32h2/api-reference/system/sleep_modes.html#sleep-modes) during idle state.

View File

@@ -100,8 +100,9 @@ PORT_MAPPING = {
'ESPPORT2': 'esp32s3', 'ESPPORT2': 'esp32s3',
'ESPPORT3': 'esp32c6', 'ESPPORT3': 'esp32c6',
'ESPPORT4': 'esp32c5', 'ESPPORT4': 'esp32c5',
'ESPPORT5': 'esp32s31',
} }
ESPPORT1, ESPPORT2, ESPPORT3, ESPPORT4 = (os.getenv(name) for name in PORT_MAPPING) ESPPORT1, ESPPORT2, ESPPORT3, ESPPORT4, ESPPORT5 = (os.getenv(name) for name in PORT_MAPPING)
_RUNNER_CHANNEL = os.getenv('CHANNEL', '12') _RUNNER_CHANNEL = os.getenv('CHANNEL', '12')
_RUNNER_NETWORKKEY = os.getenv('NETWORKKEY', '99112233445566778899aabbccddeeff') _RUNNER_NETWORKKEY = os.getenv('NETWORKKEY', '99112233445566778899aabbccddeeff')
@@ -777,6 +778,15 @@ def test_TCP_NAT64(Init_interface: bool, dut: tuple[IdfDut, IdfDut, IdfDut]) ->
f'{ESPPORT1}|{ESPPORT4}', f'{ESPPORT1}|{ESPPORT4}',
id='h2-c5', id='h2-c5',
), ),
pytest.param(
'cli|sleepy',
2,
f'{os.path.join(os.path.dirname(__file__), "ot_cli")}'
f'|{os.path.join(os.path.dirname(__file__), "ot_sleepy_device/light_sleep")}',
'esp32h2|esp32s31',
f'{ESPPORT1}|{ESPPORT5}',
id='h2-s31',
),
], ],
indirect=True, indirect=True,
) )