mirror of
https://github.com/espressif/esp-idf.git
synced 2026-06-04 20:26:38 +03:00
ci(adc): re-enable ADC test on ESP32P4
This commit is contained in:
@@ -4,10 +4,6 @@ components/esp_adc/test_apps/adc:
|
||||
disable:
|
||||
- if: SOC_ADC_SUPPORTED != 1
|
||||
- if: CONFIG_NAME == "gdma_iram_safe" and IDF_TARGET in ["esp32", "esp32s2", "esp32c2"]
|
||||
disable_test:
|
||||
- if: IDF_TARGET == "esp32p4" and CONFIG_NAME != "esp32p4_eco4"
|
||||
temporary: true
|
||||
reason: p4 rev3 migration # TODO: IDF-14357
|
||||
depends_components:
|
||||
- esp_adc
|
||||
- esp_driver_gpio
|
||||
|
||||
@@ -12,7 +12,6 @@ from pytest_embedded_idf.utils import idf_parametrize
|
||||
['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32c5', 'esp32p4', 'esp32c61'],
|
||||
indirect=['target'],
|
||||
)
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14357')
|
||||
def test_adc(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases(timeout=120, reset=True)
|
||||
|
||||
|
||||
@@ -10,19 +10,11 @@
|
||||
examples/peripherals/adc/continuous_read:
|
||||
disable:
|
||||
- if: SOC_ADC_DMA_SUPPORTED != 1
|
||||
disable_test:
|
||||
- if: IDF_TARGET == "esp32p4"
|
||||
temporary: true
|
||||
reason: p4 rev3 migration # TODO: IDF-14357
|
||||
<<: *adc_dependencies
|
||||
|
||||
examples/peripherals/adc/oneshot_read:
|
||||
disable:
|
||||
- if: SOC_ADC_SUPPORTED != 1
|
||||
disable_test:
|
||||
- if: IDF_TARGET == "esp32p4"
|
||||
temporary: true
|
||||
reason: p4 rev3 migration # TODO: IDF-14357
|
||||
<<: *adc_dependencies
|
||||
|
||||
examples/peripherals/analog_comparator:
|
||||
|
||||
@@ -11,7 +11,6 @@ from pytest_embedded_idf.utils import idf_parametrize
|
||||
['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32c5', 'esp32p4', 'esp32c61'],
|
||||
indirect=['target'],
|
||||
)
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14357')
|
||||
def test_adc_continuous(dut: Dut) -> None:
|
||||
res = dut.expect(r'TASK: ret is 0, ret_num is (\d+) bytes')
|
||||
num = res.group(1).decode('utf8')
|
||||
|
||||
@@ -11,7 +11,6 @@ from pytest_embedded_idf.utils import idf_parametrize
|
||||
['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32c5', 'esp32p4', 'esp32c61'],
|
||||
indirect=['target'],
|
||||
)
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14357')
|
||||
def test_adc_oneshot(dut: Dut) -> None:
|
||||
dut.expect(r'EXAMPLE: ADC1 Channel\[(\d+)\] Raw Data: (\d+)', timeout=5)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user