Skip to content

Commit 446a88f

Browse files
Merge pull request #482 from espressif/ci/fix_test_apps
fix(ci): Build i2c_example only for IDF >= 5.2
2 parents 8d9f7b8 + 43616b0 commit 446a88f

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

components/.build-test-rules.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,21 @@ components/esp_lvgl_port:
44
- "components/esp_lvgl_port/**"
55
- "components/lcd_touch/esp_lcd_touch_tt21100/**"
66
- "components/lcd_touch/esp_lcd_touch_gt1151/**"
7+
8+
components/esp_lvgl_port/examples/i2c_oled:
9+
depends_filepatterns:
10+
- "components/esp_lvgl_port/**"
711
- "components/lcd/sh1107/**"
12+
disable:
13+
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2) or IDF_VERSION_MAJOR < 5
14+
reason: Requires I2C Driver-NG which was introduced in v5.2
15+
16+
components/esp_lvgl_port/test_apps/simd:
17+
depends_filepatterns:
18+
- "components/esp_lvgl_port/**"
19+
enable:
20+
- if: IDF_TARGET in ["esp32", "esp32s3"]
21+
reason: Supports only xtensa targets
822

923
components/ds18b20:
1024
depends_filepatterns:
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
idf_component_register(SRCS "i2c_oled_example_main.c" "lvgl_demo_ui.c"
2-
INCLUDE_DIRS ".")
1+
idf_component_register(
2+
SRCS "i2c_oled_example_main.c" "lvgl_demo_ui.c"
3+
INCLUDE_DIRS "."
4+
REQUIRES driver
5+
)

0 commit comments

Comments
 (0)