Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): Build i2c_example only for IDF >= 5.2 #482

Merged
merged 1 commit into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
tore-espressif marked this conversation as resolved.
Show resolved Hide resolved

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
)
Loading