build: trim lcd apps build dependency

This commit is contained in:
morris 2023-10-13 14:57:32 +08:00
parent 260cfa75ff
commit 2bbdd35383
2 changed files with 36 additions and 0 deletions

View File

@ -3,6 +3,10 @@
components/esp_lcd/test_apps/i2c_lcd:
disable:
- if: SOC_I2C_SUPPORTED != 1
depends_components:
- esp_lcd
depends_filepatterns:
- components/driver/i2c/**/*
disable_test:
- if: IDF_TARGET not in ["esp32c3"]
temporary: true
@ -11,19 +15,33 @@ components/esp_lcd/test_apps/i2c_lcd:
components/esp_lcd/test_apps/i2c_lcd_legacy:
disable:
- if: SOC_I2C_SUPPORTED != 1
depends_components:
- esp_lcd
depends_filepatterns:
- components/driver/i2c/**/*
disable_test:
- if: IDF_TARGET not in ["esp32c3"]
temporary: true
reason: insufficient runners
components/esp_lcd/test_apps/i80_lcd:
depends_components:
- esp_lcd
depends_filepatterns:
- components/driver/i2s/**/* # i80 IO driver relies on I2S on esp32 and esp32s2
disable:
- if: SOC_LCD_I80_SUPPORTED != 1
components/esp_lcd/test_apps/rgb_lcd:
depends_components:
- esp_lcd
disable:
- if: SOC_LCD_RGB_SUPPORTED != 1
components/esp_lcd/test_apps/spi_lcd:
depends_components:
- esp_lcd
depends_filepatterns:
- components/driver/spi/**/*
disable:
- if: SOC_GPSPI_SUPPORTED != 1

View File

@ -103,22 +103,40 @@ examples/peripherals/i2s/i2s_recorder:
examples/peripherals/lcd/i2c_oled:
disable:
- if: SOC_I2C_SUPPORTED != 1
depends_components:
- esp_lcd
depends_filepatterns:
- components/driver/i2c/**/*
examples/peripherals/lcd/i80_controller:
disable:
- if: SOC_LCD_I80_SUPPORTED != 1
depends_components:
- esp_lcd
depends_filepatterns:
- components/driver/i2s/**/* # i80 IO driver relies on I2S on esp32 and esp32s2
examples/peripherals/lcd/rgb_panel:
disable:
- if: SOC_LCD_RGB_SUPPORTED != 1
depends_components:
- esp_lcd
examples/peripherals/lcd/spi_lcd_touch:
disable:
- if: SOC_GPSPI_SUPPORTED != 1
depends_components:
- esp_lcd
depends_filepatterns:
- components/driver/spi/**/*
examples/peripherals/lcd/tjpgd:
disable:
- if: SOC_GPSPI_SUPPORTED != 1
depends_components:
- esp_lcd
depends_filepatterns:
- components/driver/spi/**/*
examples/peripherals/ledc:
disable: