Files
esp-idf/examples/peripherals/h264/pytest_esp_h264.py
morris b363373758 feat(h264): add ESP32-S31 support to the h264 example
Add ESP32-S31 as a supported target for the H.264 encoder/decoder
example and bump the esp_h264 component to v1.3.8, which provides
support (prebuilt software library) for ESP32-S31.

- Add sdkconfig.defaults.esp32s31 with SPIRAM/CPU settings
- Update pytest and build-test-rules to cover esp32s31
- Update README and Kconfig help text
2026-08-12 22:29:40 +08:00

24 lines
792 B
Python

# SPDX-FileCopyrightText: 2025-2026 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Apache-2.0
import pytest
from pytest_embedded import Dut
from pytest_embedded_idf.utils import idf_parametrize
@pytest.mark.octal_psram
@idf_parametrize('target', ['esp32s3'], indirect=['target'])
def test_esp_h264_esp32s3(dut: Dut) -> None:
dut.expect_exact('H264 process completed successfully')
@pytest.mark.generic
@idf_parametrize('target', ['esp32p4'], indirect=['target'])
def test_esp_h264_hardware_encoder(dut: Dut) -> None:
dut.expect_exact('H264 process completed successfully')
@pytest.mark.generic
@idf_parametrize('target', ['esp32s31'], indirect=['target'])
def test_esp_h264_esp32s31(dut: Dut) -> None:
dut.expect_exact('H264 process completed successfully')