esp-idf/examples/peripherals/.build-test-rules.yml

355 lines
9.1 KiB
YAML
Raw Normal View History

# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
.i2c_dependencies: &i2c_dependencies
depends_filepatterns:
# components
- examples/system/console/advanced/components/**/*
- components/driver/i2c/**/*
- components/driver/Kconfig
examples/peripherals/adc/continuous_read:
disable:
- if: SOC_ADC_DMA_SUPPORTED != 1
examples/peripherals/adc/oneshot_read:
disable:
- if: SOC_ADC_SUPPORTED != 1
examples/peripherals/analog_comparator:
disable:
- if: SOC_ANA_CMPR_SUPPORTED != 1
disable_test:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported yet
2022-10-10 07:17:22 -04:00
examples/peripherals/dac:
disable:
- if: SOC_DAC_SUPPORTED != 1
examples/peripherals/gpio/matrix_keyboard:
enable:
- if: IDF_TARGET == "esp32s2"
examples/peripherals/i2c/i2c_self_test:
disable:
- if: SOC_I2C_SUPPORT_SLAVE != 1
reason: the test requires both master and slave
<<: *i2c_dependencies
examples/peripherals/i2c/i2c_simple:
disable:
- if: SOC_I2C_SUPPORT_SLAVE != 1
reason: the test requires both master and slave
<<: *i2c_dependencies
examples/peripherals/i2c/i2c_tools:
2023-01-10 00:59:46 -05:00
disable:
- if: SOC_I2C_SUPPORTED != 1
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
<<: *i2c_dependencies
examples/peripherals/i2s/i2s_basic/i2s_pdm:
disable:
2023-06-16 03:15:23 -04:00
- if: SOC_I2S_SUPPORTS_PDM != 1 or IDF_TARGET == "esp32p4"
disable_test:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: lack of runners
examples/peripherals/i2s/i2s_basic/i2s_std:
disable:
2023-06-16 03:15:23 -04:00
- if: SOC_I2S_SUPPORTED != 1 or IDF_TARGET == "esp32p4"
disable_test:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: lack of runners
examples/peripherals/i2s/i2s_basic/i2s_tdm:
disable:
2023-06-16 03:15:23 -04:00
- if: SOC_I2S_SUPPORTS_TDM != 1 or IDF_TARGET == "esp32p4"
disable_test:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: lack of runners
examples/peripherals/i2s/i2s_codec/i2s_es7210_tdm:
disable:
2023-01-10 01:43:07 -05:00
- if: SOC_I2S_SUPPORTS_TDM != 1 or (SOC_I2C_SUPPORTED != 1 or SOC_GPSPI_SUPPORTED != 1)
reason: rely on I2S TDM mode to receive audio, I2C to config es7210 and SPI to save audio to SD card
disable_test:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: lack of runners
examples/peripherals/i2s/i2s_codec/i2s_es8311:
disable:
- if: (SOC_I2S_SUPPORTED != 1 or SOC_I2C_SUPPORTED != 1)
2023-01-10 01:43:07 -05:00
reason: rely on I2S STD mode and I2C to config es7210
disable_test:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: lack of runners
examples/peripherals/i2s/i2s_recorder:
2023-06-16 03:15:23 -04:00
disable:
- if: SOC_SDMMC_HOST_SUPPORTED != 1 or IDF_TARGET == "esp32p4"
2022-10-24 04:29:20 -04:00
enable:
- if: SOC_I2S_SUPPORTS_PDM_RX > 0
examples/peripherals/lcd/i2c_oled:
disable:
2023-02-09 06:01:40 -05:00
- if: SOC_I2C_SUPPORTED != 1
2023-10-13 02:57:32 -04:00
depends_components:
- esp_lcd
depends_filepatterns:
- components/driver/i2c/**/*
examples/peripherals/lcd/i80_controller:
disable:
- if: SOC_LCD_I80_SUPPORTED != 1
2023-10-13 02:57:32 -04:00
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
2023-10-13 02:57:32 -04:00
depends_components:
- esp_lcd
2023-01-10 00:59:46 -05:00
examples/peripherals/lcd/spi_lcd_touch:
disable:
- if: SOC_GPSPI_SUPPORTED != 1
2023-10-13 02:57:32 -04:00
depends_components:
- esp_lcd
depends_filepatterns:
- components/driver/spi/**/*
2023-01-10 00:59:46 -05:00
examples/peripherals/lcd/tjpgd:
disable:
- if: SOC_GPSPI_SUPPORTED != 1
2023-10-13 02:57:32 -04:00
depends_components:
- esp_lcd
depends_filepatterns:
- components/driver/spi/**/*
2023-01-10 00:59:46 -05:00
2022-12-01 07:48:27 -05:00
examples/peripherals/ledc:
disable:
2022-12-01 07:48:27 -05:00
- if: SOC_LEDC_SUPPORTED != 1
examples/peripherals/ledc/ledc_gamma_curve_fade:
disable:
- if: SOC_LEDC_SUPPORTED != 1 or SOC_LEDC_GAMMA_CURVE_FADE_SUPPORTED != 1
examples/peripherals/mcpwm:
disable:
- if: SOC_MCPWM_SUPPORTED != 1
examples/peripherals/mcpwm/mcpwm_bdc_speed_control:
disable:
- if: SOC_MCPWM_SUPPORTED != 1
disable_test:
- if: IDF_TARGET != "esp32s3"
temporary: true
reason: lack of runners
examples/peripherals/mcpwm/mcpwm_bldc_hall_control:
disable:
- if: SOC_MCPWM_SUPPORTED != 1
disable_test:
- if: IDF_TARGET != "esp32s3"
temporary: true
reason: lack of runners
examples/peripherals/mcpwm/mcpwm_foc_svpwm_open_loop:
disable:
- if: SOC_MCPWM_SUPPORTED != 1
disable_test:
- if: IDF_TARGET != "esp32s3"
temporary: true
reason: lack of runners
examples/peripherals/parlio:
disable:
- if: SOC_PARLIO_SUPPORTED != 1
disable_test:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: lack of runner
examples/peripherals/parlio/simple_rgb_led_matrix:
disable:
- if: SOC_PARLIO_SUPPORTED != 1 or SOC_DEDICATED_GPIO_SUPPORTED != 1
disable_test:
- if: IDF_TARGET != "esp32c6"
temporary: true
reason: lack of runners
examples/peripherals/pcnt:
disable:
- if: SOC_PCNT_SUPPORTED != 1
examples/peripherals/rmt:
disable:
- if: SOC_RMT_SUPPORTED != 1
examples/peripherals/rmt/ir_nec_transceiver:
disable:
- if: SOC_RMT_SUPPORTED != 1
disable_test:
2022-06-22 04:28:32 -04:00
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
examples/peripherals/rmt/musical_buzzer:
disable:
- if: SOC_RMT_SUPPORT_TX_LOOP_COUNT != 1
examples/peripherals/rmt/stepper_motor:
2022-09-16 02:25:28 -04:00
disable:
- if: SOC_RMT_SUPPORT_TX_LOOP_AUTO_STOP != 1
examples/peripherals/sdio/host:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: request p4 essl spi to be ready for build, TODO IDF-8357
enable:
- if: SOC_SDMMC_HOST_SUPPORTED == 1
- if: IDF_TARGET == "esp32"
temporary: true
reason: Only the SDSPI of ESP32 supports ESP SDIO slave for now
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
examples/peripherals/sdio/slave:
disable:
- if: SOC_SDIO_SLAVE_SUPPORTED != 1
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
examples/peripherals/secure_element/atecc608_ecdsa:
enable:
- if: IDF_TARGET == "esp32"
temporary: true
reason: the other targets are not tested yet
2022-06-22 04:28:32 -04:00
examples/peripherals/sigma_delta:
disable:
2022-06-22 04:28:32 -04:00
- if: SOC_SDM_SUPPORTED != 1
2023-01-10 00:59:46 -05:00
examples/peripherals/spi_master/hd_eeprom:
disable:
- if: SOC_GPSPI_SUPPORTED != 1
examples/peripherals/spi_master/lcd:
disable:
- if: SOC_GPSPI_SUPPORTED != 1
examples/peripherals/spi_slave:
2023-01-10 00:59:46 -05:00
disable:
- if: SOC_GPSPI_SUPPORTED != 1
- if: IDF_TARGET in ["esp32p4"]
temporary: true
reason: target(s) is not supported yet # TODO: IDF-7503 slave support
2023-01-10 00:59:46 -05:00
examples/peripherals/spi_slave_hd/append_mode/master:
disable:
- if: IDF_TARGET in ["esp32c6", "esp32p4"]
temporary: true
reason: target(s) not supported yet # TODO: IDF-7505
examples/peripherals/spi_slave_hd/append_mode/slave:
enable:
- if: IDF_TARGET == "esp32s2"
temporary: true
reason: the other targets are not tested yet
2023-01-10 00:59:46 -05:00
examples/peripherals/spi_slave_hd/segment_mode/seg_master:
disable:
- if: SOC_GPSPI_SUPPORTED != 1
- if: IDF_TARGET in ["esp32p4"]
temporary: true
reason: target(s) is not supported yet # TODO: IDF-7505 slave hd support
2023-01-10 00:59:46 -05:00
examples/peripherals/spi_slave_hd/segment_mode/seg_slave:
disable:
- if: IDF_TARGET == "esp32" or SOC_GPSPI_SUPPORTED != 1
- if: IDF_TARGET in ["esp32p4"]
temporary: true
reason: target(s) is not supported yet # TODO: IDF-7505 slave hd support
examples/peripherals/temperature_sensor/temp_sensor:
disable:
- if: SOC_TEMP_SENSOR_SUPPORTED != 1
examples/peripherals/temperature_sensor/temp_sensor_monitor:
disable:
- if: SOC_TEMPERATURE_SENSOR_INTR_SUPPORT != 1
2023-01-05 06:34:05 -05:00
examples/peripherals/timer_group:
disable:
- if: SOC_GPTIMER_SUPPORTED != 1
2022-09-01 04:01:53 -04:00
examples/peripherals/timer_group/gptimer_capture_hc_sr04:
disable:
- if: SOC_TIMER_SUPPORT_ETM != 1
examples/peripherals/touch_sensor:
disable:
- if: SOC_TOUCH_SENSOR_SUPPORTED != 1
examples/peripherals/touch_sensor/touch_element:
enable:
- if: IDF_TARGET in ["esp32s2", "esp32s3"]
reason: only supports esp32s2 and esp32s3
examples/peripherals/touch_sensor/touch_sensor_v1:
disable:
- if: SOC_TOUCH_VERSION_1 != 1
examples/peripherals/touch_sensor/touch_sensor_v2:
disable:
- if: SOC_TOUCH_VERSION_2 != 1
2022-10-27 05:36:31 -04:00
examples/peripherals/twai/twai_alert_and_recovery:
disable:
- if: SOC_TWAI_SUPPORTED != 1
2022-10-27 05:36:31 -04:00
disable_test:
- if: IDF_TARGET not in ["esp32"]
temporary: true
reason: lack of runners
2022-10-27 05:36:31 -04:00
examples/peripherals/twai/twai_network:
disable:
2022-10-27 05:36:31 -04:00
- if: SOC_TWAI_SUPPORTED != 1
disable_test:
2022-10-27 05:36:31 -04:00
- if: IDF_TARGET not in ["esp32"]
temporary: true
reason: lack of runners
examples/peripherals/twai/twai_self_test:
disable:
2022-10-27 05:36:31 -04:00
- if: SOC_TWAI_SUPPORTED != 1
disable_test:
2022-10-27 05:36:31 -04:00
- if: IDF_TARGET not in ["esp32"]
temporary: true
reason: lack of runners
examples/peripherals/uart/uart_echo_rs485:
enable:
- if: INCLUDE_DEFAULT == 1
examples/peripherals/usb:
disable:
- if: SOC_USB_OTG_SUPPORTED != 1