mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
Merge branch 'fix/p4_eco5_enable_special_test_6.0' into 'release/v6.0'
fix(ci)p4 eco5 enable special test (v6.0) See merge request espressif/esp-idf!44127
This commit is contained in:
@@ -15,9 +15,6 @@ components/app_update/test_apps:
|
|||||||
- if: IDF_TARGET == "esp32c61" and CONFIG_NAME == "xip_psram_with_rom_impl"
|
- if: IDF_TARGET == "esp32c61" and CONFIG_NAME == "xip_psram_with_rom_impl"
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: not supported yet # TODO: [ESP32C61] IDF-12784
|
reason: not supported yet # TODO: [ESP32C61] IDF-12784
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14401
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: CONFIG_NAME == "recovery_bootloader" and SOC_RECOVERY_BOOTLOADER_SUPPORTED == 1 and IDF_TARGET == "esp32c61"
|
- if: CONFIG_NAME == "recovery_bootloader" and SOC_RECOVERY_BOOTLOADER_SUPPORTED == 1 and IDF_TARGET == "esp32c61"
|
||||||
temporary: true
|
temporary: true
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- |
|
||||||
|
|||||||
@@ -5,6 +5,3 @@ components/esp_common/test_apps/esp_common:
|
|||||||
- if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1
|
- if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1
|
||||||
- if: CONFIG_NAME == "psram_noinit" and SOC_SPIRAM_SUPPORTED != 1
|
- if: CONFIG_NAME == "psram_noinit" and SOC_SPIRAM_SUPPORTED != 1
|
||||||
- if: CONFIG_NAME == "xip_psram" and SOC_SPIRAM_XIP_SUPPORTED != 1
|
- if: CONFIG_NAME == "xip_psram" and SOC_SPIRAM_XIP_SUPPORTED != 1
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14404
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- | -------- |
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
components/esp_driver_cam/test_apps/csi:
|
components/esp_driver_cam/test_apps/csi:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_MIPI_CSI_SUPPORTED != 1
|
- if: SOC_MIPI_CSI_SUPPORTED != 1
|
||||||
- if: IDF_TARGET == "esp32p4" # TODO: IDF-14358
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration
|
|
||||||
depends_components:
|
depends_components:
|
||||||
- esp_driver_cam
|
- esp_driver_cam
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ def test_i2c(dut: Dut) -> None:
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.generic_multi_device
|
@pytest.mark.generic_multi_device
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14395')
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'count, config',
|
'count, config',
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ components/esp_driver_i2s/test_apps/i2s_multi_dev:
|
|||||||
- if: SOC_I2S_SUPPORTED != 1
|
- if: SOC_I2S_SUPPORTED != 1
|
||||||
- if: SOC_I2S_HW_VERSION_2 != 1
|
- if: SOC_I2S_HW_VERSION_2 != 1
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET in ["esp32c61", "esp32p4"] # TODO: [ESP32C61] IDF-11442, TODO: IDF-14396
|
- if: IDF_TARGET in ["esp32c61"] # TODO: [ESP32C61] IDF-11442
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: lack of runners
|
reason: lack of runners
|
||||||
depends_components:
|
depends_components:
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ from pytest_embedded_idf.utils import soc_filtered_targets
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.generic_multi_device
|
@pytest.mark.generic_multi_device
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14396')
|
|
||||||
@pytest.mark.parametrize('count', [2], indirect=True)
|
@pytest.mark.parametrize('count', [2], indirect=True)
|
||||||
@idf_parametrize('target', soc_filtered_targets('SOC_I2S_SUPPORTS_TDM == 1'), indirect=['target'])
|
@idf_parametrize('target', soc_filtered_targets('SOC_I2S_SUPPORTS_TDM == 1'), indirect=['target'])
|
||||||
def test_i2s_multi_dev(case_tester) -> None: # type: ignore
|
def test_i2s_multi_dev(case_tester) -> None: # type: ignore
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ def test_i3c(dut: Dut) -> None:
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.generic_multi_device
|
@pytest.mark.generic_multi_device
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14397')
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'count, config',
|
'count, config',
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ from pytest_embedded_idf.utils import idf_parametrize
|
|||||||
indirect=True,
|
indirect=True,
|
||||||
)
|
)
|
||||||
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
|
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14398')
|
|
||||||
def test_ledc(dut: IdfDut) -> None:
|
def test_ledc(dut: IdfDut) -> None:
|
||||||
dut.run_all_single_board_cases(reset=True)
|
dut.run_all_single_board_cases(reset=True)
|
||||||
|
|
||||||
@@ -36,7 +35,6 @@ def test_ledc_psram(dut: IdfDut) -> None:
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32s3'], reason='s3 multi device runner has no psram')
|
@pytest.mark.temp_skip_ci(targets=['esp32s3'], reason='s3 multi device runner has no psram')
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14398')
|
|
||||||
@pytest.mark.generic_multi_device
|
@pytest.mark.generic_multi_device
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'count, config',
|
'count, config',
|
||||||
|
|||||||
@@ -3,9 +3,5 @@
|
|||||||
components/esp_driver_parlio/test_apps/parlio:
|
components/esp_driver_parlio/test_apps/parlio:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_PARLIO_SUPPORTED != 1
|
- if: SOC_PARLIO_SUPPORTED != 1
|
||||||
disable_test:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14413
|
|
||||||
depends_components:
|
depends_components:
|
||||||
- esp_driver_parlio
|
- esp_driver_parlio
|
||||||
|
|||||||
@@ -15,6 +15,5 @@ from pytest_embedded_idf.utils import idf_parametrize
|
|||||||
indirect=True,
|
indirect=True,
|
||||||
)
|
)
|
||||||
@idf_parametrize('target', ['esp32c5', 'esp32c6', 'esp32h2', 'esp32p4'], indirect=['target'])
|
@idf_parametrize('target', ['esp32c5', 'esp32c6', 'esp32h2', 'esp32p4'], indirect=['target'])
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14413')
|
|
||||||
def test_parlio(dut: Dut) -> None:
|
def test_parlio(dut: Dut) -> None:
|
||||||
dut.run_all_single_board_cases()
|
dut.run_all_single_board_cases()
|
||||||
|
|||||||
@@ -3,9 +3,5 @@
|
|||||||
components/esp_driver_rmt/test_apps/rmt:
|
components/esp_driver_rmt/test_apps/rmt:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_RMT_SUPPORTED != 1
|
- if: SOC_RMT_SUPPORTED != 1
|
||||||
disable_test:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14414
|
|
||||||
depends_components:
|
depends_components:
|
||||||
- esp_driver_rmt
|
- esp_driver_rmt
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ from pytest_embedded_idf.utils import idf_parametrize
|
|||||||
@idf_parametrize(
|
@idf_parametrize(
|
||||||
'target', ['esp32', 'esp32s2', 'esp32c3', 'esp32c5', 'esp32c6', 'esp32h2', 'esp32p4'], indirect=['target']
|
'target', ['esp32', 'esp32s2', 'esp32c3', 'esp32c5', 'esp32c6', 'esp32h2', 'esp32p4'], indirect=['target']
|
||||||
)
|
)
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14414')
|
|
||||||
def test_rmt(dut: Dut) -> None:
|
def test_rmt(dut: Dut) -> None:
|
||||||
dut.run_all_single_board_cases()
|
dut.run_all_single_board_cases()
|
||||||
|
|
||||||
|
|||||||
@@ -2,10 +2,6 @@ components/esp_driver_sdio/test_apps/sdio/sdio_common_tests/host_sdmmc:
|
|||||||
enable:
|
enable:
|
||||||
- if: IDF_TARGET in ["esp32", "esp32p4"]
|
- if: IDF_TARGET in ["esp32", "esp32p4"]
|
||||||
reason: runners use ESP32 / ESP32P4 SDMMC as host
|
reason: runners use ESP32 / ESP32P4 SDMMC as host
|
||||||
disable:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14359
|
|
||||||
depends_components:
|
depends_components:
|
||||||
- sdmmc
|
- sdmmc
|
||||||
- esp_driver_sdmmc
|
- esp_driver_sdmmc
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 |
|
| Supported Targets | ESP32 | ESP32-P4 |
|
||||||
| ----------------- | ----- |
|
| ----------------- | ----- | -------- |
|
||||||
|
|
||||||
# SDIO Cross Chips Test Apps: SDMMC Host App
|
# SDIO Cross Chips Test Apps: SDMMC Host App
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@
|
|||||||
#include "esp_heap_caps.h"
|
#include "esp_heap_caps.h"
|
||||||
|
|
||||||
// Some resources are lazy allocated, the threadhold is left for that case
|
// Some resources are lazy allocated, the threadhold is left for that case
|
||||||
#define TEST_MEMORY_LEAK_THRESHOLD (700)
|
#define TEST_MEMORY_LEAK_THRESHOLD (800)
|
||||||
|
|
||||||
static size_t before_free_8bit;
|
static size_t before_free_8bit;
|
||||||
static size_t before_free_32bit;
|
static size_t before_free_32bit;
|
||||||
|
|||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
|
||||||
@@ -3,3 +3,4 @@ CONFIG_SDMMC_BOARD_ESP32P4_EV_BOARD=y
|
|||||||
CONFIG_SPIRAM=y
|
CONFIG_SPIRAM=y
|
||||||
CONFIG_IDF_EXPERIMENTAL_FEATURES=y
|
CONFIG_IDF_EXPERIMENTAL_FEATURES=y
|
||||||
CONFIG_SPIRAM_SPEED_200M=y
|
CONFIG_SPIRAM_SPEED_200M=y
|
||||||
|
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
components/esp_driver_sdspi/test_apps/sdspi:
|
components/esp_driver_sdspi/test_apps/sdspi:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_GPSPI_SUPPORTED != 1
|
- if: SOC_GPSPI_SUPPORTED != 1
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14363
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET not in ["esp32", "esp32s3", "esp32c3", "esp32c5", "esp32p4"]
|
- if: IDF_TARGET not in ["esp32", "esp32s3", "esp32c3", "esp32c5", "esp32p4"]
|
||||||
reason: needs special runner, select few typical targets for testing
|
reason: needs special runner, select few typical targets for testing
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- | -------- |
|
||||||
|
|||||||
@@ -9,10 +9,6 @@
|
|||||||
components/esp_driver_spi/test_apps/master:
|
components/esp_driver_spi/test_apps/master:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_GPSPI_SUPPORTED != 1
|
- if: SOC_GPSPI_SUPPORTED != 1
|
||||||
disable_test:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14399
|
|
||||||
<<: *spi_depends_default
|
<<: *spi_depends_default
|
||||||
|
|
||||||
components/esp_driver_spi/test_apps/param:
|
components/esp_driver_spi/test_apps/param:
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ from pytest_embedded_idf.utils import idf_parametrize
|
|||||||
indirect=True,
|
indirect=True,
|
||||||
)
|
)
|
||||||
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
|
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14399')
|
|
||||||
def test_master_single_dev(case_tester) -> None: # type: ignore
|
def test_master_single_dev(case_tester) -> None: # type: ignore
|
||||||
for case in case_tester.test_menu:
|
for case in case_tester.test_menu:
|
||||||
if 'test_env' in case.attributes:
|
if 'test_env' in case.attributes:
|
||||||
@@ -40,7 +39,6 @@ def test_master_esp_flash(case_tester) -> None: # type: ignore
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.generic_multi_device
|
@pytest.mark.generic_multi_device
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14399')
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'count, config',
|
'count, config',
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -13,6 +13,5 @@ def test_param_single_dev(case_tester) -> None: # type: ignore
|
|||||||
@pytest.mark.generic_multi_device
|
@pytest.mark.generic_multi_device
|
||||||
@pytest.mark.parametrize('count', [2], indirect=True)
|
@pytest.mark.parametrize('count', [2], indirect=True)
|
||||||
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
|
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14399')
|
|
||||||
def test_param_multi_dev(case_tester) -> None: # type: ignore
|
def test_param_multi_dev(case_tester) -> None: # type: ignore
|
||||||
case_tester.run_all_multi_dev_cases(reset=True)
|
case_tester.run_all_multi_dev_cases(reset=True)
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ def test_slave_single_dev(case_tester) -> None: # type: ignore
|
|||||||
|
|
||||||
@pytest.mark.generic_multi_device
|
@pytest.mark.generic_multi_device
|
||||||
@pytest.mark.parametrize('count, config', [(2, 'release'), (2, 'iram_safe')], indirect=True)
|
@pytest.mark.parametrize('count, config', [(2, 'release'), (2, 'iram_safe')], indirect=True)
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14399')
|
|
||||||
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
|
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
|
||||||
def test_slave_multi_dev(case_tester) -> None: # type: ignore
|
def test_slave_multi_dev(case_tester) -> None: # type: ignore
|
||||||
case_tester.run_all_multi_dev_cases(reset=True)
|
case_tester.run_all_multi_dev_cases(reset=True)
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ def test_slave_hd_single_dev(case_tester) -> None: # type: ignore
|
|||||||
|
|
||||||
@pytest.mark.generic_multi_device
|
@pytest.mark.generic_multi_device
|
||||||
@pytest.mark.parametrize('count, config', [(2, 'release')], indirect=True)
|
@pytest.mark.parametrize('count, config', [(2, 'release')], indirect=True)
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14399')
|
|
||||||
@idf_parametrize('target', soc_filtered_targets('SOC_SPI_SUPPORT_SLAVE_HD_VER2 == 1'), indirect=['target'])
|
@idf_parametrize('target', soc_filtered_targets('SOC_SPI_SUPPORT_SLAVE_HD_VER2 == 1'), indirect=['target'])
|
||||||
def test_slave_hd_multi_dev(case_tester) -> None: # type: ignore
|
def test_slave_hd_multi_dev(case_tester) -> None: # type: ignore
|
||||||
case_tester.run_all_multi_dev_cases(reset=True)
|
case_tester.run_all_multi_dev_cases(reset=True)
|
||||||
|
|||||||
@@ -13,10 +13,6 @@ components/esp_hw_support/test_apps/dma:
|
|||||||
components/esp_hw_support/test_apps/dma2d:
|
components/esp_hw_support/test_apps/dma2d:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_DMA2D_SUPPORTED != 1
|
- if: SOC_DMA2D_SUPPORTED != 1
|
||||||
disable_test:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14471
|
|
||||||
depends_filepatterns:
|
depends_filepatterns:
|
||||||
- components/esp_hw_support/dma/**/*
|
- components/esp_hw_support/dma/**/*
|
||||||
depends_components:
|
depends_components:
|
||||||
@@ -29,9 +25,6 @@ components/esp_hw_support/test_apps/host_test_linux:
|
|||||||
components/esp_hw_support/test_apps/mspi:
|
components/esp_hw_support/test_apps/mspi:
|
||||||
disable:
|
disable:
|
||||||
- if: IDF_TARGET not in ["esp32s3", "esp32p4"]
|
- if: IDF_TARGET not in ["esp32s3", "esp32p4"]
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14366
|
|
||||||
|
|
||||||
components/esp_hw_support/test_apps/mspi_psram_with_dfs:
|
components/esp_hw_support/test_apps/mspi_psram_with_dfs:
|
||||||
disable:
|
disable:
|
||||||
@@ -44,10 +37,6 @@ components/esp_hw_support/test_apps/rtc_8md256:
|
|||||||
components/esp_hw_support/test_apps/rtc_clk:
|
components/esp_hw_support/test_apps/rtc_clk:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_CLK_TREE_SUPPORTED != 1
|
- if: SOC_CLK_TREE_SUPPORTED != 1
|
||||||
disable_test:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14441
|
|
||||||
|
|
||||||
components/esp_hw_support/test_apps/rtc_power_modes:
|
components/esp_hw_support/test_apps/rtc_power_modes:
|
||||||
enable:
|
enable:
|
||||||
@@ -76,9 +65,6 @@ components/esp_hw_support/test_apps/usb_phy:
|
|||||||
components/esp_hw_support/test_apps/vad_wakeup:
|
components/esp_hw_support/test_apps/vad_wakeup:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_LP_VAD_SUPPORTED != 1
|
- if: SOC_LP_VAD_SUPPORTED != 1
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14368
|
|
||||||
|
|
||||||
components/esp_hw_support/test_apps/wakeup_tests:
|
components/esp_hw_support/test_apps/wakeup_tests:
|
||||||
enable:
|
enable:
|
||||||
|
|||||||
@@ -15,6 +15,5 @@ from pytest_embedded_idf.utils import soc_filtered_targets
|
|||||||
indirect=True,
|
indirect=True,
|
||||||
)
|
)
|
||||||
@idf_parametrize('target', soc_filtered_targets('SOC_DMA2D_SUPPORTED == 1'), indirect=['target'])
|
@idf_parametrize('target', soc_filtered_targets('SOC_DMA2D_SUPPORTED == 1'), indirect=['target'])
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14471')
|
|
||||||
def test_dma2d(dut: Dut) -> None:
|
def test_dma2d(dut: Dut) -> None:
|
||||||
dut.run_all_single_board_cases()
|
dut.run_all_single_board_cases()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-S3 |
|
| Supported Targets | ESP32-P4 | ESP32-S3 |
|
||||||
| ----------------- | -------- |
|
| ----------------- | -------- | -------- |
|
||||||
|
|
||||||
This project tests if Flash and PSRAM can work under different configurations.
|
This project tests if Flash and PSRAM can work under different configurations.
|
||||||
To add new configuration, create one more sdkconfig.ci.NAME file in this directory.
|
To add new configuration, create one more sdkconfig.ci.NAME file in this directory.
|
||||||
|
|||||||
@@ -261,6 +261,7 @@ static void start_freq(soc_rtc_slow_clk_src_t required_src, uint32_t start_delay
|
|||||||
printf("PASS");
|
printf("PASS");
|
||||||
}
|
}
|
||||||
printf(" [calibration val = %"PRIu32"] \n", esp_clk_slowclk_cal_get());
|
printf(" [calibration val = %"PRIu32"] \n", esp_clk_slowclk_cal_get());
|
||||||
|
rtc_clk_slow_src_set(SOC_RTC_SLOW_CLK_SRC_DEFAULT);
|
||||||
stop_rtc_external_quartz();
|
stop_rtc_external_quartz();
|
||||||
esp_rom_delay_us(500000);
|
esp_rom_delay_us(500000);
|
||||||
}
|
}
|
||||||
@@ -302,6 +303,7 @@ TEST_CASE("Test starting external RTC quartz", "[rtc_clk][test_env=xtal32k]")
|
|||||||
} else {
|
} else {
|
||||||
printf("PASS\n");
|
printf("PASS\n");
|
||||||
}
|
}
|
||||||
|
rtc_clk_slow_src_set(SOC_RTC_SLOW_CLK_SRC_DEFAULT);
|
||||||
stop_rtc_external_quartz();
|
stop_rtc_external_quartz();
|
||||||
esp_rom_delay_us(100000);
|
esp_rom_delay_us(100000);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ from pytest_embedded_idf.utils import soc_filtered_targets
|
|||||||
|
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@idf_parametrize('target', soc_filtered_targets('SOC_CLK_TREE_SUPPORTED == 1'), indirect=['target'])
|
@idf_parametrize('target', soc_filtered_targets('SOC_CLK_TREE_SUPPORTED == 1'), indirect=['target'])
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14441')
|
|
||||||
def test_rtc_clk(case_tester: CaseTester) -> None:
|
def test_rtc_clk(case_tester: CaseTester) -> None:
|
||||||
for case in case_tester.test_menu:
|
for case in case_tester.test_menu:
|
||||||
if 'test_env' in case.attributes:
|
if 'test_env' in case.attributes:
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ from pytest_embedded_idf.utils import idf_parametrize
|
|||||||
from pytest_embedded_idf.utils import soc_filtered_targets
|
from pytest_embedded_idf.utils import soc_filtered_targets
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='lack of runners for now')
|
|
||||||
@pytest.mark.lp_i2s
|
@pytest.mark.lp_i2s
|
||||||
@idf_parametrize('target', soc_filtered_targets('SOC_LP_VAD_SUPPORTED == 1'), indirect=['target'])
|
@idf_parametrize('target', soc_filtered_targets('SOC_LP_VAD_SUPPORTED == 1'), indirect=['target'])
|
||||||
def test_efuse_component_ut(dut: Dut) -> None:
|
def test_efuse_component_ut(dut: Dut) -> None:
|
||||||
|
|||||||
@@ -4,5 +4,3 @@ CONFIG_ULP_COPROC_ENABLED=y
|
|||||||
CONFIG_ULP_COPROC_TYPE_LP_CORE=y
|
CONFIG_ULP_COPROC_TYPE_LP_CORE=y
|
||||||
CONFIG_ULP_COPROC_RESERVE_MEM=12000
|
CONFIG_ULP_COPROC_RESERVE_MEM=12000
|
||||||
CONFIG_ULP_PANIC_OUTPUT_ENABLE=y
|
CONFIG_ULP_PANIC_OUTPUT_ENABLE=y
|
||||||
|
|
||||||
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
|
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
|
|
||||||
|
|
||||||
components/esp_mm/test_apps/mm:
|
|
||||||
disable_test:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14470
|
|
||||||
@@ -71,7 +71,6 @@ def test_cache(dut: Dut) -> None:
|
|||||||
],
|
],
|
||||||
indirect=['config', 'target'],
|
indirect=['config', 'target'],
|
||||||
)
|
)
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='h4 rev3 migration # TODO: IDF-14470')
|
|
||||||
def test_cache_psram(dut: Dut) -> None:
|
def test_cache_psram(dut: Dut) -> None:
|
||||||
dut.run_all_single_board_cases(group='cache')
|
dut.run_all_single_board_cases(group='cache')
|
||||||
|
|
||||||
|
|||||||
@@ -14,10 +14,6 @@ examples/storage/emmc:
|
|||||||
enable:
|
enable:
|
||||||
- if: IDF_TARGET in ["esp32s3", "esp32p4"]
|
- if: IDF_TARGET in ["esp32s3", "esp32p4"]
|
||||||
reason: only support on esp32s3 and esp32p4
|
reason: only support on esp32s3 and esp32p4
|
||||||
disable:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14356
|
|
||||||
|
|
||||||
examples/storage/partition_api/partition_find:
|
examples/storage/partition_api/partition_find:
|
||||||
depends_components:
|
depends_components:
|
||||||
@@ -75,7 +71,7 @@ examples/storage/sd_card/sdmmc:
|
|||||||
disable:
|
disable:
|
||||||
- if: SOC_SDMMC_HOST_SUPPORTED != 1
|
- if: SOC_SDMMC_HOST_SUPPORTED != 1
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET not in ["esp32"]
|
- if: IDF_TARGET not in ["esp32", "esp32p4"]
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: lack of runners
|
reason: lack of runners
|
||||||
|
|
||||||
@@ -86,9 +82,6 @@ examples/storage/sd_card/sdspi:
|
|||||||
- esp_driver_sdspi
|
- esp_driver_sdspi
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_GPSPI_SUPPORTED != 1
|
- if: SOC_GPSPI_SUPPORTED != 1
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14363
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET not in ["esp32", "esp32s3", "esp32c3", "esp32c5", "esp32p4"]
|
- if: IDF_TARGET not in ["esp32", "esp32s3", "esp32c3", "esp32c5", "esp32p4"]
|
||||||
reason: needs special runner, select few typical targets for testing
|
reason: needs special runner, select few typical targets for testing
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-S3 |
|
| Supported Targets | ESP32-P4 | ESP32-S3 |
|
||||||
| ----------------- | -------- |
|
| ----------------- | -------- | -------- |
|
||||||
|
|
||||||
# eMMC chip example (with SDMMC Host)
|
# eMMC chip example (with SDMMC Host)
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ from pytest_embedded_idf.utils import idf_parametrize
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.sdcard_sdmode
|
@pytest.mark.sdcard_sdmode
|
||||||
@idf_parametrize('target', ['esp32'], indirect=['target'])
|
@idf_parametrize('target', ['esp32', 'esp32p4'], indirect=['target'])
|
||||||
def test_examples_sd_card_sdmmc(dut: Dut) -> None:
|
def test_examples_sd_card_sdmmc(dut: Dut) -> None:
|
||||||
dut.expect('example: Initializing SD card', timeout=20)
|
dut.expect('example: Initializing SD card', timeout=20)
|
||||||
dut.expect('example: Using SDMMC peripheral', timeout=10)
|
dut.expect('example: Using SDMMC peripheral', timeout=10)
|
||||||
@@ -23,14 +23,14 @@ def test_examples_sd_card_sdmmc(dut: Dut) -> None:
|
|||||||
speed = dut.expect(re.compile(rb'Speed: (\S+)'), timeout=10).group(1).decode()
|
speed = dut.expect(re.compile(rb'Speed: (\S+)'), timeout=10).group(1).decode()
|
||||||
size = dut.expect(re.compile(rb'Size: (\S+)'), timeout=10).group(1).decode()
|
size = dut.expect(re.compile(rb'Size: (\S+)'), timeout=10).group(1).decode()
|
||||||
|
|
||||||
logging.info('Card {} {} {}MHz {} found'.format(name, _type, speed, size))
|
logging.info(f'Card {name} {_type} {speed}MHz {size} found')
|
||||||
|
|
||||||
message_list1 = (
|
message_list1 = (
|
||||||
'Opening file /sdcard/hello.txt',
|
'Opening file /sdcard/hello.txt',
|
||||||
'File written',
|
'File written',
|
||||||
'Renaming file /sdcard/hello.txt to /sdcard/foo.txt',
|
'Renaming file /sdcard/hello.txt to /sdcard/foo.txt',
|
||||||
'Reading file /sdcard/foo.txt',
|
'Reading file /sdcard/foo.txt',
|
||||||
"Read from file: 'Hello {}!'".format(name),
|
f"Read from file: 'Hello {name}!'",
|
||||||
)
|
)
|
||||||
sd_card_format = re.compile(str.encode('Formatting card, allocation unit size=\\S+'))
|
sd_card_format = re.compile(str.encode('Formatting card, allocation unit size=\\S+'))
|
||||||
message_list2 = (
|
message_list2 = (
|
||||||
@@ -38,7 +38,7 @@ def test_examples_sd_card_sdmmc(dut: Dut) -> None:
|
|||||||
'Opening file /sdcard/nihao.txt',
|
'Opening file /sdcard/nihao.txt',
|
||||||
'File written',
|
'File written',
|
||||||
'Reading file /sdcard/nihao.txt',
|
'Reading file /sdcard/nihao.txt',
|
||||||
"Read from file: 'Nihao {}!'".format(name),
|
f"Read from file: 'Nihao {name}!'",
|
||||||
'Card unmounted',
|
'Card unmounted',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# SD Card example (SDSPI)
|
# SD Card example (SDSPI)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,6 @@
|
|||||||
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
|
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
|
||||||
|
|
||||||
examples/system/app_trace_basic:
|
examples/system/app_trace_basic:
|
||||||
disable:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14364
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET == "esp32h21"
|
- if: IDF_TARGET == "esp32h21"
|
||||||
temporary: true
|
temporary: true
|
||||||
@@ -266,9 +262,6 @@ examples/system/select:
|
|||||||
examples/system/sysview_tracing:
|
examples/system/sysview_tracing:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_GPTIMER_SUPPORTED != 1
|
- if: SOC_GPTIMER_SUPPORTED != 1
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14364
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET == "esp32h21"
|
- if: IDF_TARGET == "esp32h21"
|
||||||
temporary: true
|
temporary: true
|
||||||
@@ -280,9 +273,6 @@ examples/system/sysview_tracing:
|
|||||||
examples/system/sysview_tracing_heap_log:
|
examples/system/sysview_tracing_heap_log:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_GPTIMER_SUPPORTED != 1
|
- if: SOC_GPTIMER_SUPPORTED != 1
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: p4 rev3 migration # TODO: IDF-14364
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET == "esp32h21"
|
- if: IDF_TARGET == "esp32h21"
|
||||||
temporary: true
|
temporary: true
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Application Level Tracing Example (Basic)
|
# Application Level Tracing Example (Basic)
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- | -------- |
|
||||||
# Example: Application Level Tracing - SystemView Tracing (sysview_tracing)
|
# Example: Application Level Tracing - SystemView Tracing (sysview_tracing)
|
||||||
|
|
||||||
This test code shows how to perform system-wide behavioral analysis of the program using [SEGGER SystemView tool](https://www.segger.com/products/development-tools/systemview/).
|
This test code shows how to perform system-wide behavioral analysis of the program using [SEGGER SystemView tool](https://www.segger.com/products/development-tools/systemview/).
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# SystemView Heap and Log Tracing Example
|
# SystemView Heap and Log Tracing Example
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user