mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
ae8acf82e7
Enable esp32s31 RMT caps and clock source definitions for esp_driver_rmt. Add esp32s31 RMT LL/periph hooks, sleep retention metadata, and RMTMEM linker symbol.
16 lines
685 B
Python
16 lines
685 B
Python
# SPDX-FileCopyrightText: 2021-2025 Espressif Systems (Shanghai) CO LTD
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
import pytest
|
|
from pytest_embedded import Dut
|
|
from pytest_embedded_idf.utils import idf_parametrize
|
|
from pytest_embedded_idf.utils import soc_filtered_targets
|
|
|
|
|
|
@pytest.mark.generic
|
|
@idf_parametrize('target', soc_filtered_targets('SOC_RMT_SUPPORT_TX_LOOP_COUNT == 1'), indirect=['target'])
|
|
def test_musical_buzzer_example(dut: Dut) -> None:
|
|
dut.expect_exact('example: Create RMT TX channel')
|
|
dut.expect_exact('example: Install musical score encoder')
|
|
dut.expect_exact('example: Enable RMT TX channel')
|
|
dut.expect_exact("example: Playing Beethoven's Ode to joy")
|