Skip to content

Commit

Permalink
Merge pull request #482 from espressif/ci/fix_test_apps
Browse files Browse the repository at this point in the history
fix(ci): Build i2c_example only for IDF >= 5.2
  • Loading branch information
tore-espressif authored Jan 15, 2025
2 parents 8d9f7b8 + 43616b0 commit 446a88f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
14 changes: 14 additions & 0 deletions components/.build-test-rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,21 @@ components/esp_lvgl_port:
- "components/esp_lvgl_port/**"
- "components/lcd_touch/esp_lcd_touch_tt21100/**"
- "components/lcd_touch/esp_lcd_touch_gt1151/**"

components/esp_lvgl_port/examples/i2c_oled:
depends_filepatterns:
- "components/esp_lvgl_port/**"
- "components/lcd/sh1107/**"
disable:
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2) or IDF_VERSION_MAJOR < 5
reason: Requires I2C Driver-NG which was introduced in v5.2

components/esp_lvgl_port/test_apps/simd:
depends_filepatterns:
- "components/esp_lvgl_port/**"
enable:
- if: IDF_TARGET in ["esp32", "esp32s3"]
reason: Supports only xtensa targets

components/ds18b20:
depends_filepatterns:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
idf_component_register(SRCS "i2c_oled_example_main.c" "lvgl_demo_ui.c"
INCLUDE_DIRS ".")
idf_component_register(
SRCS "i2c_oled_example_main.c" "lvgl_demo_ui.c"
INCLUDE_DIRS "."
REQUIRES driver
)

0 comments on commit 446a88f

Please sign in to comment.