pytest_ledc.py 402 B

12345678910111213141516171819
  1. # SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
  2. # SPDX-License-Identifier: CC0-1.0
  3. import pytest
  4. from pytest_embedded_idf import IdfDut
  5. @pytest.mark.supported_targets
  6. @pytest.mark.generic
  7. @pytest.mark.parametrize(
  8. 'config',
  9. [
  10. 'iram_safe',
  11. 'release',
  12. ],
  13. indirect=True,
  14. )
  15. def test_ledc(dut: IdfDut) -> None:
  16. dut.run_all_single_board_cases()