mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
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:
@@ -72,7 +72,7 @@ examples/openthread/ot_sleepy_device/light_sleep:
|
||||
enable:
|
||||
- if: SOC_IEEE802154_SUPPORTED == 1
|
||||
disable:
|
||||
- if: IDF_TARGET in ["esp32h4", "esp32s31", "esp32h21"]
|
||||
- if: IDF_TARGET in ["esp32h4", "esp32h21"]
|
||||
temporary: true
|
||||
reason: Not supported yet
|
||||
<<: [*openthread_dependencies, *openthread_sleep_dependencies]
|
||||
|
||||
@@ -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
|
||||
|
||||
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.
|
||||
|
||||
@@ -100,8 +100,9 @@ PORT_MAPPING = {
|
||||
'ESPPORT2': 'esp32s3',
|
||||
'ESPPORT3': 'esp32c6',
|
||||
'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_NETWORKKEY = os.getenv('NETWORKKEY', '99112233445566778899aabbccddeeff')
|
||||
@@ -777,6 +778,15 @@ def test_TCP_NAT64(Init_interface: bool, dut: tuple[IdfDut, IdfDut, IdfDut]) ->
|
||||
f'{ESPPORT1}|{ESPPORT4}',
|
||||
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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user