.spi_depends_default: &spi_depends_default
  depends_components:
    - esp_mm  # for cache
    - esp_driver_spi
    - esp_driver_gpio

components/esp_driver_spi/test_apps/spi/master:
  disable:
    - if: SOC_GPSPI_SUPPORTED != 1
  <<: *spi_depends_default

components/esp_driver_spi/test_apps/spi/param:
  disable:
    - if: SOC_GPSPI_SUPPORTED != 1
  <<: *spi_depends_default

components/esp_driver_spi/test_apps/spi/slave:
  disable:
    - if: SOC_GPSPI_SUPPORTED != 1
  <<: *spi_depends_default

components/esp_driver_spi/test_apps/spi/slave_hd:
  disable:
    - if: SOC_GPSPI_SUPPORTED != 1
    - if: SOC_SPI_SUPPORT_SLAVE_HD_VER2 != 1
  <<: *spi_depends_default