diff --git a/components/app_trace/test_apps/.build-test-rules.yml b/components/app_trace/test_apps/.build-test-rules.yml index aa5223768ae..59cbd2064c0 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/bt/test_apps/.build-test-rules.yml b/components/bt/test_apps/.build-test-rules.yml index 9b434736336..4192f8b0e7a 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/driver/test_apps/.build-test-rules.yml b/components/driver/test_apps/.build-test-rules.yml index c0494503a6f..19bc3c26cd3 100644 --- a/components/driver/test_apps/.build-test-rules.yml +++ b/components/driver/test_apps/.build-test-rules.yml @@ -15,6 +15,7 @@ components/driver/test_apps/legacy_twai: depends_filepatterns: - components/driver/twai/**/* depends_components: + - *common_components - esp_hal_twai - esp_hw_support - soc @@ -31,6 +32,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/esp_adc/test_apps/.build-test-rules.yml b/components/esp_adc/test_apps/.build-test-rules.yml index aa97546c7d4..90e86182f85 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_driver_ana_cmpr/test_apps/.build-test-rules.yml b/components/esp_driver_ana_cmpr/test_apps/.build-test-rules.yml index 39fb87a34c0..fc8526a66fa 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 f204d48c980..112380eee0c 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 0d419e7609c..279303fe99c 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 33c41155f13..4907458fa7a 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 5087696a4cc..25fa2dbd085 100644 --- a/components/esp_driver_dma/test_apps/.build-test-rules.yml +++ b/components/esp_driver_dma/test_apps/.build-test-rules.yml @@ -4,6 +4,7 @@ components/esp_driver_dma/test_apps/dma: disable: - if: SOC_GDMA_SUPPORTED != 1 and SOC_CP_DMA_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_dma - esp_hal_dma @@ -11,5 +12,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 0b7bec787a2..c52ec5a6e4c 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 574443fadd9..0cffc4daf99 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 b078f120eff..970910a9693 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 78e2a417f16..9f0c136b47c 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 f9a1c899c21..3224b2d62ef 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 67a8c043e74..05fd11fd96b 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 e3c04dbafce..4452a8a02ce 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 8ea94d8ef14..cccbebfd7b2 100644 --- a/components/esp_driver_ledc/test_apps/.build-test-rules.yml +++ b/components/esp_driver_ledc/test_apps/.build-test-rules.yml @@ -8,5 +8,6 @@ components/esp_driver_ledc/test_apps/ledc: temporary: true reason: p4 rev3 migration # TODO: IDF-14398 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 cbc941233cd..6e6bb6c2d2e 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 efce473ee7f..254b70700e9 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 d94a1f9237b..21080063ce8 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 acad758640d..1c9c829105d 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 2a97c6cdec1..255831f2587 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 4b34b454294..0d1ed8a0f88 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 851804067c0..b678b257571 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 bb3416b4f33..a8f3addc02d 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 57fdd2e11cb..1f5e2e2094e 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 9b605ff8552..f24923c074a 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 f7fa4692162..e4efda06cd1 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 d54d916a4c0..3bff59079da 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 a38e7e86f6a..1adc2c8a8dd 100644 --- a/components/esp_driver_twai/test_apps/.build-test-rules.yml +++ b/components/esp_driver_twai/test_apps/.build-test-rules.yml @@ -2,6 +2,7 @@ components/esp_driver_twai/test_apps/test_twai: disable: - if: SOC_TWAI_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_twai - esp_hal_twai - esp_hw_support 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 179846735a4..403950be796 100644 --- a/components/esp_driver_uart/test_apps/.build-test-rules.yml +++ b/components/esp_driver_uart/test_apps/.build-test-rules.yml @@ -8,6 +8,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 @@ -16,12 +17,14 @@ components/esp_driver_uart/test_apps/uart: disable: - if: SOC_UART_SUPPORTED != 1 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 @@ -30,6 +33,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 313abe4710f..e66b8eb9e0a 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 dc4d00c17b3..ffd07f98c1f 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_hal_security/.build-test-rules.yml b/components/esp_hal_security/.build-test-rules.yml index b6a813da52d..a099a43e3a0 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 452d163e2db..4470c2b6b3a 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_lcd/test_apps/.build-test-rules.yml b/components/esp_lcd/test_apps/.build-test-rules.yml index a60236231b5..b0b8a63c83c 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_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_netif/test_apps/.build-test-rules.yml b/components/esp_netif/test_apps/.build-test-rules.yml index 7baad883016..7fd8e4b5fb7 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 39b8d40db0f..9e4a01f57c1 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_pm/test_apps/.build-test-rules.yml b/components/esp_pm/test_apps/.build-test-rules.yml index 22379b93284..bb93009467a 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: [ESP32C61] IDF-9250, [ESP32H21] IDF-11522, [ESP32H4] IDF-12286 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 e739d8d6410..95c983baabf 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 d93c9f49c0a..4224e6ea5ac 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_security/test_apps/.build-test-rules.yml b/components/esp_security/test_apps/.build-test-rules.yml index 5a6cdf0da0e..966a8b2be85 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 7fe49e38beb..95cd09caed2 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/espcoredump/test_apps/.build-test-rules.yml b/components/espcoredump/test_apps/.build-test-rules.yml index 3f3d8745926..32e0518540c 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 86cfac0de42..cf9b02282ad 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/heap/test_apps/.build-test-rules.yml b/components/heap/test_apps/.build-test-rules.yml index 1e3b8ecd8cf..7cb940a17da 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 components/heap/test_apps/host_test_linux: diff --git a/components/mbedtls/test_apps/.build-test-rules.yml b/components/mbedtls/test_apps/.build-test-rules.yml index 7952f09f059..aa0de0ec134 100644 --- a/components/mbedtls/test_apps/.build-test-rules.yml +++ b/components/mbedtls/test_apps/.build-test-rules.yml @@ -12,6 +12,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 - efuse - mbedtls - esp_security diff --git a/components/nvs_flash/.build-test-rules.yml b/components/nvs_flash/.build-test-rules.yml index d8274373819..698d22ae40b 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/rt/test_apps/posix_rt_test/.build-test-rules.yml b/components/rt/test_apps/posix_rt_test/.build-test-rules.yml index 102749b1988..5736a5d859c 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 cc5add96694..0bae58d63dc 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 67c68fcb100..3398c877663 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: [ESP32H4] IDF-12388 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 @@ -83,6 +89,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 @@ -94,6 +101,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 9de36c5b115..26ea248eeb7 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 45824d892d0..9dfa3edc933 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/unity/test_apps/.build-test-rules.yml b/components/unity/test_apps/.build-test-rules.yml index f802ab36535..0d7f72ad535 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 cd6e9474833..14687091da4 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 6013a2343cb..d51a175071a 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 35694c2aee5..285a481ee1d 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/ethernet/.build-test-rules.yml b/examples/ethernet/.build-test-rules.yml index 911117046ec..ba04efdd41e 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 @@ -21,6 +22,7 @@ examples/ethernet/iperf: temporary: true reason: lack of runners depends_components: + - *common_components - esp_eth - esp_netif - lwip @@ -35,5 +37,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 21df8005587..35f08991ac5 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 d86f42e77b0..8e28066666b 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 a8e725182c8..e987dad3998 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 @@ -44,5 +48,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 c05a5b7cfd4..578a0ac0a68 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 57e7abac4d3..40326a607a4 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,6 +219,7 @@ examples/peripherals/i3c/i3c_i2c_basic: disable: - if: SOC_I3C_MASTER_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_i3c examples/peripherals/isp/multi_pipelines: @@ -205,6 +228,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 @@ -213,18 +237,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 @@ -232,6 +259,7 @@ examples/peripherals/lcd/i80_controller: disable: - if: SOC_LCD_I80_SUPPORTED != 1 depends_components: + - *common_components - esp_lcd - esp_driver_i2s @@ -239,12 +267,14 @@ examples/peripherals/lcd/mipi_dsi: disable: - if: SOC_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 @@ -252,12 +282,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 @@ -265,6 +297,7 @@ examples/peripherals/lcd/tjpgd: disable: - if: SOC_GPSPI_SUPPORTED != 1 depends_components: + - *common_components - esp_lcd - esp_driver_spi @@ -272,6 +305,7 @@ examples/peripherals/ledc: disable: - if: SOC_LEDC_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_ledc - esp_hal_ledc @@ -287,12 +321,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: @@ -304,6 +340,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" @@ -314,12 +351,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" @@ -330,24 +369,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 @@ -355,6 +398,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: @@ -365,18 +409,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 @@ -385,6 +432,7 @@ examples/peripherals/rmt: disable: - if: SOC_RMT_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_rmt examples/peripherals/rmt/ir_nec_transceiver: @@ -395,6 +443,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: @@ -402,6 +451,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: @@ -409,6 +459,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: @@ -426,6 +477,7 @@ examples/peripherals/sdio/host: temporary: true reason: lack of runners depends_components: + - *common_components - esp_driver_sdio examples/peripherals/sdio/slave: @@ -436,12 +488,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 @@ -477,18 +531,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 @@ -496,6 +553,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 @@ -503,6 +561,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 @@ -514,18 +573,21 @@ 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: disable: - if: SOC_TWAI_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_twai - esp_hal_twai - esp_hw_support @@ -535,6 +597,7 @@ examples/peripherals/twai/twai_error_recovery: disable: - if: SOC_TWAI_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_twai - esp_hal_twai - esp_hw_support @@ -544,6 +607,7 @@ examples/peripherals/twai/twai_network: disable: - if: SOC_TWAI_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_twai - esp_hal_twai - esp_hw_support @@ -553,6 +617,7 @@ examples/peripherals/twai/twai_utils: disable: - if: SOC_TWAI_SUPPORTED != 1 depends_components: + - *common_components - esp_driver_twai - esp_hal_twai - esp_hw_support @@ -578,6 +643,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: @@ -600,6 +666,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/**/* @@ -612,6 +679,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 @@ -635,4 +703,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 3b4f1b4388e..c0a1535f25a 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 37974657c5e..3657f732b6e 100644 --- a/examples/security/.build-test-rules.yml +++ b/examples/security/.build-test-rules.yml @@ -22,6 +22,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/**/* @@ -33,6 +34,7 @@ examples/security/key_manager: - if: IDF_TARGET not in ["esp32c5"] reason: sufficient to test on one Key Manager-supported chip depends_components: + - *common_components - esp_security - mbedtls @@ -44,6 +46,7 @@ examples/security/nvs_encryption_hmac: temporary: true reason: lack of runners depends_components: + - *common_components - nvs_flash - nvs_sec_provider depends_filepatterns: @@ -57,6 +60,7 @@ examples/security/tee/tee_attestation: disable: - if: IDF_TARGET not in ["esp32c6", "esp32c61"] depends_components: + - *common_components - esp_tee depends_filepatterns: - examples/security/tee/tee_attestation/**/* @@ -65,6 +69,7 @@ examples/security/tee/tee_basic: disable: - if: IDF_TARGET not in ["esp32c6", "esp32c61"] depends_components: + - *common_components - esp_tee depends_filepatterns: - examples/security/tee/tee_basic/**/* @@ -73,6 +78,7 @@ examples/security/tee/tee_secure_ota: disable: - if: IDF_TARGET not in ["esp32c6", "esp32c61"] depends_components: + - *common_components - esp_tee - protocol_examples_common depends_filepatterns: @@ -82,6 +88,7 @@ examples/security/tee/tee_secure_storage: disable: - if: IDF_TARGET not in ["esp32c6", "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 b758826c23d..90da0c31f99 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 d7c880bf2f9..e1bc70d1354 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 29c5a8ab1e2..24f56e4dae4 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 @@ -22,12 +24,14 @@ examples/storage/nvs/nvs_console: reason: only one target per arch needed 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"] @@ -35,6 +39,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"] @@ -42,6 +47,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"] @@ -49,6 +55,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"] @@ -56,6 +63,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 34cd1cec07b..177558d777e 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/console/advanced: @@ -18,6 +19,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 - vfs @@ -26,6 +28,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 - vfs @@ -53,11 +56,13 @@ examples/system/efuse: - if: SOC_ECDSA_SUPPORT_CURVE_P384 != 1 and (CONFIG_NAME == "virt_secure_boot_v2_ecdsa_p384" or CONFIG_NAME == "virt_sb_v2_ecdsa_p384_and_fe") reason: Secure Boot V2 with ECDSA P384 is not supported. depends_components: + - *common_components - efuse - bootloader_support examples/system/esp_timer: depends_components: + - *common_components - esp_timer examples/system/eventfd: @@ -65,6 +70,7 @@ examples/system/eventfd: - if: SOC_GPTIMER_SUPPORTED != 1 and (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 - vfs - esp_driver_gptimer @@ -79,6 +85,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 - console - esp_timer @@ -88,6 +95,7 @@ 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 examples/system/gcov: @@ -107,6 +115,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: @@ -119,6 +128,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: @@ -126,6 +136,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: @@ -147,6 +158,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 @@ -167,6 +179,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 @@ -196,6 +209,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 @@ -218,6 +232,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 @@ -236,6 +251,7 @@ examples/system/perfmon: - if: IDF_TARGET == "esp32" reason: testing on a single target is sufficient depends_components: + - *common_components - perfmon examples/system/pthread: @@ -243,6 +259,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: @@ -250,6 +267,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: @@ -257,6 +275,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: @@ -286,18 +305,21 @@ 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/ulp/lp_core/build_system: enable: - if: SOC_LP_CORE_SUPPORTED == 1 depends_components: + - *common_components - ulp examples/system/ulp/lp_core/debugging: enable: - if: SOC_LP_CORE_SUPPORTED == 1 depends_components: + - *common_components - ulp examples/system/ulp/lp_core/gpio: @@ -306,90 +328,105 @@ examples/system/ulp/lp_core/gpio: enable: - if: (SOC_LP_CORE_SUPPORTED == 1) and (SOC_RTCIO_PIN_COUNT > 0) depends_components: + - *common_components - ulp 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 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 examples/system/ulp/lp_core/inter_cpu_critical_section/: enable: - if: SOC_LP_CORE_SUPPORTED == 1 depends_components: + - *common_components - ulp examples/system/ulp/lp_core/interrupt: enable: - if: SOC_LP_CORE_SUPPORTED == 1 depends_components: + - *common_components - ulp examples/system/ulp/lp_core/lp_adc: disable: - if: (SOC_LP_ADC_SUPPORTED != 1) depends_components: + - *common_components - ulp, esp_adc 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 examples/system/ulp/lp_core/lp_mailbox: enable: - if: SOC_LP_CORE_SUPPORTED == 1 depends_components: + - *common_components - ulp 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 examples/system/ulp/lp_core/lp_timer_interrupt: disable: - if: (SOC_LP_CORE_SUPPORTED != 1) or (SOC_RTC_TIMER_V2_SUPPORTED != 1) depends_components: + - *common_components - ulp 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 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 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 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 examples/system/ulp/ulp_fsm/ulp: disable: - if: SOC_ULP_FSM_SUPPORTED != 1 depends_components: + - *common_components - ulp examples/system/ulp/ulp_fsm/ulp_adc: @@ -398,12 +435,14 @@ examples/system/ulp/ulp_fsm/ulp_adc: temporary: true reason: the other targets are not tested yet depends_components: + - *common_components - ulp examples/system/ulp/ulp_riscv/adc: enable: - if: SOC_RISCV_COPROC_SUPPORTED == 1 depends_components: + - *common_components - ulp examples/system/ulp/ulp_riscv/ds18b20_onewire: @@ -412,48 +451,56 @@ examples/system/ulp/ulp_riscv/ds18b20_onewire: temporary: true reason: the other targets are not tested yet depends_components: + - *common_components - ulp examples/system/ulp/ulp_riscv/gpio: enable: - if: SOC_RISCV_COPROC_SUPPORTED == 1 depends_components: + - *common_components - ulp examples/system/ulp/ulp_riscv/gpio_interrupt: enable: - if: SOC_RISCV_COPROC_SUPPORTED == 1 depends_components: + - *common_components - ulp examples/system/ulp/ulp_riscv/gpio_pulse_counter: enable: - if: SOC_RISCV_COPROC_SUPPORTED == 1 depends_components: + - *common_components - ulp examples/system/ulp/ulp_riscv/i2c: enable: - if: SOC_RISCV_COPROC_SUPPORTED == 1 depends_components: + - *common_components - ulp examples/system/ulp/ulp_riscv/interrupts: enable: - if: SOC_RISCV_COPROC_SUPPORTED == 1 depends_components: + - *common_components - ulp examples/system/ulp/ulp_riscv/touch: enable: - if: SOC_RISCV_COPROC_SUPPORTED == 1 depends_components: + - *common_components - ulp examples/system/ulp/ulp_riscv/uart_print: enable: - if: SOC_RISCV_COPROC_SUPPORTED == 1 depends_components: + - *common_components - ulp examples/system/unit_test/: @@ -461,6 +508,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/wifi/.build-test-rules.yml b/examples/wifi/.build-test-rules.yml index 3aa9f4c9083..39bb1cce1ce 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 @@ -57,6 +58,7 @@ examples/wifi/iperf: temporary: true reason: lack of runners depends_components: + - *common_components - esp_wifi - esp_phy - esp_netif @@ -77,6 +79,7 @@ examples/wifi/power_save: temporary: true reason: requires hardware support depends_components: + - *common_components - esp_wifi - esp_phy - esp_netif @@ -103,6 +106,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 @@ -120,6 +124,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 @@ -135,6 +140,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 063552f3027..c99b80c687d 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 42611f3ab6f..d0826fbacca 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 - log 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 2a99e4241a9..254cca151ac 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/storage/.build-test-rules.yml b/tools/test_apps/storage/.build-test-rules.yml index 2f9d85c0983..ef5af216884 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 @@ -35,6 +37,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 @@ -47,6 +50,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 96936b66c90..4549f23b06d 100644 --- a/tools/test_apps/system/.build-test-rules.yml +++ b/tools/test_apps/system/.build-test-rules.yml @@ -67,6 +67,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 @@ -93,6 +94,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