From 96dba4ed7e530456d83a16ed9232105391d6399a Mon Sep 17 00:00:00 2001 From: "igor.udot" Date: Wed, 14 Jan 2026 11:08:39 +0800 Subject: [PATCH 1/3] ci: use common_components in depends_components --- .idf_build_apps.toml | 4 +++- .../contribute/esp-idf-tests-with-pytest.rst | 24 +++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/.idf_build_apps.toml b/.idf_build_apps.toml index 87cf3bdbe4..9cbe47d807 100644 --- a/.idf_build_apps.toml +++ b/.idf_build_apps.toml @@ -43,7 +43,9 @@ manifest_filepatterns = [ ] # dependency-driven build -deactivate_dependency_driven_build_by_components = [ +deactivate_dependency_driven_build_by_components = [] + +common_components = [ 'cxx', 'esp_common', 'esp_hw_support', diff --git a/docs/en/contribute/esp-idf-tests-with-pytest.rst b/docs/en/contribute/esp-idf-tests-with-pytest.rst index 8c298817bf..7d04b61e51 100644 --- a/docs/en/contribute/esp-idf-tests-with-pytest.rst +++ b/docs/en/contribute/esp-idf-tests-with-pytest.rst @@ -435,6 +435,30 @@ For ``build_test_related_apps``, all the built binaries will be uploaded to our For ``build_non_test_related_apps``, all the built binaries will be removed after the build job is finished. Only the build log files will be uploaded to our internal MinIO server. You may also find the download link in the build report posted in the internal MR. +Dependency-driven builds +^^^^^^^^^^^^^^^^^^^^^^^^ + +To optimize CI build time, we use the dependency-driven build feature from idf-build-apps. It helps us build only the apps that are affected by the changed components. + +Dependency-driven build rules are defined in per-folder manifest files (``.build-test-rules.yml``), where each app may define ``depends_components``. + +.. code-block:: yaml + + examples/foo/bar: + depends_components: + - esp_eth + - esp_netif + + +We also have a set of common components (defined as ``common_components`` in :idf_file:`.idf_build_apps.toml`). ``common_components`` is a list of baseline (core) components that are used by many apps. In general, if one of these components changes, you usually want to rebuild and retest the apps that depend on it. + +The app maintainer should decide which components are important for their app. If the app should depend on a ``common_components``, add it to ``depends_components``. If not, specify only the important components. + +If ``depends_components`` is not specified, we use the calculated components (``project_description.json``) and check whether the app is affected by the changed components. + +Deprecated (prefer using ``depends_components`` / ``common_components`` instead): +``deactivate_dependency_driven_build_by_components`` disables the dependency-driven checks if certain components change. + Target Test Jobs ---------------- From 70775b1f5f16b89fab58baeff6bca2639285b10d Mon Sep 17 00:00:00 2001 From: "igor.udot" Date: Mon, 19 Jan 2026 17:58:26 +0800 Subject: [PATCH 2/3] ci(sort_yaml): add mock common components --- tools/ci/sort_yaml.py | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/tools/ci/sort_yaml.py b/tools/ci/sort_yaml.py index e8eb720c7a..41a077bc14 100755 --- a/tools/ci/sort_yaml.py +++ b/tools/ci/sort_yaml.py @@ -1,19 +1,33 @@ #!/usr/bin/env python3 -# SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD +# SPDX-FileCopyrightText: 2024-2026 Espressif Systems (Shanghai) CO LTD # SPDX-License-Identifier: Apache-2.0 """ Sort yaml file Exit non-zero if any file is modified """ + import io import os import sys import tempfile import unittest -from ruamel.yaml import CommentedMap from ruamel.yaml import YAML +from ruamel.yaml import CommentedMap + +COMMON_COMPONENTS_ANCHOR: str = '- *common_components' +TEMP_ANCHOR: str = '- __temp_common_components__' + + +def replace_common_components(text: str) -> str: + """Temporarily replace the common_components anchor so YAML can be processed.""" + return text.replace(COMMON_COMPONENTS_ANCHOR, TEMP_ANCHOR) + + +def revert_common_components(text: str) -> str: + """Restore the original common_components anchor after processing.""" + return text.replace(TEMP_ANCHOR, COMMON_COMPONENTS_ANCHOR) def sort_yaml(f: str) -> int: @@ -23,11 +37,10 @@ def sort_yaml(f: str) -> int: exit_code = 0 with open(f) as fr: - file_s = fr.read() - fr.seek(0) + file_s = replace_common_components(fr.read()) try: - file_d: CommentedMap = yaml.load(fr) + file_d: CommentedMap = yaml.load(io.StringIO(file_s)) except Exception as e: print(f'Failed to load yaml file {f}: {e}') return 1 @@ -47,7 +60,7 @@ def sort_yaml(f: str) -> int: string = s.getvalue() if string != file_s: with open(f, 'w') as fw: - fw.write(string) + fw.write(revert_common_components(string)) print(f'Sorted yaml file {f}. Please take a look. sometimes the format is a bit messy') exit_code = 1 @@ -59,11 +72,11 @@ class TestSortYaml(unittest.TestCase): _, test_yaml = tempfile.mkstemp() with open(test_yaml, 'w') as fw: fw.write( - '''no_runner: [] + """no_runner: [] no_env_marker: - 1 - 3 # foo - - 2 # bar''' + - 2 # bar""" ) sort_yaml(fw.name) @@ -72,11 +85,11 @@ no_env_marker: with open(test_yaml) as fr: self.assertEqual( fr.read(), - '''no_env_marker: + """no_env_marker: - 1 - 2 # bard - 3 # foo - no_runner: []''', + no_runner: []""", ) except AssertionError: print(f'Please check the sorted yaml file {test_yaml}') From 4c26ab876b1b7bf6c72a0fa8bba8c92e0282cd56 Mon Sep 17 00:00:00 2001 From: "igor.udot" Date: Fri, 23 Jan 2026 10:14:09 +0800 Subject: [PATCH 3/3] ci: update build-test-rules to use common_components --- .../app_trace/test_apps/.build-test-rules.yml | 1 + .../test_app_update/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 2 + components/bt/test_apps/.build-test-rules.yml | 2 + .../console/test_apps/.build-test-rules.yml | 1 + .../cxx/test_apps/.build-test-rules.yml | 1 + .../driver/test_apps/.build-test-rules.yml | 2 + .../efuse/test_apps/.build-test-rules.yml | 1 + .../esp_adc/test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 3 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 2 + .../test_apps/.build-test-rules.yml | 2 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 3 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 2 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 4 ++ .../test_apps/.build-test-rules.yml | 2 + .../esp_eth/test_apps/.build-test-rules.yml | 1 + .../esp_event/host_test/.build-test-rules.yml | 1 + .../esp_event/test_apps/.build-test-rules.yml | 1 + .../esp_hal_security/.build-test-rules.yml | 1 + .../esp_hid/test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../esp_lcd/test_apps/.build-test-rules.yml | 6 ++ .../esp_libc/test_apps/.build-test-rules.yml | 2 + .../esp_netif/test_apps/.build-test-rules.yml | 2 + .../host_test/.build-test-rules.yml | 2 + .../esp_phy/test_apps/.build-test-rules.yml | 1 + .../esp_pm/test_apps/.build-test-rules.yml | 1 + .../esp_psram/test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../esp_rom/test_apps/.build-test-rules.yml | 3 + .../test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../esp_timer/test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + .../fatfs/test_apps/.build-test-rules.yml | 4 ++ .../freertos/test_apps/.build-test-rules.yml | 3 + .../heap/test_apps/.build-test-rules.yml | 2 + .../log/host_test/.build-test-rules.yml | 1 + .../log/test_apps/.build-test-rules.yml | 1 + .../mbedtls/test_apps/.build-test-rules.yml | 1 + components/nvs_flash/.build-test-rules.yml | 3 + .../pthread/test_apps/.build-test-rules.yml | 2 + .../posix_rt_test/.build-test-rules.yml | 1 + .../sdmmc/test_apps/.build-test-rules.yml | 1 + .../spi_flash/test_apps/.build-test-rules.yml | 8 +++ .../spiffs/host_test/.build-test-rules.yml | 1 + .../spiffs/test_apps/.build-test-rules.yml | 1 + .../ulp/test_apps/.build-test-rules.yml | 4 ++ .../unity/test_apps/.build-test-rules.yml | 1 + .../vfs/test_apps/.build-test-rules.yml | 1 + .../test_apps/.build-test-rules.yml | 1 + examples/bluetooth/.build-test-rules.yml | 1 + .../custom_bootloader/.build-test-rules.yml | 4 ++ examples/cxx/.build-test-rules.yml | 3 + examples/ethernet/.build-test-rules.yml | 3 + examples/get-started/.build-test-rules.yml | 1 + examples/ieee802154/.build-test-rules.yml | 1 + examples/network/.build-test-rules.yml | 5 ++ examples/openthread/.build-test-rules.yml | 2 + examples/peripherals/.build-test-rules.yml | 71 +++++++++++++++++++ examples/protocols/.build-test-rules.yml | 1 + examples/security/.build-test-rules.yml | 8 +++ examples/storage/.build-test-rules.yml | 13 ++++ examples/storage/fatfs/.build-test-rules.yml | 2 + examples/storage/nvs/.build-test-rules.yml | 8 +++ examples/system/.build-test-rules.yml | 19 +++++ examples/system/console/.build-test-rules.yml | 2 + .../system/freertos/.build-test-rules.yml | 2 + .../heap_task_tracking/.build-test-rules.yml | 2 + examples/system/ulp/.build-test-rules.yml | 27 +++++++ examples/wifi/.build-test-rules.yml | 6 ++ examples/zigbee/.build-test-rules.yml | 1 + .../linux_compatible/.build-test-rules.yml | 1 + tools/test_apps/phy/.build-test-rules.yml | 1 + .../test_apps/protocols/.build-test-rules.yml | 2 + tools/test_apps/storage/.build-test-rules.yml | 4 ++ tools/test_apps/system/.build-test-rules.yml | 3 + 100 files changed, 310 insertions(+) diff --git a/components/app_trace/test_apps/.build-test-rules.yml b/components/app_trace/test_apps/.build-test-rules.yml index 1a0f19003d..d0516a1bd3 100644 --- a/components/app_trace/test_apps/.build-test-rules.yml +++ b/components/app_trace/test_apps/.build-test-rules.yml @@ -2,6 +2,7 @@ components/app_trace/test_apps: depends_components: + - *common_components - esp_trace - esp_driver_gptimer disable: diff --git a/components/app_update/test_apps/test_app_update/.build-test-rules.yml b/components/app_update/test_apps/test_app_update/.build-test-rules.yml index 2af9bb183d..9e2f6325ad 100644 --- a/components/app_update/test_apps/test_app_update/.build-test-rules.yml +++ b/components/app_update/test_apps/test_app_update/.build-test-rules.yml @@ -20,6 +20,7 @@ components/app_update/test_apps: temporary: true reason: lack of runners # TODO: [ESP32C61] IDF-13165 depends_components: + - *common_components - app_update - bootloader_support - esp_partitions diff --git a/components/bootloader_support/test_apps/.build-test-rules.yml b/components/bootloader_support/test_apps/.build-test-rules.yml index b8829a36e5..b18f7a8de4 100644 --- a/components/bootloader_support/test_apps/.build-test-rules.yml +++ b/components/bootloader_support/test_apps/.build-test-rules.yml @@ -5,6 +5,7 @@ components/bootloader_support/test_apps/bootloader_support: - if: IDF_TARGET not in ["esp32", "esp32s3", "esp32c3"] reason: Testing on two diff architectures is sufficient depends_components: + - *common_components - bootloader_support components/bootloader_support/test_apps/rtc_custom_section: @@ -12,4 +13,5 @@ components/bootloader_support/test_apps/rtc_custom_section: - if: SOC_RTC_MEM_SUPPORTED == 1 reason: this feature is supported on chips that have RTC memory depends_components: + - *common_components - bootloader_support diff --git a/components/bt/test_apps/.build-test-rules.yml b/components/bt/test_apps/.build-test-rules.yml index 9b43473633..4192f8b0e7 100644 --- a/components/bt/test_apps/.build-test-rules.yml +++ b/components/bt/test_apps/.build-test-rules.yml @@ -5,6 +5,7 @@ components/bt/test_apps/basic_unit_test: - if: IDF_TARGET not in ["esp32", "esp32c3"] reason: Sufficient to run the tests on one chip of each architecture depends_components: + - *common_components - bt components/bt/test_apps/memory_release: @@ -14,4 +15,5 @@ components/bt/test_apps/memory_release: - if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1 reason: Sufficient to run the tests on one chip of each architecture depends_components: + - *common_components - bt diff --git a/components/console/test_apps/.build-test-rules.yml b/components/console/test_apps/.build-test-rules.yml index c538e873cf..94c0dd403e 100644 --- a/components/console/test_apps/.build-test-rules.yml +++ b/components/console/test_apps/.build-test-rules.yml @@ -5,6 +5,7 @@ components/console/test_apps/console: - if: IDF_TARGET in["esp32", "esp32c3", "linux"] reason: Testing all major architectures depends_components: + - *common_components - console - esp_driver_uart - esp_driver_usb_serial_jtag diff --git a/components/cxx/test_apps/.build-test-rules.yml b/components/cxx/test_apps/.build-test-rules.yml index b06f9d253e..43297cb193 100644 --- a/components/cxx/test_apps/.build-test-rules.yml +++ b/components/cxx/test_apps/.build-test-rules.yml @@ -6,6 +6,7 @@ components/cxx/test_apps: temporary: true reason: the other targets are not tested yet depends_components: + - *common_components - cxx - pthread - freertos diff --git a/components/driver/test_apps/.build-test-rules.yml b/components/driver/test_apps/.build-test-rules.yml index 8d374aa1c1..01489dba85 100644 --- a/components/driver/test_apps/.build-test-rules.yml +++ b/components/driver/test_apps/.build-test-rules.yml @@ -18,6 +18,7 @@ components/driver/test_apps/legacy_twai: depends_filepatterns: - components/driver/twai/**/* depends_components: + - *common_components - esp_driver_gpio components/driver/test_apps/touch_element: @@ -32,6 +33,7 @@ components/driver/test_apps/touch_element: - components/soc/esp32s2/**/sens_struct.h - components/soc/esp32s3/**/sens_struct.h depends_components: + - *common_components - esp_hal_touch_sens components/driver/test_apps/touch_sensor_v1: diff --git a/components/efuse/test_apps/.build-test-rules.yml b/components/efuse/test_apps/.build-test-rules.yml index 1ad2875809..93c0537897 100644 --- a/components/efuse/test_apps/.build-test-rules.yml +++ b/components/efuse/test_apps/.build-test-rules.yml @@ -11,4 +11,5 @@ components/efuse/test_apps: - if: IDF_TARGET in ["esp32s2", "esp32s3"] reason: eFuse for S2 and S3 is similar to the C3 chip, so we only test for C3. depends_components: + - *common_components - efuse diff --git a/components/esp_adc/test_apps/.build-test-rules.yml b/components/esp_adc/test_apps/.build-test-rules.yml index aa97546c7d..90e86182f8 100644 --- a/components/esp_adc/test_apps/.build-test-rules.yml +++ b/components/esp_adc/test_apps/.build-test-rules.yml @@ -5,6 +5,7 @@ components/esp_adc/test_apps/adc: - if: SOC_ADC_SUPPORTED != 1 - if: CONFIG_NAME == "gdma_iram_safe" and IDF_TARGET in ["esp32", "esp32s2", "esp32c2"] depends_components: + - *common_components - esp_adc - esp_driver_gpio - esp_driver_i2s # ADC continuous driver relies on I2S on ESP32 diff --git a/components/esp_common/test_apps/.build-test-rules.yml b/components/esp_common/test_apps/.build-test-rules.yml index 11ecc24852..0ce345d539 100644 --- a/components/esp_common/test_apps/.build-test-rules.yml +++ b/components/esp_common/test_apps/.build-test-rules.yml @@ -6,5 +6,6 @@ components/esp_common/test_apps/esp_common: - if: CONFIG_NAME == "psram_noinit" and SOC_SPIRAM_SUPPORTED != 1 - if: CONFIG_NAME == "xip_psram" and SOC_SPIRAM_XIP_SUPPORTED != 1 depends_components: + - *common_components - esp_common - esp_system # Defines the section placement for attributes diff --git a/components/esp_driver_ana_cmpr/test_apps/.build-test-rules.yml b/components/esp_driver_ana_cmpr/test_apps/.build-test-rules.yml index 39fb87a34c..fc8526a66f 100644 --- a/components/esp_driver_ana_cmpr/test_apps/.build-test-rules.yml +++ b/components/esp_driver_ana_cmpr/test_apps/.build-test-rules.yml @@ -4,5 +4,6 @@ components/esp_driver_ana_cmpr/test_apps/analog_comparator: disable: - if: SOC_ANA_CMPR_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_gpio - esp_driver_ana_cmpr diff --git a/components/esp_driver_bitscrambler/test_apps/.build-test-rules.yml b/components/esp_driver_bitscrambler/test_apps/.build-test-rules.yml index f204d48c98..112380eee0 100644 --- a/components/esp_driver_bitscrambler/test_apps/.build-test-rules.yml +++ b/components/esp_driver_bitscrambler/test_apps/.build-test-rules.yml @@ -2,5 +2,6 @@ components/esp_driver_bitscrambler/test_apps/bitscrambler: disable: - if: SOC_BITSCRAMBLER_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_bitscrambler - esp_hal_dma diff --git a/components/esp_driver_cam/test_apps/.build-test-rules.yml b/components/esp_driver_cam/test_apps/.build-test-rules.yml index 0d419e7609..279303fe99 100644 --- a/components/esp_driver_cam/test_apps/.build-test-rules.yml +++ b/components/esp_driver_cam/test_apps/.build-test-rules.yml @@ -2,16 +2,19 @@ components/esp_driver_cam/test_apps/csi: disable: - if: SOC_MIPI_CSI_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_cam components/esp_driver_cam/test_apps/dvp: disable: - if: SOC_LCDCAM_CAM_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_cam components/esp_driver_cam/test_apps/isp_dvp: disable: - if: SOC_ISP_DVP_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_cam diff --git a/components/esp_driver_dac/test_apps/.build-test-rules.yml b/components/esp_driver_dac/test_apps/.build-test-rules.yml index 33c41155f1..4907458fa7 100644 --- a/components/esp_driver_dac/test_apps/.build-test-rules.yml +++ b/components/esp_driver_dac/test_apps/.build-test-rules.yml @@ -4,6 +4,7 @@ components/esp_driver_dac/test_apps/dac: disable: - if: SOC_DAC_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_i2s - esp_driver_spi - esp_adc diff --git a/components/esp_driver_dma/test_apps/.build-test-rules.yml b/components/esp_driver_dma/test_apps/.build-test-rules.yml index e0fd96d7e3..86b535fb6c 100644 --- a/components/esp_driver_dma/test_apps/.build-test-rules.yml +++ b/components/esp_driver_dma/test_apps/.build-test-rules.yml @@ -5,6 +5,7 @@ components/esp_driver_dma/test_apps/dma: - if: SOC_GDMA_SUPPORTED != 1 and SOC_CP_DMA_SUPPORTED != 1 - if: CONFIG_NAME == "ext_mem_encryption" and SOC_FLASH_ENC_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_dma - esp_hal_dma @@ -12,5 +13,6 @@ components/esp_driver_dma/test_apps/dma2d: disable: - if: SOC_DMA2D_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_dma - esp_hal_dma diff --git a/components/esp_driver_gpio/test_apps/.build-test-rules.yml b/components/esp_driver_gpio/test_apps/.build-test-rules.yml index 0b7bec787a..c52ec5a6e4 100644 --- a/components/esp_driver_gpio/test_apps/.build-test-rules.yml +++ b/components/esp_driver_gpio/test_apps/.build-test-rules.yml @@ -2,6 +2,7 @@ components/esp_driver_gpio/test_apps: depends_components: + - *common_components - esp_driver_gpio - esp_hal_gpio @@ -10,5 +11,6 @@ components/esp_driver_gpio/test_apps/gpio_extensions: - if: SOC_DEDICATED_GPIO_SUPPORTED == 1 - if: SOC_GPIO_SUPPORT_PIN_GLITCH_FILTER == 1 or SOC_GPIO_FLEX_GLITCH_FILTER_NUM > 0 depends_components: + - *common_components - esp_driver_gpio - esp_hal_gpio diff --git a/components/esp_driver_gptimer/test_apps/.build-test-rules.yml b/components/esp_driver_gptimer/test_apps/.build-test-rules.yml index 574443fadd..0cffc4daf9 100644 --- a/components/esp_driver_gptimer/test_apps/.build-test-rules.yml +++ b/components/esp_driver_gptimer/test_apps/.build-test-rules.yml @@ -4,5 +4,6 @@ components/esp_driver_gptimer/test_apps/gptimer: disable: - if: SOC_GPTIMER_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_gptimer - esp_hal_timg diff --git a/components/esp_driver_i2c/test_apps/.build-test-rules.yml b/components/esp_driver_i2c/test_apps/.build-test-rules.yml index b078f120ef..970910a969 100644 --- a/components/esp_driver_i2c/test_apps/.build-test-rules.yml +++ b/components/esp_driver_i2c/test_apps/.build-test-rules.yml @@ -4,5 +4,6 @@ components/esp_driver_i2c/test_apps/i2c_test_apps: disable: - if: SOC_I2C_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_i2c - esp_hal_i2c diff --git a/components/esp_driver_i2s/test_apps/.build-test-rules.yml b/components/esp_driver_i2s/test_apps/.build-test-rules.yml index 78e2a417f1..9f0c136b47 100644 --- a/components/esp_driver_i2s/test_apps/.build-test-rules.yml +++ b/components/esp_driver_i2s/test_apps/.build-test-rules.yml @@ -4,6 +4,7 @@ components/esp_driver_i2s/test_apps/i2s: disable: - if: SOC_I2S_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_i2s - esp_driver_pcnt @@ -16,10 +17,12 @@ components/esp_driver_i2s/test_apps/i2s_multi_dev: temporary: true reason: lack of runners depends_components: + - *common_components - esp_driver_i2s components/esp_driver_i2s/test_apps/lp_i2s: disable: - if: SOC_LP_I2S_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_i2s diff --git a/components/esp_driver_i3c/test_apps/.build-test-rules.yml b/components/esp_driver_i3c/test_apps/.build-test-rules.yml index f9a1c899c2..3224b2d62e 100644 --- a/components/esp_driver_i3c/test_apps/.build-test-rules.yml +++ b/components/esp_driver_i3c/test_apps/.build-test-rules.yml @@ -4,4 +4,5 @@ components/esp_driver_i3c/test_apps/i3c_test_apps: disable: - if: SOC_I3C_MASTER_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_i3c diff --git a/components/esp_driver_isp/test_apps/.build-test-rules.yml b/components/esp_driver_isp/test_apps/.build-test-rules.yml index 67a8c043e7..05fd11fd96 100644 --- a/components/esp_driver_isp/test_apps/.build-test-rules.yml +++ b/components/esp_driver_isp/test_apps/.build-test-rules.yml @@ -2,4 +2,5 @@ components/esp_driver_isp/test_apps/isp: disable: - if: SOC_ISP_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_isp diff --git a/components/esp_driver_jpeg/test_apps/.build-test-rules.yml b/components/esp_driver_jpeg/test_apps/.build-test-rules.yml index e3c04dbafc..4452a8a02c 100644 --- a/components/esp_driver_jpeg/test_apps/.build-test-rules.yml +++ b/components/esp_driver_jpeg/test_apps/.build-test-rules.yml @@ -4,4 +4,5 @@ components/esp_driver_jpeg/test_apps/jpeg_test_apps: disable: - if: SOC_JPEG_CODEC_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_jpeg diff --git a/components/esp_driver_ledc/test_apps/.build-test-rules.yml b/components/esp_driver_ledc/test_apps/.build-test-rules.yml index 51bdcba99f..c605630847 100644 --- a/components/esp_driver_ledc/test_apps/.build-test-rules.yml +++ b/components/esp_driver_ledc/test_apps/.build-test-rules.yml @@ -4,5 +4,6 @@ components/esp_driver_ledc/test_apps/ledc: disable: - if: SOC_LEDC_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_ledc - esp_hal_ledc diff --git a/components/esp_driver_mcpwm/test_apps/.build-test-rules.yml b/components/esp_driver_mcpwm/test_apps/.build-test-rules.yml index cbc941233c..6e6bb6c2d2 100644 --- a/components/esp_driver_mcpwm/test_apps/.build-test-rules.yml +++ b/components/esp_driver_mcpwm/test_apps/.build-test-rules.yml @@ -4,4 +4,5 @@ components/esp_driver_mcpwm/test_apps/mcpwm: disable: - if: SOC_MCPWM_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_mcpwm diff --git a/components/esp_driver_parlio/test_apps/.build-test-rules.yml b/components/esp_driver_parlio/test_apps/.build-test-rules.yml index efce473ee7..254b70700e 100644 --- a/components/esp_driver_parlio/test_apps/.build-test-rules.yml +++ b/components/esp_driver_parlio/test_apps/.build-test-rules.yml @@ -4,4 +4,5 @@ components/esp_driver_parlio/test_apps/parlio: disable: - if: SOC_PARLIO_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_parlio diff --git a/components/esp_driver_pcnt/test_apps/.build-test-rules.yml b/components/esp_driver_pcnt/test_apps/.build-test-rules.yml index d94a1f9237..21080063ce 100644 --- a/components/esp_driver_pcnt/test_apps/.build-test-rules.yml +++ b/components/esp_driver_pcnt/test_apps/.build-test-rules.yml @@ -4,4 +4,5 @@ components/esp_driver_pcnt/test_apps/pulse_cnt: disable: - if: SOC_PCNT_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_pcnt diff --git a/components/esp_driver_ppa/test_apps/.build-test-rules.yml b/components/esp_driver_ppa/test_apps/.build-test-rules.yml index acad758640..1c9c829105 100644 --- a/components/esp_driver_ppa/test_apps/.build-test-rules.yml +++ b/components/esp_driver_ppa/test_apps/.build-test-rules.yml @@ -4,5 +4,6 @@ components/esp_driver_ppa/test_apps: disable: - if: SOC_PPA_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_ppa - esp_hal_ppa diff --git a/components/esp_driver_rmt/test_apps/.build-test-rules.yml b/components/esp_driver_rmt/test_apps/.build-test-rules.yml index 2a97c6cdec..255831f258 100644 --- a/components/esp_driver_rmt/test_apps/.build-test-rules.yml +++ b/components/esp_driver_rmt/test_apps/.build-test-rules.yml @@ -4,4 +4,5 @@ components/esp_driver_rmt/test_apps/rmt: disable: - if: SOC_RMT_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_rmt diff --git a/components/esp_driver_sdio/test_apps/.build-test-rules.yml b/components/esp_driver_sdio/test_apps/.build-test-rules.yml index 4b34b45429..0d1ed8a0f8 100644 --- a/components/esp_driver_sdio/test_apps/.build-test-rules.yml +++ b/components/esp_driver_sdio/test_apps/.build-test-rules.yml @@ -3,6 +3,7 @@ components/esp_driver_sdio/test_apps/sdio/sdio_common_tests/host_sdmmc: - if: IDF_TARGET in ["esp32", "esp32p4"] reason: runners use ESP32 / ESP32P4 SDMMC as host depends_components: + - *common_components - sdmmc - esp_driver_sdmmc - esp_driver_sdio @@ -15,6 +16,7 @@ components/esp_driver_sdio/test_apps/sdio/sdio_common_tests/sdio: disable: - if: SOC_SDIO_SLAVE_SUPPORTED != 1 depends_components: + - *common_components - sdmmc - esp_driver_sdmmc - esp_driver_sdio diff --git a/components/esp_driver_sdm/test_apps/.build-test-rules.yml b/components/esp_driver_sdm/test_apps/.build-test-rules.yml index 851804067c..b678b25757 100644 --- a/components/esp_driver_sdm/test_apps/.build-test-rules.yml +++ b/components/esp_driver_sdm/test_apps/.build-test-rules.yml @@ -4,6 +4,7 @@ components/esp_driver_sdm/test_apps/sigma_delta: disable: - if: SOC_SDM_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_gpio - esp_driver_sdm - esp_hal_gpio diff --git a/components/esp_driver_sdmmc/test_apps/.build-test-rules.yml b/components/esp_driver_sdmmc/test_apps/.build-test-rules.yml index bb3416b4f3..a8f3addc02 100644 --- a/components/esp_driver_sdmmc/test_apps/.build-test-rules.yml +++ b/components/esp_driver_sdmmc/test_apps/.build-test-rules.yml @@ -3,5 +3,6 @@ components/esp_driver_sdmmc/test_apps/sdmmc: - if: SOC_SDMMC_HOST_SUPPORTED != 1 depends_components: + - *common_components - sdmmc - esp_driver_sdmmc diff --git a/components/esp_driver_sdspi/test_apps/.build-test-rules.yml b/components/esp_driver_sdspi/test_apps/.build-test-rules.yml index 57fdd2e11c..1f5e2e2094 100644 --- a/components/esp_driver_sdspi/test_apps/.build-test-rules.yml +++ b/components/esp_driver_sdspi/test_apps/.build-test-rules.yml @@ -5,5 +5,6 @@ components/esp_driver_sdspi/test_apps/sdspi: - if: IDF_TARGET not in ["esp32", "esp32s3", "esp32c3", "esp32c5", "esp32p4"] reason: needs special runner, select few typical targets for testing depends_components: + - *common_components - sdmmc - esp_driver_sdspi diff --git a/components/esp_driver_spi/test_apps/.build-test-rules.yml b/components/esp_driver_spi/test_apps/.build-test-rules.yml index 9b605ff855..f24923c074 100644 --- a/components/esp_driver_spi/test_apps/.build-test-rules.yml +++ b/components/esp_driver_spi/test_apps/.build-test-rules.yml @@ -1,5 +1,6 @@ .spi_depends_default: &spi_depends_default depends_components: + - *common_components - esp_mm # for cache - esp_driver_spi - esp_driver_gpio diff --git a/components/esp_driver_touch_sens/test_apps/.build-test-rules.yml b/components/esp_driver_touch_sens/test_apps/.build-test-rules.yml index f7fa469216..e4efda06cd 100644 --- a/components/esp_driver_touch_sens/test_apps/.build-test-rules.yml +++ b/components/esp_driver_touch_sens/test_apps/.build-test-rules.yml @@ -2,4 +2,5 @@ components/esp_driver_touch_sens/test_apps/touch_sens: disable: - if: SOC_TOUCH_SENSOR_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_touch_sens diff --git a/components/esp_driver_tsens/test_apps/.build-test-rules.yml b/components/esp_driver_tsens/test_apps/.build-test-rules.yml index d54d916a4c..3bff59079d 100644 --- a/components/esp_driver_tsens/test_apps/.build-test-rules.yml +++ b/components/esp_driver_tsens/test_apps/.build-test-rules.yml @@ -4,5 +4,6 @@ components/esp_driver_tsens/test_apps/temperature_sensor: disable: - if: SOC_TEMP_SENSOR_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_tsens - esp_phy diff --git a/components/esp_driver_twai/test_apps/.build-test-rules.yml b/components/esp_driver_twai/test_apps/.build-test-rules.yml index 96a4646be0..e1c48789ba 100644 --- a/components/esp_driver_twai/test_apps/.build-test-rules.yml +++ b/components/esp_driver_twai/test_apps/.build-test-rules.yml @@ -5,4 +5,5 @@ components/esp_driver_twai/test_apps/test_twai: temporary: true reason: p4 rev3 migration # TODO: IDF-14393 depends_components: + - *common_components - esp_driver_twai diff --git a/components/esp_driver_uart/test_apps/.build-test-rules.yml b/components/esp_driver_uart/test_apps/.build-test-rules.yml index 3197f6fdc3..430cc2e160 100644 --- a/components/esp_driver_uart/test_apps/.build-test-rules.yml +++ b/components/esp_driver_uart/test_apps/.build-test-rules.yml @@ -11,6 +11,7 @@ components/esp_driver_uart/test_apps/rs485: temporary: true reason: lack of runners depends_components: + - *common_components - esp_driver_uart - esp_hal_uart - esp_driver_gpio @@ -22,12 +23,14 @@ components/esp_driver_uart/test_apps/uart: temporary: true reason: not support yet # TODO: [ESP32S31] IDF-14789 depends_components: + - *common_components - esp_driver_uart - esp_hal_uart - esp_driver_gpio components/esp_driver_uart/test_apps/uart_vfs: depends_components: + - *common_components - esp_driver_uart - esp_hal_uart - vfs @@ -36,6 +39,7 @@ components/esp_driver_uart/test_apps/uhci: disable: - if: SOC_UHCI_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_uart - esp_hal_uart - esp_driver_gpio diff --git a/components/esp_driver_usb_serial_jtag/test_apps/.build-test-rules.yml b/components/esp_driver_usb_serial_jtag/test_apps/.build-test-rules.yml index 313abe4710..e66b8eb9e0 100644 --- a/components/esp_driver_usb_serial_jtag/test_apps/.build-test-rules.yml +++ b/components/esp_driver_usb_serial_jtag/test_apps/.build-test-rules.yml @@ -11,6 +11,7 @@ components/esp_driver_usb_serial_jtag/test_apps/usb_serial_jtag: temporary: true reason: No runners. depends_components: + - *common_components - vfs - esp_driver_gpio - esp_driver_usb_serial_jtag @@ -27,6 +28,7 @@ components/esp_driver_usb_serial_jtag/test_apps/usb_serial_jtag_vfs: temporary: true reason: No runners. depends_components: + - *common_components - vfs - esp_driver_usb_serial_jtag - esp_hal_usb diff --git a/components/esp_eth/test_apps/.build-test-rules.yml b/components/esp_eth/test_apps/.build-test-rules.yml index dc4d00c17b..ffd07f98c1 100644 --- a/components/esp_eth/test_apps/.build-test-rules.yml +++ b/components/esp_eth/test_apps/.build-test-rules.yml @@ -5,4 +5,5 @@ components/esp_eth/test_apps: - if: IDF_TARGET in ["esp32", "esp32p4"] reason: ESP32 and ESP32P4 have internal EMAC. SPI Ethernet runners are based on ESP32. depends_components: + - *common_components - esp_eth diff --git a/components/esp_event/host_test/.build-test-rules.yml b/components/esp_event/host_test/.build-test-rules.yml index c2c3f0de59..d85d3ed211 100644 --- a/components/esp_event/host_test/.build-test-rules.yml +++ b/components/esp_event/host_test/.build-test-rules.yml @@ -2,4 +2,5 @@ components/esp_event/host_test: enable: - if: IDF_TARGET == "linux" depends_components: + - *common_components - esp_event diff --git a/components/esp_event/test_apps/.build-test-rules.yml b/components/esp_event/test_apps/.build-test-rules.yml index 937ad1dcf0..6439b1a689 100644 --- a/components/esp_event/test_apps/.build-test-rules.yml +++ b/components/esp_event/test_apps/.build-test-rules.yml @@ -8,4 +8,5 @@ components/esp_event/test_apps: - if: IDF_TARGET != "esp32" and CONFIG_NAME == "ext_ram" reason: it is enough to test ext_ram config on esp32 depends_components: + - *common_components - esp_event diff --git a/components/esp_hal_security/.build-test-rules.yml b/components/esp_hal_security/.build-test-rules.yml index b6a813da52..a099a43e3a 100644 --- a/components/esp_hal_security/.build-test-rules.yml +++ b/components/esp_hal_security/.build-test-rules.yml @@ -2,6 +2,7 @@ components/esp_hal_security/test_apps/crypto: depends_components: + - *common_components - efuse - mbedtls - esp_security diff --git a/components/esp_hid/test_apps/.build-test-rules.yml b/components/esp_hid/test_apps/.build-test-rules.yml index 452d163e2d..4470c2b6b3 100644 --- a/components/esp_hid/test_apps/.build-test-rules.yml +++ b/components/esp_hid/test_apps/.build-test-rules.yml @@ -5,4 +5,5 @@ components/esp_hid/test_apps: - if: IDF_TARGET in ["esp32", "esp32c3"] reason: Testing on one chip per architecture is currently enough depends_components: + - *common_components - esp_hid diff --git a/components/esp_http_client/test_apps/.build-test-rules.yml b/components/esp_http_client/test_apps/.build-test-rules.yml index 6b87fd2099..abe61fc392 100644 --- a/components/esp_http_client/test_apps/.build-test-rules.yml +++ b/components/esp_http_client/test_apps/.build-test-rules.yml @@ -5,4 +5,5 @@ components/esp_http_client/test_apps: - if: CONFIG_NAME == "client_only_mbedtls" and IDF_TARGET not in ["esp32c3"] reason: Testing on one target is enough depends_components: + - *common_components - esp_http_client diff --git a/components/esp_lcd/test_apps/.build-test-rules.yml b/components/esp_lcd/test_apps/.build-test-rules.yml index 56b5b3bab3..830747ca33 100644 --- a/components/esp_lcd/test_apps/.build-test-rules.yml +++ b/components/esp_lcd/test_apps/.build-test-rules.yml @@ -4,6 +4,7 @@ components/esp_lcd/test_apps/i2c_lcd: disable: - if: SOC_I2C_SUPPORTED != 1 depends_components: + - *common_components - esp_lcd - esp_driver_i2c disable_test: @@ -13,6 +14,7 @@ components/esp_lcd/test_apps/i2c_lcd: components/esp_lcd/test_apps/i80_lcd: depends_components: + - *common_components - esp_lcd - esp_driver_i2s disable: @@ -20,6 +22,7 @@ components/esp_lcd/test_apps/i80_lcd: components/esp_lcd/test_apps/mipi_dsi_lcd: depends_components: + - *common_components - esp_lcd disable: - if: SOC_LCD_MIPI_DSI_SUPPORTED != 1 @@ -30,6 +33,7 @@ components/esp_lcd/test_apps/mipi_dsi_lcd: components/esp_lcd/test_apps/parlio_lcd: depends_components: + - *common_components - esp_lcd - esp_driver_parlio disable: @@ -37,12 +41,14 @@ components/esp_lcd/test_apps/parlio_lcd: components/esp_lcd/test_apps/rgb_lcd: depends_components: + - *common_components - esp_lcd disable: - if: SOC_LCD_RGB_SUPPORTED != 1 components/esp_lcd/test_apps/spi_lcd: depends_components: + - *common_components - esp_lcd - esp_driver_spi disable: diff --git a/components/esp_libc/test_apps/.build-test-rules.yml b/components/esp_libc/test_apps/.build-test-rules.yml index 652e1cbc95..54405efeb6 100644 --- a/components/esp_libc/test_apps/.build-test-rules.yml +++ b/components/esp_libc/test_apps/.build-test-rules.yml @@ -2,11 +2,13 @@ components/esp_libc/test_apps/newlib: depends_components: + - *common_components - esp_libc - esp_rom components/esp_libc/test_apps/no_rvfplib: disable: - if: ESP_ROM_HAS_RVFPLIB != 1 depends_components: + - *common_components - esp_libc - esp_rom diff --git a/components/esp_netif/test_apps/.build-test-rules.yml b/components/esp_netif/test_apps/.build-test-rules.yml index 7baad88301..7fd8e4b5fb 100644 --- a/components/esp_netif/test_apps/.build-test-rules.yml +++ b/components/esp_netif/test_apps/.build-test-rules.yml @@ -6,6 +6,7 @@ components/esp_netif/test_apps/test_app_esp_netif: temporary: false reason: Not needed to test on all targets (chosen two, one for each architecture) depends_components: + - *common_components - esp_netif - lwip - esp_eth @@ -17,6 +18,7 @@ components/esp_netif/test_apps/test_app_vfs_l2tap: temporary: true reason: Not needed to test on all targets (chosen two, one for each architecture plus P4 tests time stamping) depends_components: + - *common_components - esp_netif - lwip - esp_eth diff --git a/components/esp_partition/host_test/.build-test-rules.yml b/components/esp_partition/host_test/.build-test-rules.yml index 39b8d40db0..9e4a01f57c 100644 --- a/components/esp_partition/host_test/.build-test-rules.yml +++ b/components/esp_partition/host_test/.build-test-rules.yml @@ -5,6 +5,7 @@ components/esp_partition/host_test/partition_api_test: - if: IDF_TARGET == "linux" reason: only test on linux depends_components: + - *common_components - esp_partition components/esp_partition/host_test/partition_bdl_test: @@ -12,5 +13,6 @@ components/esp_partition/host_test/partition_bdl_test: - if: IDF_TARGET == "linux" reason: only test on linux depends_components: + - *common_components - esp_blockdev - esp_partition diff --git a/components/esp_phy/test_apps/.build-test-rules.yml b/components/esp_phy/test_apps/.build-test-rules.yml index d566bdc82a..51491cb49f 100644 --- a/components/esp_phy/test_apps/.build-test-rules.yml +++ b/components/esp_phy/test_apps/.build-test-rules.yml @@ -4,4 +4,5 @@ components/esp_phy/test_apps/phy_multiple_init_data: disable: - if: IDF_TARGET == "esp32p4" # Update with caps here when IDF-7460 is resolved depends_components: + - *common_components - esp_phy diff --git a/components/esp_pm/test_apps/.build-test-rules.yml b/components/esp_pm/test_apps/.build-test-rules.yml index 140df77963..bfdf55d31a 100644 --- a/components/esp_pm/test_apps/.build-test-rules.yml +++ b/components/esp_pm/test_apps/.build-test-rules.yml @@ -9,4 +9,5 @@ components/esp_pm/test_apps: temporary: true reason: not support yet # TODO: [ESP32H21] IDF-11522, [ESP32H4] IDF-12286 [ESP32S31] IDF-14645 depends_components: + - *common_components - esp_pm diff --git a/components/esp_psram/test_apps/.build-test-rules.yml b/components/esp_psram/test_apps/.build-test-rules.yml index e739d8d641..95c983baab 100644 --- a/components/esp_psram/test_apps/.build-test-rules.yml +++ b/components/esp_psram/test_apps/.build-test-rules.yml @@ -5,6 +5,7 @@ components/esp_psram/test_apps/psram: - if: SOC_SPIRAM_SUPPORTED != 1 - if: CONFIG_NAME == "xip_psram_no_boot_init" and SOC_SPIRAM_XIP_SUPPORTED != 1 depends_components: + - *common_components - esp_psram - esp_mm - esp_driver_gpio diff --git a/components/esp_ringbuf/test_apps/.build-test-rules.yml b/components/esp_ringbuf/test_apps/.build-test-rules.yml index d93c9f49c0..4224e6ea5a 100644 --- a/components/esp_ringbuf/test_apps/.build-test-rules.yml +++ b/components/esp_ringbuf/test_apps/.build-test-rules.yml @@ -5,5 +5,6 @@ components/esp_ringbuf/test_apps: - if: IDF_TARGET in ["esp32", "esp32c3", "esp32s2", "linux"] reason: covers all target types depends_components: + - *common_components - freertos - esp_ringbuf diff --git a/components/esp_rom/test_apps/.build-test-rules.yml b/components/esp_rom/test_apps/.build-test-rules.yml index 5093b135de..7836628ba8 100644 --- a/components/esp_rom/test_apps/.build-test-rules.yml +++ b/components/esp_rom/test_apps/.build-test-rules.yml @@ -4,6 +4,7 @@ components/esp_rom/test_apps/linux_rom_apis: enable: - if: IDF_TARGET == "linux" depends_components: + - *common_components - esp_rom components/esp_rom/test_apps/rom_impl_components: @@ -13,6 +14,7 @@ components/esp_rom/test_apps/rom_impl_components: - if: CONFIG_NAME == "no_rom_impl_components" and ((ESP_ROM_HAS_HAL_WDT != 1 and ESP_ROM_HAS_HAL_SYSTIMER != 1) and (ESP_ROM_HAS_HEAP_TLSF != 1 and ESP_ROM_HAS_SPI_FLASH != 1)) - if: SOC_WDT_SUPPORTED != 1 depends_components: + - *common_components - esp_rom components/esp_rom/test_apps/rom_tests: @@ -21,4 +23,5 @@ components/esp_rom/test_apps/rom_tests: temporary: false reason: lack of memory for testing miniz compressing depends_components: + - *common_components - esp_rom diff --git a/components/esp_security/test_apps/.build-test-rules.yml b/components/esp_security/test_apps/.build-test-rules.yml index 5a6cdf0da0..966a8b2be8 100644 --- a/components/esp_security/test_apps/.build-test-rules.yml +++ b/components/esp_security/test_apps/.build-test-rules.yml @@ -8,4 +8,5 @@ components/esp_security/test_apps/crypto_drivers: temporary: true reason: p4 rev3 migration # TODO: IDF-14418 depends_components: + - *common_components - esp_security diff --git a/components/esp_system/test_apps/.build-test-rules.yml b/components/esp_system/test_apps/.build-test-rules.yml index bada4394fb..005a1ffa8b 100644 --- a/components/esp_system/test_apps/.build-test-rules.yml +++ b/components/esp_system/test_apps/.build-test-rules.yml @@ -2,6 +2,7 @@ components/esp_system/test_apps/cache_panic: depends_components: + - *common_components - spi_flash # esp_system is included by default components/esp_system/test_apps/esp_system_unity_tests: diff --git a/components/esp_timer/test_apps/.build-test-rules.yml b/components/esp_timer/test_apps/.build-test-rules.yml index 90d722289d..1b21503555 100644 --- a/components/esp_timer/test_apps/.build-test-rules.yml +++ b/components/esp_timer/test_apps/.build-test-rules.yml @@ -2,6 +2,7 @@ components/esp_timer/test_apps: depends_components: + - *common_components - esp_timer disable: - if: CONFIG_NAME == "dfs" and SOC_CLK_XTAL32K_SUPPORTED != 1 diff --git a/components/espcoredump/test_apps/.build-test-rules.yml b/components/espcoredump/test_apps/.build-test-rules.yml index 3f3d874592..32e0518540 100644 --- a/components/espcoredump/test_apps/.build-test-rules.yml +++ b/components/espcoredump/test_apps/.build-test-rules.yml @@ -5,5 +5,6 @@ components/espcoredump/test_apps: - if: IDF_TARGET in ["esp32", "esp32c3", "esp32c2"] reason: Can test one chip per architecture, plus C2 which doesn't have RTC RAM depends_components: + - *common_components - espcoredump - esp_system # for linker scripts diff --git a/components/fatfs/test_apps/.build-test-rules.yml b/components/fatfs/test_apps/.build-test-rules.yml index 7618db65fc..58c92b00cb 100644 --- a/components/fatfs/test_apps/.build-test-rules.yml +++ b/components/fatfs/test_apps/.build-test-rules.yml @@ -6,6 +6,7 @@ components/fatfs/test_apps/dyn_buffers: reason: only one target required depends_components: + - *common_components - fatfs components/fatfs/test_apps/flash_ro: @@ -14,6 +15,7 @@ components/fatfs/test_apps/flash_ro: reason: only one target per arch needed depends_components: + - *common_components - esp_partition - spi_flash - fatfs @@ -24,6 +26,7 @@ components/fatfs/test_apps/flash_wl: - if: IDF_TARGET not in ["esp32", "esp32c3", "linux"] reason: only one target per arch needed depends_components: + - *common_components - esp_partition - spi_flash - fatfs @@ -40,6 +43,7 @@ components/fatfs/test_apps/sdcard: temporary: true reason: lack of runners depends_components: + - *common_components - esp_driver_sdmmc - esp_driver_spi - sdmmc diff --git a/components/freertos/test_apps/.build-test-rules.yml b/components/freertos/test_apps/.build-test-rules.yml index 28b6c6cb91..093bd52962 100644 --- a/components/freertos/test_apps/.build-test-rules.yml +++ b/components/freertos/test_apps/.build-test-rules.yml @@ -7,6 +7,7 @@ components/freertos/test_apps/build_tests/freertos_build_test: temporary: true reason: not support yet, smp build failed # TODO: [ESP32S31] IDF-14685 depends_components: + - *common_components - freertos - esp_system # trigger on changes to idle / tick hooks, wdt, entry point to freertos code - esp_hw_support # trigger on changes to cpu.c @@ -16,6 +17,7 @@ components/freertos/test_apps/build_tests/orig_inc_path: - if: IDF_TARGET in ["esp32"] reason: The feature only depends on the build system, nothing target-specific that needs to be tested depends_components: + - *common_components - freertos components/freertos/test_apps/freertos: @@ -28,6 +30,7 @@ components/freertos/test_apps/freertos: reason: not support yet # TODO: [ESP32S31] IDF-14685 - if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1 depends_components: + - *common_components - freertos - esp_system # trigger on changes to idle / tick hooks, wdt, entry point to freertos code - esp_hw_support # trigger on changes to cpu.c diff --git a/components/heap/test_apps/.build-test-rules.yml b/components/heap/test_apps/.build-test-rules.yml index 9b07122c06..dd5d89e402 100644 --- a/components/heap/test_apps/.build-test-rules.yml +++ b/components/heap/test_apps/.build-test-rules.yml @@ -12,6 +12,7 @@ components/heap/test_apps/heap_tests: # Non-target specific functionality, only test on a single target in default pipeline - if: CONFIG_NAME == "in_flash" and (IDF_TARGET != "esp32c6" and NIGHTLY_RUN != "1") depends_components: + - *common_components - heap - soc - esp_psram @@ -20,6 +21,7 @@ components/heap/test_apps/host_test_linux: enable: - if: IDF_TARGET == "linux" depends_components: + - *common_components - heap depends_filepatterns: - components/soc/**/include/soc/soc.h diff --git a/components/log/host_test/.build-test-rules.yml b/components/log/host_test/.build-test-rules.yml index c05c518701..344cb4a885 100644 --- a/components/log/host_test/.build-test-rules.yml +++ b/components/log/host_test/.build-test-rules.yml @@ -5,4 +5,5 @@ components/log/host_test/log_test: - if: IDF_TARGET == "linux" reason: only test on linux depends_components: + - *common_components - log diff --git a/components/log/test_apps/.build-test-rules.yml b/components/log/test_apps/.build-test-rules.yml index a5790aba64..cbf0aeb7a3 100644 --- a/components/log/test_apps/.build-test-rules.yml +++ b/components/log/test_apps/.build-test-rules.yml @@ -5,4 +5,5 @@ components/log/test_apps: - if: IDF_TARGET == "esp32" reason: only test on esp32 depends_components: + - *common_components - log diff --git a/components/mbedtls/test_apps/.build-test-rules.yml b/components/mbedtls/test_apps/.build-test-rules.yml index 299581f2dc..1b78bb7e27 100644 --- a/components/mbedtls/test_apps/.build-test-rules.yml +++ b/components/mbedtls/test_apps/.build-test-rules.yml @@ -10,6 +10,7 @@ components/mbedtls/test_apps: - if: CONFIG_NAME == "psram_all_ext_flash_enc" and IDF_TARGET not in ["esp32", "esp32p4", "esp32c5"] reason: lack of runners depends_components: + - *common_components - mbedtls - esp_security - esp_mm diff --git a/components/nvs_flash/.build-test-rules.yml b/components/nvs_flash/.build-test-rules.yml index d827437381..698d22ae40 100644 --- a/components/nvs_flash/.build-test-rules.yml +++ b/components/nvs_flash/.build-test-rules.yml @@ -1,5 +1,6 @@ components/nvs_flash/host_test: depends_components: + - *common_components - nvs_flash - nvs_sec_provider - esp_blockdev @@ -10,6 +11,7 @@ components/nvs_flash/host_test: components/nvs_flash/test_apps: depends_components: + - *common_components - spi_flash - nvs_flash - nvs_sec_provider @@ -20,6 +22,7 @@ components/nvs_flash/test_apps: components/nvs_flash/test_apps_bootloader: depends_components: + - *common_components - spi_flash - nvs_flash - esp_partition diff --git a/components/pthread/test_apps/.build-test-rules.yml b/components/pthread/test_apps/.build-test-rules.yml index ddc1f3cf3b..9bc1e31eca 100644 --- a/components/pthread/test_apps/.build-test-rules.yml +++ b/components/pthread/test_apps/.build-test-rules.yml @@ -5,6 +5,7 @@ components/pthread/test_apps/pthread_psram_tests: - if: IDF_TARGET in ["esp32"] reason: PSRAM only available on ESP32, S2, S3; code is fairly generic depends_components: + - *common_components - pthread - freertos @@ -12,5 +13,6 @@ components/pthread/test_apps/pthread_unity_tests: enable: - if: IDF_TARGET in ["esp32", "esp32c2", "esp32c3", "esp32c5", "esp32c6", "esp32c61", "esp32h2", "esp32p4", "esp32s2", "esp32s3", "linux"] depends_components: + - *common_components - pthread - freertos diff --git a/components/rt/test_apps/posix_rt_test/.build-test-rules.yml b/components/rt/test_apps/posix_rt_test/.build-test-rules.yml index 102749b198..5736a5d859 100644 --- a/components/rt/test_apps/posix_rt_test/.build-test-rules.yml +++ b/components/rt/test_apps/posix_rt_test/.build-test-rules.yml @@ -5,5 +5,6 @@ components/rt/test_apps/posix_rt_test: - if: IDF_TARGET in ["esp32", "esp32s2", "esp32c3", "esp32p4"] reason: covers all major arch types, xtensa vs riscv, single vs dual-core depends_components: + - *common_components - rt - freertos diff --git a/components/sdmmc/test_apps/.build-test-rules.yml b/components/sdmmc/test_apps/.build-test-rules.yml index cc5add9669..0bae58d63d 100644 --- a/components/sdmmc/test_apps/.build-test-rules.yml +++ b/components/sdmmc/test_apps/.build-test-rules.yml @@ -8,6 +8,7 @@ components/sdmmc/test_apps: temporary: false reason: only one target required for running the test depends_components: + - *common_components - sdmmc - esp_driver_sdmmc - vfs diff --git a/components/spi_flash/test_apps/.build-test-rules.yml b/components/spi_flash/test_apps/.build-test-rules.yml index 236eeb36ca..d9bca8e29c 100644 --- a/components/spi_flash/test_apps/.build-test-rules.yml +++ b/components/spi_flash/test_apps/.build-test-rules.yml @@ -8,6 +8,7 @@ components/spi_flash/test_apps/esp_flash: depends_filepatterns: - components/bootloader_support/bootloader_flash/**/* depends_components: + - *common_components - esp_mm - esp_psram - spi_flash @@ -22,12 +23,14 @@ components/spi_flash/test_apps/esp_flash_blockdev: temporary: false reason: should be sufficient to test on one Xtensa and one RISC-V target depends_components: + - *common_components - spi_flash components/spi_flash/test_apps/esp_flash_freq_limit: enable: - if: IDF_TARGET == "esp32c5" depends_components: + - *common_components - spi_flash - esp_pm - esp_driver_gptimer @@ -39,6 +42,7 @@ components/spi_flash/test_apps/esp_flash_stress: temporary: true reason: not support yet # TODO: [ESP32S31] IDF-14777 depends_components: + - *common_components - esp_mm - spi_flash - esp_hal_mspi @@ -54,12 +58,14 @@ components/spi_flash/test_apps/flash_encryption: reason: No runners # IDF-5634 depends_components: + - *common_components - esp_mm - spi_flash - esp_hal_mspi components/spi_flash/test_apps/flash_mmap: depends_components: + - *common_components - esp_mm - spi_flash - esp_hal_mspi @@ -84,6 +90,7 @@ components/spi_flash/test_apps/flash_suspend: temporary: true reason: lack of runners depends_components: + - *common_components - spi_flash - esp_driver_gptimer - esp_hal_mspi @@ -95,6 +102,7 @@ components/spi_flash/test_apps/mspi_test: depends_filepatterns: - components/bootloader_support/bootloader_flash/**/* depends_components: + - *common_components - esp_mm - esp_psram - spi_flash diff --git a/components/spiffs/host_test/.build-test-rules.yml b/components/spiffs/host_test/.build-test-rules.yml index 9de36c5b11..26ea248eeb 100644 --- a/components/spiffs/host_test/.build-test-rules.yml +++ b/components/spiffs/host_test/.build-test-rules.yml @@ -3,6 +3,7 @@ components/spiffs/host_test: - if: IDF_TARGET == "linux" reason: only test on linux depends_components: + - *common_components - spi_flash - esp_partition - spiffs diff --git a/components/spiffs/test_apps/.build-test-rules.yml b/components/spiffs/test_apps/.build-test-rules.yml index f3bf52966a..9fac1f8066 100644 --- a/components/spiffs/test_apps/.build-test-rules.yml +++ b/components/spiffs/test_apps/.build-test-rules.yml @@ -4,6 +4,7 @@ components/spiffs/test_apps: reason: These chips should be sufficient for test coverage (Xtensa and RISC-V, single and dual core) depends_components: + - *common_components - spi_flash - esp_partition - spiffs diff --git a/components/ulp/test_apps/.build-test-rules.yml b/components/ulp/test_apps/.build-test-rules.yml index a2f8ea0789..62d63ede7e 100644 --- a/components/ulp/test_apps/.build-test-rules.yml +++ b/components/ulp/test_apps/.build-test-rules.yml @@ -6,6 +6,7 @@ components/ulp/test_apps/lp_core/lp_core_basic_tests: - if: CONFIG_NAME == "xtal" and SOC_CLK_LP_FAST_SUPPORT_XTAL != 1 - if: CONFIG_NAME == "lp_vad" and SOC_LP_VAD_SUPPORTED != 1 depends_components: + - *common_components - ulp - esp_adc - esp_driver_i2s @@ -20,6 +21,7 @@ components/ulp/test_apps/lp_core/lp_core_hp_uart: disable: - if: SOC_LP_CORE_SUPPORTED != 1 depends_components: + - *common_components - ulp - esp_hal_uart - esp_hal_pmu @@ -30,6 +32,7 @@ components/ulp/test_apps/ulp_fsm: enable: - if: SOC_ULP_FSM_SUPPORTED == 1 depends_components: + - *common_components - ulp - soc - esp_hal_pmu @@ -40,6 +43,7 @@ components/ulp/test_apps/ulp_riscv: disable: - if: SOC_RISCV_COPROC_SUPPORTED != 1 depends_components: + - *common_components - ulp - soc - esp_hal_pmu diff --git a/components/unity/test_apps/.build-test-rules.yml b/components/unity/test_apps/.build-test-rules.yml index f802ab3653..0d7f72ad53 100644 --- a/components/unity/test_apps/.build-test-rules.yml +++ b/components/unity/test_apps/.build-test-rules.yml @@ -5,4 +5,5 @@ components/unity/test_apps: - if: IDF_TARGET in["esp32", "linux"] reason: need to test on a chip and linux targets depends_components: + - *common_components - unity diff --git a/components/vfs/test_apps/.build-test-rules.yml b/components/vfs/test_apps/.build-test-rules.yml index 3d27513851..b1dbaa0ac6 100644 --- a/components/vfs/test_apps/.build-test-rules.yml +++ b/components/vfs/test_apps/.build-test-rules.yml @@ -10,6 +10,7 @@ components/vfs/test_apps: reason: lack of runners depends_components: + - *common_components - vfs - fatfs - spiffs diff --git a/components/wpa_supplicant/test_apps/.build-test-rules.yml b/components/wpa_supplicant/test_apps/.build-test-rules.yml index 64d2e64c5d..8ef11c2aae 100644 --- a/components/wpa_supplicant/test_apps/.build-test-rules.yml +++ b/components/wpa_supplicant/test_apps/.build-test-rules.yml @@ -4,6 +4,7 @@ components/wpa_supplicant/test_apps: disable: - if: SOC_WIFI_SUPPORTED != 1 depends_components: + - *common_components - esp_wifi - wpa_supplicant - mbedtls diff --git a/examples/bluetooth/.build-test-rules.yml b/examples/bluetooth/.build-test-rules.yml index e3ec6a675e..53f21bf88e 100644 --- a/examples/bluetooth/.build-test-rules.yml +++ b/examples/bluetooth/.build-test-rules.yml @@ -2,6 +2,7 @@ .bt_default_depends: &bt_default_depends depends_components: + - *common_components - bt - esp_phy - esp_coex diff --git a/examples/custom_bootloader/.build-test-rules.yml b/examples/custom_bootloader/.build-test-rules.yml index aac48e739e..d6c1b265ae 100644 --- a/examples/custom_bootloader/.build-test-rules.yml +++ b/examples/custom_bootloader/.build-test-rules.yml @@ -6,6 +6,7 @@ examples/custom_bootloader/bootloader_extra_dir: - if: IDF_TARGET not in ["esp32s3", "esp32c3"] reason: Testing on two diff architectures is sufficient depends_components: + - *common_components - bootloader_support examples/custom_bootloader/bootloader_hooks: @@ -13,6 +14,7 @@ examples/custom_bootloader/bootloader_hooks: - if: IDF_TARGET not in ["esp32s3", "esp32c3"] reason: Testing on two diff architectures is sufficient depends_components: + - *common_components - bootloader_support examples/custom_bootloader/bootloader_multiboot: @@ -24,6 +26,7 @@ examples/custom_bootloader/bootloader_multiboot: - if: IDF_TARGET not in ["esp32s3", "esp32c3"] reason: Testing on two diff architectures is sufficient depends_components: + - *common_components - bootloader_support examples/custom_bootloader/bootloader_override: @@ -31,4 +34,5 @@ examples/custom_bootloader/bootloader_override: - if: IDF_TARGET not in ["esp32s3", "esp32c3"] reason: Testing on two diff architectures is sufficient depends_components: + - *common_components - bootloader_support diff --git a/examples/cxx/.build-test-rules.yml b/examples/cxx/.build-test-rules.yml index b92a76f797..d4a73c2903 100644 --- a/examples/cxx/.build-test-rules.yml +++ b/examples/cxx/.build-test-rules.yml @@ -2,13 +2,16 @@ examples/cxx/exceptions: depends_components: + - *common_components - cxx examples/cxx/pthread: depends_components: + - *common_components - cxx - pthread examples/cxx/rtti: depends_components: + - *common_components - cxx diff --git a/examples/ethernet/.build-test-rules.yml b/examples/ethernet/.build-test-rules.yml index db3a8fbefb..58d7cf83e1 100644 --- a/examples/ethernet/.build-test-rules.yml +++ b/examples/ethernet/.build-test-rules.yml @@ -6,6 +6,7 @@ examples/ethernet/basic: disable: - if: IDF_TARGET not in ["esp32", "esp32p4"] depends_components: + - *common_components - esp_eth - esp_netif - lwip @@ -20,6 +21,7 @@ examples/ethernet/iperf: temporary: true reason: lack of runners depends_components: + - *common_components - esp_eth - esp_netif - lwip @@ -33,5 +35,6 @@ examples/ethernet/ptp: enable: - if: SOC_EMAC_IEEE1588V2_SUPPORTED == 1 depends_components: + - *common_components - esp_eth - esp_netif diff --git a/examples/get-started/.build-test-rules.yml b/examples/get-started/.build-test-rules.yml index 21df800558..35f08991ac 100644 --- a/examples/get-started/.build-test-rules.yml +++ b/examples/get-started/.build-test-rules.yml @@ -4,6 +4,7 @@ examples/get-started/blink: disable: - if: SOC_GPSPI_SUPPORTED != 1 and SOC_RMT_SUPPORTED != 1 # The blink example relies on the RMT or GPSPI to drive the led strip depends_components: + - *common_components - esp_driver_gpio - esp_driver_spi - esp_driver_rmt diff --git a/examples/ieee802154/.build-test-rules.yml b/examples/ieee802154/.build-test-rules.yml index d86f42e77b..8e28066666 100644 --- a/examples/ieee802154/.build-test-rules.yml +++ b/examples/ieee802154/.build-test-rules.yml @@ -2,6 +2,7 @@ .ieee802154_dependencies: &ieee802154_dependencies depends_components: + - *common_components - esp_coex - esp_phy - ieee802154 diff --git a/examples/network/.build-test-rules.yml b/examples/network/.build-test-rules.yml index b2f6bcd76e..5ad25892d2 100644 --- a/examples/network/.build-test-rules.yml +++ b/examples/network/.build-test-rules.yml @@ -9,6 +9,7 @@ examples/network/bridge: - if: IDF_TARGET != "esp32" reason: Generic functionality, no need to be run on specific targets depends_components: + - *common_components - esp_eth - esp_netif - lwip @@ -18,6 +19,7 @@ examples/network/eth2ap: disable: - if: SOC_WIFI_SUPPORTED != 1 depends_components: + - *common_components - esp_eth - esp_wifi @@ -25,6 +27,7 @@ examples/network/simple_sniffer: disable: - if: SOC_WIFI_SUPPORTED != 1 depends_components: + - *common_components - esp_wifi - fatfs - esp_eth @@ -33,6 +36,7 @@ examples/network/sta2eth: disable: - if: SOC_WIFI_SUPPORTED != 1 depends_components: + - *common_components - esp_eth - esp_wifi - protocomm @@ -48,5 +52,6 @@ examples/network/vlan_support: - if: IDF_TARGET not in ["esp32"] reason: Runner uses esp32 ethernet kit depends_components: + - *common_components - esp_eth - esp_netif diff --git a/examples/openthread/.build-test-rules.yml b/examples/openthread/.build-test-rules.yml index 68d32c708d..7a6d609585 100644 --- a/examples/openthread/.build-test-rules.yml +++ b/examples/openthread/.build-test-rules.yml @@ -4,6 +4,7 @@ # Or delete TODO without modifying the configuration if it is sure that current rules are correct. .openthread_dependencies: &openthread_dependencies depends_components: + - *common_components - esp_coex - esp_netif - esp_phy @@ -19,6 +20,7 @@ .openthread_sleep_dependencies: &openthread_sleep_dependencies depends_components: + - *common_components - esp_hw_support examples/openthread/ot_br: diff --git a/examples/peripherals/.build-test-rules.yml b/examples/peripherals/.build-test-rules.yml index 179602b017..65f0def3a4 100644 --- a/examples/peripherals/.build-test-rules.yml +++ b/examples/peripherals/.build-test-rules.yml @@ -2,6 +2,7 @@ .adc_dependencies: &adc_dependencies depends_components: + - *common_components - esp_adc - efuse - esp_driver_i2s @@ -21,6 +22,7 @@ examples/peripherals/analog_comparator: disable: - if: SOC_ANA_CMPR_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_gpio - esp_driver_ana_cmpr @@ -28,12 +30,14 @@ examples/peripherals/bitscrambler: disable: - if: SOC_BITSCRAMBLER_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_bitscrambler examples/peripherals/camera/dvp_dsi: disable: - if: SOC_LCDCAM_CAM_SUPPORTED != 1 or SOC_MIPI_DSI_SUPPORTED != 1 depends_components: + - *common_components - esp_lcd - esp_driver_cam @@ -41,6 +45,7 @@ examples/peripherals/camera/dvp_isp_dsi: disable: - if: SOC_ISP_DVP_SUPPORTED != 1 or SOC_MIPI_DSI_SUPPORTED != 1 depends_components: + - *common_components - esp_lcd - esp_driver_cam @@ -52,6 +57,7 @@ examples/peripherals/camera/dvp_spi_lcd: temporary: true reason: lack of runners depends_components: + - *common_components - esp_lcd - esp_driver_cam @@ -59,6 +65,7 @@ examples/peripherals/camera/mipi_isp_dsi: disable: - if: SOC_MIPI_CSI_SUPPORTED != 1 or SOC_MIPI_DSI_SUPPORTED != 1 depends_components: + - *common_components - esp_lcd - esp_driver_cam @@ -70,6 +77,7 @@ examples/peripherals/dac/dac_cosine_wave: disable: - if: SOC_DAC_SUPPORTED != 1 depends_components: + - *common_components - esp_adc - efuse - esp_driver_i2s @@ -78,6 +86,7 @@ examples/peripherals/dac/dac_cosine_wave: examples/peripherals/gpio: depends_components: + - *common_components - esp_driver_gpio - esp_hal_gpio @@ -90,24 +99,28 @@ examples/peripherals/h264: - if: IDF_TARGET in ["esp32p4", "esp32s3"] reason: only supports esp32p4 and esp32s3 depends_components: + - *common_components - esp_h264 examples/peripherals/i2c/i2c_basic: disable: - if: SOC_I2C_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_i2c examples/peripherals/i2c/i2c_eeprom: disable: - if: SOC_I2C_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_i2c examples/peripherals/i2c/i2c_slave_network_sensor: disable: - if: SOC_I2C_SLAVE_CAN_GET_STRETCH_CAUSE != 1 or (SOC_WIFI_SUPPORTED != 1 and SOC_EMAC_SUPPORTED != 1) depends_components: + - *common_components - esp_driver_i2c - protocol_examples_common @@ -119,6 +132,7 @@ examples/peripherals/i2c/i2c_tools: temporary: true reason: lack of runners depends_components: + - *common_components - esp_driver_i2c depends_filepatterns: - examples/system/console/advanced/components/**/* @@ -127,6 +141,7 @@ examples/peripherals/i2c/i2c_u8g2: disable: - if: SOC_I2C_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_i2c disable_test: - if: IDF_TARGET not in ["esp32c3"] @@ -142,6 +157,7 @@ examples/peripherals/i2s/i2s_advance/i2s_usb: temporary: true reason: usb_device_uac does not support esp32h4 depends_components: + - *common_components - esp_driver_i2s - esp_driver_i2c @@ -149,18 +165,21 @@ examples/peripherals/i2s/i2s_basic/i2s_pdm: disable: - if: SOC_I2S_SUPPORTS_PDM != 1 depends_components: + - *common_components - esp_driver_i2s examples/peripherals/i2s/i2s_basic/i2s_std: disable: - if: SOC_I2S_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_i2s examples/peripherals/i2s/i2s_basic/i2s_tdm: disable: - if: SOC_I2S_SUPPORTS_TDM != 1 depends_components: + - *common_components - esp_driver_i2s examples/peripherals/i2s/i2s_codec/i2s_es7210_tdm: @@ -172,6 +191,7 @@ examples/peripherals/i2s/i2s_codec/i2s_es7210_tdm: temporary: true reason: lack of runners depends_components: + - *common_components - esp_driver_i2s - esp_driver_i2c - esp_driver_spi @@ -181,6 +201,7 @@ examples/peripherals/i2s/i2s_codec/i2s_es8311: - if: (SOC_I2S_SUPPORTED != 1 or SOC_I2C_SUPPORTED != 1) reason: rely on I2S STD mode and I2C to config es7210 depends_components: + - *common_components - esp_driver_i2s - esp_driver_i2c @@ -190,6 +211,7 @@ examples/peripherals/i2s/i2s_recorder: enable: - if: SOC_I2S_SUPPORTS_PDM_RX > 0 depends_components: + - *common_components - esp_driver_spi - esp_driver_i2s @@ -197,12 +219,14 @@ examples/peripherals/i3c/i3c_i2c_basic: disable: - if: SOC_I3C_MASTER_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_i3c examples/peripherals/i3c/i3c_lsm6dscx: disable: - if: SOC_I3C_MASTER_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_i3c examples/peripherals/isp/multi_pipelines: @@ -211,6 +235,7 @@ examples/peripherals/isp/multi_pipelines: - if: SOC_MIPI_DSI_SUPPORTED != 1 - if: SOC_ISP_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_isp - esp_driver_cam - esp_lcd @@ -219,18 +244,21 @@ examples/peripherals/jpeg/jpeg_decode: disable: - if: SOC_JPEG_CODEC_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_jpeg examples/peripherals/jpeg/jpeg_encode: disable: - if: SOC_JPEG_ENCODE_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_jpeg examples/peripherals/lcd/i2c_oled: disable: - if: SOC_I2C_SUPPORTED != 1 depends_components: + - *common_components - esp_lcd - esp_driver_i2c @@ -238,6 +266,7 @@ examples/peripherals/lcd/i80_controller: disable: - if: SOC_LCD_I80_SUPPORTED != 1 depends_components: + - *common_components - esp_lcd - esp_driver_i2s @@ -245,12 +274,14 @@ examples/peripherals/lcd/mipi_dsi: disable: - if: SOC_LCD_MIPI_DSI_SUPPORTED != 1 depends_components: + - *common_components - esp_lcd examples/peripherals/lcd/parlio_simulate: disable: - if: SOC_PARLIO_LCD_SUPPORTED != 1 depends_components: + - *common_components - esp_lcd - esp_driver_parlio @@ -258,12 +289,14 @@ examples/peripherals/lcd/rgb_panel: disable: - if: SOC_LCD_RGB_SUPPORTED != 1 depends_components: + - *common_components - esp_lcd examples/peripherals/lcd/spi_lcd_touch: disable: - if: SOC_GPSPI_SUPPORTED != 1 depends_components: + - *common_components - esp_lcd - esp_driver_spi @@ -271,6 +304,7 @@ examples/peripherals/lcd/tjpgd: disable: - if: SOC_GPSPI_SUPPORTED != 1 depends_components: + - *common_components - esp_lcd - esp_driver_spi @@ -278,6 +312,7 @@ examples/peripherals/ledc: disable: - if: SOC_LEDC_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_ledc - esp_hal_ledc @@ -293,12 +328,14 @@ examples/peripherals/mcpwm: disable: - if: SOC_MCPWM_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_mcpwm examples/peripherals/mcpwm/mcpwm_bdc_speed_control: disable: - if: SOC_MCPWM_SUPPORTED != 1 or SOC_PCNT_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_mcpwm - esp_driver_pcnt disable_test: @@ -310,6 +347,7 @@ examples/peripherals/mcpwm/mcpwm_bldc_hall_control: disable: - if: SOC_MCPWM_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_mcpwm disable_test: - if: IDF_TARGET != "esp32s3" @@ -320,12 +358,14 @@ examples/peripherals/mcpwm/mcpwm_capture_hc_sr04: disable: - if: SOC_MCPWM_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_mcpwm examples/peripherals/mcpwm/mcpwm_foc_svpwm_open_loop: disable: - if: SOC_MCPWM_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_mcpwm disable_test: - if: IDF_TARGET != "esp32s3" @@ -336,24 +376,28 @@ examples/peripherals/mcpwm/mcpwm_servo_control: disable: - if: SOC_MCPWM_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_mcpwm examples/peripherals/mcpwm/mcpwm_sync: disable: - if: SOC_MCPWM_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_mcpwm examples/peripherals/parlio: disable: - if: SOC_PARLIO_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_parlio examples/peripherals/parlio/parlio_rx: disable: - if: SOC_PARLIO_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_parlio - protocol_examples_common @@ -361,6 +405,7 @@ examples/peripherals/parlio/parlio_tx/advanced_rgb_led_matrix: disable: - if: (SOC_PARLIO_SUPPORTED != 1 or SOC_PARLIO_TX_SUPPORT_LOOP_TRANSMISSION != 1) or SOC_PARLIO_TX_UNIT_MAX_DATA_WIDTH < 16 depends_components: + - *common_components - esp_driver_parlio examples/peripherals/parlio/parlio_tx/simple_rgb_led_matrix: @@ -371,18 +416,21 @@ examples/peripherals/parlio/parlio_tx/simple_rgb_led_matrix: temporary: true reason: lack of runners depends_components: + - *common_components - esp_driver_parlio examples/peripherals/pcnt: disable: - if: SOC_PCNT_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_pcnt examples/peripherals/ppa/ppa_dsi: disable: - if: SOC_PPA_SUPPORTED != 1 or SOC_MIPI_DSI_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_ppa - esp_hal_ppa - esp_lcd @@ -391,6 +439,7 @@ examples/peripherals/rmt: disable: - if: SOC_RMT_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_rmt examples/peripherals/rmt/ir_nec_transceiver: @@ -401,6 +450,7 @@ examples/peripherals/rmt/ir_nec_transceiver: temporary: true reason: lack of runners depends_components: + - *common_components - esp_driver_rmt examples/peripherals/rmt/musical_buzzer: @@ -408,6 +458,7 @@ examples/peripherals/rmt/musical_buzzer: - if: SOC_RMT_SUPPORTED != 1 - if: SOC_RMT_SUPPORT_TX_LOOP_COUNT != 1 depends_components: + - *common_components - esp_driver_rmt examples/peripherals/rmt/stepper_motor: @@ -415,6 +466,7 @@ examples/peripherals/rmt/stepper_motor: - if: SOC_RMT_SUPPORTED != 1 - if: SOC_RMT_SUPPORT_TX_LOOP_AUTO_STOP != 1 depends_components: + - *common_components - esp_driver_rmt examples/peripherals/sdio/host: @@ -432,6 +484,7 @@ examples/peripherals/sdio/host: temporary: true reason: lack of runners depends_components: + - *common_components - esp_driver_sdio examples/peripherals/sdio/slave: @@ -442,12 +495,14 @@ examples/peripherals/sdio/slave: temporary: true reason: lack of runners depends_components: + - *common_components - esp_driver_sdio examples/peripherals/sigma_delta: disable: - if: SOC_SDM_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_sdm - esp_hal_gpio @@ -483,18 +538,21 @@ examples/peripherals/temperature_sensor/temp_sensor: disable: - if: SOC_TEMP_SENSOR_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_tsens examples/peripherals/temperature_sensor/temp_sensor_monitor: disable: - if: SOC_TEMPERATURE_SENSOR_INTR_SUPPORT != 1 depends_components: + - *common_components - esp_driver_tsens examples/peripherals/timer_group/gptimer: disable: - if: SOC_GPTIMER_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_gptimer - esp_hal_timg @@ -502,6 +560,7 @@ examples/peripherals/timer_group/gptimer_capture_hc_sr04: disable: - if: SOC_ETM_SUPPORTED != 1 or SOC_TIMER_SUPPORT_ETM != 1 depends_components: + - *common_components - esp_driver_gptimer - esp_hal_timg @@ -509,6 +568,7 @@ examples/peripherals/timer_group/wiegand_interface: disable: - if: SOC_GPTIMER_SUPPORTED != 1 or IDF_TARGET in ["esp32c2"] depends_components: + - *common_components - esp_driver_gptimer - esp_hal_timg @@ -520,12 +580,14 @@ examples/peripherals/touch_sensor/touch_sens_basic: disable: - if: SOC_TOUCH_SENSOR_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_touch_sens examples/peripherals/touch_sensor/touch_sens_sleep: disable: - if: SOC_TOUCH_SENSOR_SUPPORTED != 1 or SOC_PM_SUPPORT_TOUCH_SENSOR_WAKEUP != 1 depends_components: + - *common_components - esp_driver_touch_sens examples/peripherals/twai/cybergear: @@ -536,6 +598,7 @@ examples/peripherals/twai/cybergear: temporary: true reason: p4 rev3 migration # TODO: IDF-14393 depends_components: + - *common_components - esp_driver_twai examples/peripherals/twai/twai_error_recovery: @@ -546,6 +609,7 @@ examples/peripherals/twai/twai_error_recovery: temporary: true reason: p4 rev3 migration # TODO: IDF-14393 depends_components: + - *common_components - esp_driver_twai examples/peripherals/twai/twai_network/twai_listen_only: @@ -556,6 +620,7 @@ examples/peripherals/twai/twai_network/twai_listen_only: temporary: true reason: p4 rev3 migration # TODO: IDF-14393 depends_components: + - *common_components - esp_driver_twai examples/peripherals/twai/twai_network/twai_sender: @@ -566,6 +631,7 @@ examples/peripherals/twai/twai_network/twai_sender: temporary: true reason: p4 rev3 migration # TODO: IDF-14393 depends_components: + - *common_components - esp_driver_twai examples/peripherals/twai/twai_utils: @@ -576,6 +642,7 @@ examples/peripherals/twai/twai_utils: temporary: true reason: p4 rev3 migration # TODO: IDF-14393 depends_components: + - *common_components - esp_driver_twai examples/peripherals/uart/uart_dma_ota: @@ -598,6 +665,7 @@ examples/peripherals/usb/device: temporary: true reason: lack of runners with usb_device tag depends_components: + - *common_components - fatfs - esp_hw_support # for usb_phy depends_filepatterns: @@ -620,6 +688,7 @@ examples/peripherals/usb/device/tusb_ncm: temporary: true reason: lack of runners with usb_device tag depends_components: + - *common_components - esp_wifi depends_filepatterns: - examples/peripherals/usb/device/tusb_ncm/**/* @@ -632,6 +701,7 @@ examples/peripherals/usb/host: temporary: true reason: lack of runners with usb_host_flash_disk tag depends_components: + - *common_components - fatfs - esp_hal_usb - esp_hw_support # for usb_phy @@ -655,4 +725,5 @@ examples/peripherals/usb_serial_jtag/usb_serial_jtag_echo: temporary: true reason: lack of runners. Hardware is similar, test on one target is enough currently. depends_components: + - *common_components - esp_driver_usb_serial_jtag diff --git a/examples/protocols/.build-test-rules.yml b/examples/protocols/.build-test-rules.yml index 8813bcf72b..a504dec808 100644 --- a/examples/protocols/.build-test-rules.yml +++ b/examples/protocols/.build-test-rules.yml @@ -2,6 +2,7 @@ .default_rules: &default_rules depends_components: + - *common_components - lwip - esp_netif - esp_wifi diff --git a/examples/security/.build-test-rules.yml b/examples/security/.build-test-rules.yml index 364c8c4d4e..2eba545b18 100644 --- a/examples/security/.build-test-rules.yml +++ b/examples/security/.build-test-rules.yml @@ -14,6 +14,7 @@ examples/security/flash_encryption: temporary: true reason: lack of runners depends_components: + - *common_components - bootloader_support examples/security/hmac_soft_jtag: @@ -23,6 +24,7 @@ examples/security/hmac_soft_jtag: - if: IDF_TARGET not in ["esp32c6"] reason: sufficient to test on one HMAC-capable chip depends_components: + - *common_components - esp_hw_support depends_filepatterns: - examples/security/hmac_soft_jtag/**/* @@ -35,6 +37,7 @@ examples/security/nvs_encryption_hmac: temporary: true reason: lack of runners depends_components: + - *common_components - nvs_flash - nvs_sec_provider depends_filepatterns: @@ -44,12 +47,14 @@ examples/security/security_features_app: disable: - if: IDF_TARGET not in ["esp32c3", "esp32s3"] depends_components: + - *common_components - bootloader_support examples/security/tee/tee_attestation: enable: - if: IDF_TARGET in ["esp32c6", "esp32h2", "esp32c5", "esp32c61"] depends_components: + - *common_components - esp_tee depends_filepatterns: - examples/security/tee/tee_attestation/**/* @@ -58,6 +63,7 @@ examples/security/tee/tee_basic: enable: - if: IDF_TARGET in ["esp32c6", "esp32h2", "esp32c5", "esp32c61"] depends_components: + - *common_components - esp_tee depends_filepatterns: - examples/security/tee/tee_basic/**/* @@ -66,6 +72,7 @@ examples/security/tee/tee_secure_ota: enable: - if: IDF_TARGET in ["esp32c6", "esp32c5", "esp32c61"] depends_components: + - *common_components - esp_tee - protocol_examples_common depends_filepatterns: @@ -75,6 +82,7 @@ examples/security/tee/tee_secure_storage: enable: - if: IDF_TARGET in ["esp32c6", "esp32h2", "esp32c5", "esp32c61"] depends_components: + - *common_components - esp_tee depends_filepatterns: - examples/security/tee/tee_secure_storage/**/* diff --git a/examples/storage/.build-test-rules.yml b/examples/storage/.build-test-rules.yml index 2b8873e91e..26ec9249bd 100644 --- a/examples/storage/.build-test-rules.yml +++ b/examples/storage/.build-test-rules.yml @@ -2,10 +2,12 @@ examples/storage/custom_flash_driver: depends_components: + - *common_components - spi_flash examples/storage/emmc: depends_components: + - *common_components - fatfs - vfs - sdmmc @@ -17,6 +19,7 @@ examples/storage/emmc: examples/storage/partition_api/partition_find: depends_components: + - *common_components - esp_partition disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3"] @@ -24,6 +27,7 @@ examples/storage/partition_api/partition_find: examples/storage/partition_api/partition_mmap: depends_components: + - *common_components - esp_partition disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3"] @@ -31,6 +35,7 @@ examples/storage/partition_api/partition_mmap: examples/storage/partition_api/partition_ops: depends_components: + - *common_components - esp_partition - spi_flash disable_test: @@ -39,6 +44,7 @@ examples/storage/partition_api/partition_ops: examples/storage/parttool: depends_components: + - *common_components - partition_table disable_test: - if: IDF_TARGET != "esp32" @@ -46,6 +52,7 @@ examples/storage/parttool: examples/storage/perf_benchmark: depends_components: + - *common_components - fatfs - spi_flash - vfs @@ -65,6 +72,7 @@ examples/storage/perf_benchmark: examples/storage/sd_card/sdmmc: depends_components: + - *common_components - fatfs - vfs - sdmmc @@ -78,6 +86,7 @@ examples/storage/sd_card/sdmmc: examples/storage/sd_card/sdspi: depends_components: + - *common_components - fatfs - vfs - sdmmc @@ -90,6 +99,7 @@ examples/storage/sd_card/sdspi: examples/storage/semihost_vfs: depends_components: + - *common_components - vfs disable_test: - if: IDF_TARGET not in ["esp32"] @@ -98,6 +108,7 @@ examples/storage/semihost_vfs: examples/storage/spiffs: depends_components: + - *common_components - spiffs - vfs disable_test: @@ -106,6 +117,7 @@ examples/storage/spiffs: examples/storage/spiffsgen: depends_components: + - *common_components - spiffs - vfs - mbedtls @@ -115,6 +127,7 @@ examples/storage/spiffsgen: examples/storage/wear_levelling: depends_components: + - *common_components - vfs - wear_levelling - fatfs diff --git a/examples/storage/fatfs/.build-test-rules.yml b/examples/storage/fatfs/.build-test-rules.yml index 310eb47659..152eee5fae 100644 --- a/examples/storage/fatfs/.build-test-rules.yml +++ b/examples/storage/fatfs/.build-test-rules.yml @@ -2,6 +2,7 @@ examples/storage/fatfs: depends_components: + - *common_components - fatfs - vfs disable_test: @@ -10,6 +11,7 @@ examples/storage/fatfs: examples/storage/fatfs/ext_flash: depends_components: + - *common_components - fatfs - vfs - spi_flash diff --git a/examples/storage/nvs/.build-test-rules.yml b/examples/storage/nvs/.build-test-rules.yml index 3cff03bd55..dd8eaf5491 100644 --- a/examples/storage/nvs/.build-test-rules.yml +++ b/examples/storage/nvs/.build-test-rules.yml @@ -2,6 +2,7 @@ examples/storage/nvs/nvs_bootloader: depends_components: + - *common_components - nvs_flash - nvs_sec_provider disable: @@ -14,6 +15,7 @@ examples/storage/nvs/nvs_bootloader: examples/storage/nvs/nvs_console: depends_components: + - *common_components - nvs_flash - console - vfs @@ -23,12 +25,14 @@ examples/storage/nvs/nvs_console: examples/storage/nvs/nvs_iteration: depends_components: + - *common_components - nvs_flash disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3"] reason: only one target per arch needed examples/storage/nvs/nvs_rw_blob: depends_components: + - *common_components - nvs_flash disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3"] @@ -36,6 +40,7 @@ examples/storage/nvs/nvs_rw_blob: examples/storage/nvs/nvs_rw_value: depends_components: + - *common_components - nvs_flash disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3"] @@ -43,6 +48,7 @@ examples/storage/nvs/nvs_rw_value: examples/storage/nvs/nvs_rw_value_cxx: depends_components: + - *common_components - nvs_flash disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3"] @@ -50,6 +56,7 @@ examples/storage/nvs/nvs_rw_value_cxx: examples/storage/nvs/nvs_statistics: depends_components: + - *common_components - nvs_flash disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3"] @@ -57,6 +64,7 @@ examples/storage/nvs/nvs_statistics: examples/storage/nvs/nvsgen: depends_components: + - *common_components - nvs_flash disable_test: - if: IDF_TARGET != "esp32" diff --git a/examples/system/.build-test-rules.yml b/examples/system/.build-test-rules.yml index 2eabc34a7c..20513bcde3 100644 --- a/examples/system/.build-test-rules.yml +++ b/examples/system/.build-test-rules.yml @@ -11,6 +11,7 @@ examples/system/app_trace_basic: examples/system/base_mac_address: depends_components: + - *common_components - esp_hw_support examples/system/deep_sleep: @@ -40,19 +41,23 @@ examples/system/efuse: temporary: true reason: not support yet # TODO: [ESP32S31] IDF-14688 depends_components: + - *common_components - efuse - bootloader_support examples/system/esp_event/default_event_loop: depends_components: + - *common_components - esp_event examples/system/esp_event/user_event_loops: depends_components: + - *common_components - esp_event examples/system/esp_timer: depends_components: + - *common_components - esp_timer examples/system/eventfd: @@ -60,6 +65,7 @@ examples/system/eventfd: - if: SOC_GPTIMER_SUPPORTED != 1 and (IDF_TARGET != "esp32" and (NIGHTLY_RUN != "1" or IDF_TARGET == "linux")) or IDF_TARGET in ["esp32s31"] # TODO: [ESP32S31] IDF-14932 reason: no target specific functionality, testing on a single target is sufficient depends_components: + - *common_components - vfs - esp_driver_gptimer @@ -83,6 +89,7 @@ examples/system/heap_task_tracking: - if: IDF_TARGET != "esp32c3" and (NIGHTLY_RUN != "1" or IDF_TARGET == "linux") reason: no target specific functionality, testing on a single target is sufficient depends_components: + - *common_components - heap examples/system/himem: @@ -95,6 +102,7 @@ examples/system/ipc/ipc_isr/riscv: - if: IDF_TARGET in ["esp32p4"] reason: The test is intended only for multi-core chips depends_components: + - *common_components - esp_system examples/system/ipc/ipc_isr/xtensa: @@ -102,6 +110,7 @@ examples/system/ipc/ipc_isr/xtensa: - if: IDF_TARGET in ["esp32", "esp32s3"] reason: The test is intended only for multi-core chips depends_components: + - *common_components - esp_system examples/system/light_sleep: @@ -123,6 +132,7 @@ examples/system/ota/advanced_https_ota: temporary: true reason: lack of runners depends_components: + - *common_components - app_update - esp_https_ota - esp_http_client @@ -143,6 +153,7 @@ examples/system/ota/native_ota_example: - if: IDF_TARGET != "esp32" reason: Only esp32 has ethernet runners depends_components: + - *common_components - app_update - esp_https_ota - esp_http_client @@ -172,6 +183,7 @@ examples/system/ota/partitions_ota: temporary: true reason: lack of runners with recovery_bootloader lablel depends_components: + - *common_components - app_update - esp_https_ota - esp_http_client @@ -202,6 +214,7 @@ examples/system/ota/simple_ota_example: temporary: true reason: lack of runners depends_components: + - *common_components - app_update - esp_https_ota - esp_http_client @@ -220,6 +233,7 @@ examples/system/perfmon: - if: IDF_TARGET == "esp32" reason: testing on a single target is sufficient depends_components: + - *common_components - perfmon examples/system/pthread: @@ -227,6 +241,7 @@ examples/system/pthread: - if: IDF_TARGET != "esp32" and (NIGHTLY_RUN != "1" or IDF_TARGET == "linux") reason: no target specific functionality, testing on a single target is sufficient depends_components: + - *common_components - pthread examples/system/rt_mqueue: @@ -234,6 +249,7 @@ examples/system/rt_mqueue: - if: IDF_TARGET != "esp32" and (NIGHTLY_RUN != "1" or IDF_TARGET == "linux") reason: no target specific functionality, testing on a single target is sufficient depends_components: + - *common_components - rt examples/system/select: @@ -241,6 +257,7 @@ examples/system/select: - if: IDF_TARGET != "esp32c3" and (NIGHTLY_RUN != "1" or IDF_TARGET == "linux") reason: no target specific functionality, testing on a single target is sufficient depends_components: + - *common_components - vfs examples/system/sysview_tracing: @@ -270,6 +287,7 @@ examples/system/task_watchdog: - if: IDF_TARGET != "esp32" and (NIGHTLY_RUN != "1" or IDF_TARGET == "linux") reason: no target specific functionality, testing on a single target is sufficient depends_components: + - *common_components - esp_system examples/system/unit_test/: @@ -277,6 +295,7 @@ examples/system/unit_test/: - if: IDF_TARGET != "esp32" and (NIGHTLY_RUN != "1" or IDF_TARGET == "linux") reason: no target specific functionality, testing on a single target is sufficient depends_components: + - *common_components - unity examples/system/xip_from_psram: diff --git a/examples/system/console/.build-test-rules.yml b/examples/system/console/.build-test-rules.yml index ad2fa9f681..fea468f6f4 100644 --- a/examples/system/console/.build-test-rules.yml +++ b/examples/system/console/.build-test-rules.yml @@ -3,6 +3,7 @@ examples/system/console/advanced: - if: IDF_TARGET not in ["esp32", "esp32c3"] # IDF-9120 and IDF-9133 reason: Sufficient to run this app on one chip with each architecture depends_components: + - *common_components - console - esp_driver_uart - esp_driver_usb_serial_jtag @@ -15,6 +16,7 @@ examples/system/console/basic: - if: IDF_TARGET not in ["esp32", "esp32c3"] reason: Sufficient to run this app on one chip with each architecture depends_components: + - *common_components - console - esp_driver_uart - esp_driver_usb_serial_jtag diff --git a/examples/system/freertos/.build-test-rules.yml b/examples/system/freertos/.build-test-rules.yml index dbd4256a46..69d3b1b57c 100644 --- a/examples/system/freertos/.build-test-rules.yml +++ b/examples/system/freertos/.build-test-rules.yml @@ -3,6 +3,7 @@ examples/system/freertos/basic_freertos_smp_usage: - if: IDF_TARGET == "esp32c3" or IDF_TARGET == "esp32s3" reason: no target specific functionality, testing on a single core target and a multiple core target is sufficient depends_components: + - *common_components - freertos examples/system/freertos/real_time_stats: @@ -10,4 +11,5 @@ examples/system/freertos/real_time_stats: - if: IDF_TARGET != "esp32" and (NIGHTLY_RUN != "1" or IDF_TARGET == "linux") reason: no target specific functionality, testing on a single target is sufficient depends_components: + - *common_components - freertos diff --git a/examples/system/heap_task_tracking/.build-test-rules.yml b/examples/system/heap_task_tracking/.build-test-rules.yml index 649727e178..6c71104645 100644 --- a/examples/system/heap_task_tracking/.build-test-rules.yml +++ b/examples/system/heap_task_tracking/.build-test-rules.yml @@ -1,11 +1,13 @@ examples/system/heap_task_tracking/advanced: depends_components: + - *common_components - heap - soc - esp_psram examples/system/heap_task_tracking/basic: depends_components: + - *common_components - heap - soc - esp_psram diff --git a/examples/system/ulp/.build-test-rules.yml b/examples/system/ulp/.build-test-rules.yml index 81f86a1f2f..925b72e0b8 100644 --- a/examples/system/ulp/.build-test-rules.yml +++ b/examples/system/ulp/.build-test-rules.yml @@ -4,6 +4,7 @@ examples/system/ulp/lp_core/build_system: enable: - if: SOC_LP_CORE_SUPPORTED == 1 depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -12,6 +13,7 @@ examples/system/ulp/lp_core/debugging: enable: - if: SOC_LP_CORE_SUPPORTED == 1 depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -22,6 +24,7 @@ examples/system/ulp/lp_core/gpio: enable: - if: (SOC_LP_CORE_SUPPORTED == 1) and (SOC_RTCIO_PIN_COUNT > 0) depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -31,6 +34,7 @@ examples/system/ulp/lp_core/gpio_intr_pulse_counter: enable: - if: (SOC_LP_CORE_SUPPORTED == 1) and (SOC_ULP_LP_UART_SUPPORTED == 1 and SOC_DEEP_SLEEP_SUPPORTED == 1) depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -40,6 +44,7 @@ examples/system/ulp/lp_core/gpio_wakeup: enable: - if: (SOC_LP_CORE_SUPPORTED == 1) and (SOC_RTCIO_PIN_COUNT > 0) depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -50,6 +55,7 @@ examples/system/ulp/lp_core/inter_cpu_critical_section/: enable: - if: SOC_LP_CORE_SUPPORTED == 1 depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -58,6 +64,7 @@ examples/system/ulp/lp_core/interrupt: enable: - if: SOC_LP_CORE_SUPPORTED == 1 depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -66,6 +73,7 @@ examples/system/ulp/lp_core/lp_adc: disable: - if: (SOC_LP_ADC_SUPPORTED != 1) depends_components: + - *common_components - ulp - esp_adc - esp_hw_support @@ -77,6 +85,7 @@ examples/system/ulp/lp_core/lp_i2c: enable: - if: SOC_LP_I2C_SUPPORTED == 1 and SOC_DEEP_SLEEP_SUPPORTED == 1 depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -86,6 +95,7 @@ examples/system/ulp/lp_core/lp_mailbox: enable: - if: SOC_LP_CORE_SUPPORTED == 1 depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -94,6 +104,7 @@ examples/system/ulp/lp_core/lp_spi: enable: - if: SOC_LP_SPI_SUPPORTED == 1 and SOC_DEEP_SLEEP_SUPPORTED == 1 depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -103,6 +114,7 @@ examples/system/ulp/lp_core/lp_timer_interrupt: disable: - if: (SOC_LP_CORE_SUPPORTED != 1) or (SOC_LP_TIMER_SUPPORTED != 1) depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -111,6 +123,7 @@ examples/system/ulp/lp_core/lp_touch: enable: - if: SOC_TOUCH_SENSOR_SUPPORTED == 1 and (SOC_DEEP_SLEEP_SUPPORTED == 1 and SOC_LP_CORE_SUPPORTED == 1) depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -121,6 +134,7 @@ examples/system/ulp/lp_core/lp_uart/lp_uart_char_seq_wakeup: disable: - if: (SOC_ULP_LP_UART_SUPPORTED != 1) depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -130,6 +144,7 @@ examples/system/ulp/lp_core/lp_uart/lp_uart_echo: disable: - if: (SOC_ULP_LP_UART_SUPPORTED != 1) or (SOC_DEEP_SLEEP_SUPPORTED != 1) depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -139,6 +154,7 @@ examples/system/ulp/lp_core/lp_uart/lp_uart_print: disable: - if: (SOC_ULP_LP_UART_SUPPORTED != 1) or (SOC_DEEP_SLEEP_SUPPORTED != 1) depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -148,6 +164,7 @@ examples/system/ulp/ulp_fsm/ulp: disable: - if: SOC_ULP_FSM_SUPPORTED != 1 depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -158,6 +175,7 @@ examples/system/ulp/ulp_fsm/ulp_adc: temporary: true reason: the other targets are not tested yet depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -168,6 +186,7 @@ examples/system/ulp/ulp_riscv/adc: enable: - if: SOC_RISCV_COPROC_SUPPORTED == 1 depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -180,6 +199,7 @@ examples/system/ulp/ulp_riscv/ds18b20_onewire: temporary: true reason: the other targets are not tested yet depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -189,6 +209,7 @@ examples/system/ulp/ulp_riscv/gpio: enable: - if: SOC_RISCV_COPROC_SUPPORTED == 1 depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -198,6 +219,7 @@ examples/system/ulp/ulp_riscv/gpio_interrupt: enable: - if: SOC_RISCV_COPROC_SUPPORTED == 1 depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -208,6 +230,7 @@ examples/system/ulp/ulp_riscv/gpio_pulse_counter: enable: - if: SOC_RISCV_COPROC_SUPPORTED == 1 depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -217,6 +240,7 @@ examples/system/ulp/ulp_riscv/i2c: enable: - if: SOC_RISCV_COPROC_SUPPORTED == 1 depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -226,6 +250,7 @@ examples/system/ulp/ulp_riscv/interrupts: enable: - if: SOC_RISCV_COPROC_SUPPORTED == 1 depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -234,6 +259,7 @@ examples/system/ulp/ulp_riscv/touch: enable: - if: SOC_RISCV_COPROC_SUPPORTED == 1 depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu @@ -244,6 +270,7 @@ examples/system/ulp/ulp_riscv/uart_print: enable: - if: SOC_RISCV_COPROC_SUPPORTED == 1 depends_components: + - *common_components - ulp - esp_hw_support - esp_hal_pmu diff --git a/examples/wifi/.build-test-rules.yml b/examples/wifi/.build-test-rules.yml index 2ee5860724..229dc51e25 100644 --- a/examples/wifi/.build-test-rules.yml +++ b/examples/wifi/.build-test-rules.yml @@ -2,6 +2,7 @@ .wifi_depends_default: &wifi_depends_default depends_components: + - *common_components - esp_wifi - esp_phy - esp_netif @@ -56,6 +57,7 @@ examples/wifi/iperf: temporary: true reason: lack of runners depends_components: + - *common_components - esp_wifi - esp_phy - esp_netif @@ -75,6 +77,7 @@ examples/wifi/power_save: temporary: true reason: requires hardware support depends_components: + - *common_components - esp_wifi - esp_phy - esp_netif @@ -100,6 +103,7 @@ examples/wifi/wifi_aware/nan_console: - if: SOC_WIFI_NAN_SUPPORT != 1 reason: targets esp32c3, esp32s3, esp32c2 and esp32c6 are not supported depends_components: + - *common_components - esp_wifi - esp_phy - esp_netif @@ -116,6 +120,7 @@ examples/wifi/wifi_aware/nan_publisher: - if: SOC_WIFI_NAN_SUPPORT != 1 reason: targets esp32c3, esp32s3, esp32c2 and esp32c6 are not supported depends_components: + - *common_components - esp_wifi - esp_phy - esp_netif @@ -130,6 +135,7 @@ examples/wifi/wifi_aware/nan_subscriber: - if: SOC_WIFI_NAN_SUPPORT != 1 reason: targets esp32c3, esp32s3, esp32c2 and esp32c6 are not supported depends_components: + - *common_components - esp_wifi - esp_phy - esp_netif diff --git a/examples/zigbee/.build-test-rules.yml b/examples/zigbee/.build-test-rules.yml index 83ab36aeb5..73e5bca55b 100644 --- a/examples/zigbee/.build-test-rules.yml +++ b/examples/zigbee/.build-test-rules.yml @@ -2,6 +2,7 @@ .zigbee_dependencies: &zigbee_dependencies depends_components: + - *common_components - ieee802154 - openthread - protocol_examples_common diff --git a/tools/test_apps/linux_compatible/.build-test-rules.yml b/tools/test_apps/linux_compatible/.build-test-rules.yml index 000f0d0f2a..2daceb4b61 100644 --- a/tools/test_apps/linux_compatible/.build-test-rules.yml +++ b/tools/test_apps/linux_compatible/.build-test-rules.yml @@ -4,6 +4,7 @@ tools/test_apps/linux_compatible/generic_build_test: enable: - if: IDF_TARGET in ["esp32", "esp32c3", "linux"] depends_components: + - *common_components - pthread tools/test_apps/linux_compatible/linux_freertos: diff --git a/tools/test_apps/phy/.build-test-rules.yml b/tools/test_apps/phy/.build-test-rules.yml index 2a99e4241a..254cca151a 100644 --- a/tools/test_apps/phy/.build-test-rules.yml +++ b/tools/test_apps/phy/.build-test-rules.yml @@ -11,6 +11,7 @@ tools/test_apps/phy/phy_tsens: disable: - if: (SOC_WIFI_SUPPORTED != 1 or SOC_TEMP_SENSOR_SUPPORTED != 1) or SOC_LIGHT_SLEEP_SUPPORTED != 1 depends_components: + - *common_components - hal - esp_phy - esp_hw_support diff --git a/tools/test_apps/protocols/.build-test-rules.yml b/tools/test_apps/protocols/.build-test-rules.yml index e9aa2f5d19..e17a463fbb 100644 --- a/tools/test_apps/protocols/.build-test-rules.yml +++ b/tools/test_apps/protocols/.build-test-rules.yml @@ -6,6 +6,7 @@ tools/test_apps/protocols/esp_netif/build_config: temporary: false reason: No need to test on all targets depends_components: + - *common_components - esp_netif tools/test_apps/protocols/netif_components: @@ -14,5 +15,6 @@ tools/test_apps/protocols/netif_components: temporary: true reason: one target is enough to verify netif component dependencies depends_components: + - *common_components - esp_netif - lwip diff --git a/tools/test_apps/storage/.build-test-rules.yml b/tools/test_apps/storage/.build-test-rules.yml index 403f4fc06a..39f47f4162 100644 --- a/tools/test_apps/storage/.build-test-rules.yml +++ b/tools/test_apps/storage/.build-test-rules.yml @@ -2,6 +2,7 @@ tools/test_apps/storage/fatfsgen: depends_components: + - *common_components - fatfs - vfs disable_test: @@ -17,6 +18,7 @@ tools/test_apps/storage/partition_table_readonly: temporary: true reason: there are potential bugs with pytest when using flash encryption and NVS partition with nvs_create_partition_image #TODO: IDF-8300 depends_components: + - *common_components - partition_table - spi_flash - esp_partition @@ -31,6 +33,7 @@ tools/test_apps/storage/sdmmc_console: temporary: true reason: No runners for other targets yet depends_components: + - *common_components - sdmmc - esp_driver_sdmmc - esp_driver_sdspi @@ -43,6 +46,7 @@ tools/test_apps/storage/std_filesystem: - if: IDF_TOOLCHAIN == "clang" reason: Issue with C++ exceptions on Xtensa, issue with getrandom linking on RISC-V depends_components: + - *common_components - vfs - esp_libc - fatfs diff --git a/tools/test_apps/system/.build-test-rules.yml b/tools/test_apps/system/.build-test-rules.yml index 7af1001392..e32f8c8b2f 100644 --- a/tools/test_apps/system/.build-test-rules.yml +++ b/tools/test_apps/system/.build-test-rules.yml @@ -94,6 +94,7 @@ tools/test_apps/system/init_array: enable: - if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "linux" depends_components: + - *common_components - esp_system depends_filepatterns: - tools/tools.json @@ -103,6 +104,7 @@ tools/test_apps/system/log: - if: IDF_TARGET not in ["esp32", "esp32c3"] reason: test only on esp32 and c3 as other targets are similar depends_components: + - *common_components - log tools/test_apps/system/longjmp_test: @@ -122,6 +124,7 @@ tools/test_apps/system/mmu_page_size: - if: IDF_TARGET in ["esp32c6", "esp32h2"] reason: Coverage for two targets with configurable MMU page size is sufficient depends_components: + - *common_components - esp_app_format - bootloader_support - esp_mm