瀏覽代碼

Merge branch 'bugfix/pcnt_sdm_test_on_h2' into 'master'

fix pcnt sdm pre-commit failure

See merge request espressif/esp-idf!22067
Kevin (Lao Kaiyao) 3 年之前
父節點
當前提交
87ae8f8762

+ 1 - 1
components/driver/test_apps/gpio_extensions/pytest_gpio_extensions.py

@@ -16,7 +16,7 @@ CONFIGS = [
 @pytest.mark.esp32h2
 @pytest.mark.esp32s2
 @pytest.mark.esp32s3
-# @pytest.mark.esp32h2 // TODO: IDF-6263
+@pytest.mark.esp32h2
 @pytest.mark.generic
 @pytest.mark.parametrize('config', CONFIGS, indirect=True)
 def test_sdm(dut: IdfDut) -> None:

+ 2 - 2
components/driver/test_apps/legacy_pcnt_driver/README.md

@@ -1,2 +1,2 @@
-| Supported Targets | ESP32 | ESP32-C6 | ESP32-S2 | ESP32-S3 |
-| ----------------- | ----- | -------- | -------- | -------- |
+| Supported Targets | ESP32 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
+| ----------------- | ----- | -------- | -------- | -------- | -------- |

+ 1 - 1
components/driver/test_apps/legacy_pcnt_driver/pytest_legacy_pcnt.py

@@ -9,7 +9,7 @@ from pytest_embedded import Dut
 @pytest.mark.esp32s2
 @pytest.mark.esp32s3
 @pytest.mark.esp32c6
-# @pytest.mark.esp32h2    # TODO: IDF-6263, IDF-6235
+@pytest.mark.esp32h2
 @pytest.mark.generic
 @pytest.mark.parametrize(
     'config',

+ 2 - 2
components/driver/test_apps/pulse_cnt/README.md

@@ -1,2 +1,2 @@
-| Supported Targets | ESP32 | ESP32-C6 | ESP32-S2 | ESP32-S3 |
-| ----------------- | ----- | -------- | -------- | -------- |
+| Supported Targets | ESP32 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
+| ----------------- | ----- | -------- | -------- | -------- | -------- |

+ 1 - 1
components/driver/test_apps/pulse_cnt/pytest_pulse_cnt.py

@@ -9,7 +9,7 @@ from pytest_embedded import Dut
 @pytest.mark.esp32s2
 @pytest.mark.esp32s3
 @pytest.mark.esp32c6
-# @pytest.mark.esp32h2    # TODO: IDF-6263, IDF-6227
+@pytest.mark.esp32h2
 @pytest.mark.generic
 @pytest.mark.parametrize(
     'config',

+ 2 - 2
examples/peripherals/pcnt/rotary_encoder/README.md

@@ -1,5 +1,5 @@
-| Supported Targets | ESP32 | ESP32-C6 | ESP32-S2 | ESP32-S3 |
-| ----------------- | ----- | -------- | -------- | -------- |
+| Supported Targets | ESP32 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
+| ----------------- | ----- | -------- | -------- | -------- | -------- |
 
 # Rotary Encoder Example
 

+ 1 - 1
examples/peripherals/pcnt/rotary_encoder/pytest_rotary_encoder.py

@@ -9,7 +9,7 @@ from pytest_embedded.dut import Dut
 @pytest.mark.esp32s2
 @pytest.mark.esp32s3
 @pytest.mark.esp32c6
-# @pytest.mark.esp32h2    # TODO: IDF-6263, IDF-6227
+@pytest.mark.esp32h2
 @pytest.mark.generic
 def test_rotary_encoder(dut: Dut) -> None:
     dut.expect_exact('install pcnt unit')

+ 2 - 2
examples/peripherals/sigma_delta/sdm_dac/README.md

@@ -1,5 +1,5 @@
-| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 |
-| ----------------- | ----- | -------- | -------- | -------- | -------- |
+| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
+| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
 
 # Sigma Delta Modulation DAC Example
 

+ 1 - 1
examples/peripherals/sigma_delta/sdm_dac/pytest_sdm_dac_example.py

@@ -10,7 +10,7 @@ from pytest_embedded import Dut
 @pytest.mark.esp32s3
 @pytest.mark.esp32c3
 @pytest.mark.esp32c6
-# @pytest.mark.esp32h2  // TODO: IDF-6263, IDF-6242
+@pytest.mark.esp32h2
 @pytest.mark.generic
 def test_sdm_dac_example(dut: Dut) -> None:
     dut.expect(r'sdm_dac: Sigma-delta output is attached to GPIO \w+')

+ 2 - 2
examples/peripherals/sigma_delta/sdm_led/README.md

@@ -1,5 +1,5 @@
-| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 |
-| ----------------- | ----- | -------- | -------- | -------- | -------- |
+| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
+| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
 
 # Sigma Delta Modulation LED Example
 

+ 1 - 1
examples/peripherals/sigma_delta/sdm_led/pytest_sdm_led_example.py

@@ -10,7 +10,7 @@ from pytest_embedded import Dut
 @pytest.mark.esp32s3
 @pytest.mark.esp32c3
 @pytest.mark.esp32c6
-# @pytest.mark.esp32h2 // TODO: IDF-6263
+@pytest.mark.esp32h2
 @pytest.mark.generic
 def test_sdm_led_example(dut: Dut) -> None:
     dut.expect_exact('sdm_led: Install sigma delta channel')