Skip to content

Commit 845a8b3

Browse files
committed
Add missing compilation test and update build rules
1 parent 7507bdd commit 845a8b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+274
-63
lines changed

.idf_build_apps.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@ recursive = true
22
exclude = [
33
"SquareLine",
44
]
5-
manifest_file = ["components/.build-test-rules.yml", "components/io_expander/.build-test-rules.yml", "components/lcd/.build-test-rules.yml", "components/lcd_touch/.build-test-rules.yml", "test_apps/.build-test-rules.yml", "examples/.build-test-rules.yml"]
5+
manifest_file = [
6+
"components/.build-test-rules.yml",
7+
"components/io_expander/.build-test-rules.yml",
8+
"components/lcd/.build-test-rules.yml",
9+
"components/lcd_touch/.build-test-rules.yml",
10+
"components/sensors/.build-test-rules.yml",
11+
"test_apps/.build-test-rules.yml",
12+
"examples/.build-test-rules.yml",
13+
]
614
check_warnings = true
715
ignore_warning_file = ".ignore_build_warnings.txt"
816
config = "sdkconfig.bsp.*"

components/.build-test-rules.yml

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,8 @@
1-
# esp_lvgl_port: Build only on related changes and components used in examples
21
components/esp_lvgl_port:
32
depends_filepatterns:
43
- "components/esp_lvgl_port/**"
5-
- "components/lcd_touch/esp_lcd_touch_tt21100/**"
6-
- "components/lcd_touch/esp_lcd_touch_gt1151/**"
7-
8-
components/esp_lvgl_port/examples:
9-
depends_filepatterns:
10-
- "components/esp_lvgl_port/**"
11-
- "components/lcd/sh1107/**"
12-
disable:
13-
- if: IDF_VERSION < "5.2.0"
14-
reason: Requires I2C Driver-NG which was introduced in v5.2
15-
16-
components/esp_lvgl_port/test_apps/lvgl_port:
17-
depends_filepatterns:
18-
- "components/esp_lvgl_port/**"
19-
disable:
20-
- if: IDF_VERSION < "5.2.0"
21-
reason: Requires I2C Driver-NG which was introduced in v5.2
4+
- "components/lcd_touch/**"
5+
- "components/lcd/**"
226

237
components/esp_lvgl_port/test_apps/simd:
248
depends_filepatterns:
@@ -36,36 +20,12 @@ components/ds18b20/examples/ds18b20_read:
3620
- if: CONFIG_NAME == "uart" and SOC_UART_SUPPORTED != 1
3721
reason: UART backend variant requires SOC UART support
3822

39-
components/sensors/icm42670:
40-
depends_filepatterns:
41-
- "components/sensors/icm42670/**"
42-
disable:
43-
- if: IDF_VERSION < "5.2.0"
44-
reason: Requires I2C Driver-NG which was introduced in v5.2
45-
46-
components/sensors/aht30:
47-
depends_filepatterns:
48-
- "components/sensors/aht30/**"
49-
disable:
50-
- if: IDF_VERSION < "5.2.0"
51-
reason: Requires I2C Driver-NG which was introduced in v5.2
52-
5323
components/qma6100p:
5424
depends_filepatterns:
5525
- "components/qma6100p/**"
56-
disable:
57-
- if: IDF_VERSION < "5.2.0"
58-
reason: Requires I2C Driver-NG which was introduced in v5.2
5926

6027
components/bh1750:
6128
depends_filepatterns:
6229
- "components/bh1750/**"
6330
disable:
6431
- if: IDF_VERSION < "5.3.0"
65-
66-
components/lcd_touch/esp_lcd_touch_cst816s/test_apps:
67-
depends_filepatterns:
68-
- "components/lcd_touch/esp_lcd_touch_cst816s/**"
69-
disable:
70-
- if: IDF_VERSION < "5.2.0"
71-
reason: Requires I2C Driver-NG which was introduced in v5.2
Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,24 @@
1+
components/io_expander/esp_io_expander_aw9523:
2+
depends_filepatterns:
3+
- "components/io_expander/esp_io_expander/**"
4+
- "components/io_expander/esp_io_expander_aw9523/**"
5+
16
components/io_expander/esp_io_expander_ht8574:
27
depends_filepatterns:
38
- "components/io_expander/esp_io_expander/**"
49
- "components/io_expander/esp_io_expander_ht8574/**"
5-
disable:
6-
- if: IDF_VERSION < "5.2.0"
7-
reason: Requires I2C Driver-NG which was introduced in v5.2
10+
11+
components/io_expander/esp_io_expander_pi4ioe5v6408:
12+
depends_filepatterns:
13+
- "components/io_expander/esp_io_expander/**"
14+
- "components/io_expander/esp_io_expander_pi4ioe5v6408/**"
815

916
components/io_expander/esp_io_expander_tca95xx_16bit:
1017
depends_filepatterns:
1118
- "components/io_expander/esp_io_expander/**"
1219
- "components/io_expander/esp_io_expander_tca95xx_16bit/**"
13-
disable:
14-
- if: IDF_VERSION < "5.2.0"
15-
reason: Requires I2C Driver-NG which was introduced in v5.2
1620

1721
components/io_expander/esp_io_expander_tca9554:
1822
depends_filepatterns:
1923
- "components/io_expander/esp_io_expander/**"
2024
- "components/io_expander/esp_io_expander_tca9554/**"
21-
disable:
22-
- if: IDF_VERSION < "5.2.0"
23-
reason: Requires I2C Driver-NG which was introduced in v5.2
24-
25-
components/io_expander/esp_io_expander_pi4ioe5v6408:
26-
depends_filepatterns:
27-
- "components/io_expander/esp_io_expander/**"
28-
- "components/io_expander/esp_io_expander_pi4ioe5v6408/**"
29-
disable:
30-
- if: IDF_VERSION < "5.2.0"
31-
reason: Requires I2C Driver-NG which was introduced in v5.2

components/lcd/.build-test-rules.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ components/lcd/esp_lcd_gc9a01:
66
components/lcd/esp_lcd_gc9503:
77
depends_filepatterns:
88
- "components/lcd/esp_lcd_gc9503/**"
9-
disable:
10-
- if: IDF_VERSION < "5.2.0"
11-
reason: Component is supported only for IDF >= 5.2
129

1310
components/lcd/esp_lcd_ili9341:
1411
depends_filepatterns:
@@ -23,6 +20,10 @@ components/lcd/esp_lcd_ili9881c:
2320
- if: IDF_TARGET not in ["esp32p4"]
2421
reason: Component is supported only for esp32p4 target
2522

23+
components/lcd/esp_lcd_lt8912b:
24+
depends_filepatterns:
25+
- "components/lcd/esp_lcd_lt8912b/**"
26+
2627
components/lcd/esp_lcd_nt35510:
2728
depends_filepatterns:
2829
- "components/lcd/esp_lcd_nt35510/**"
@@ -32,6 +33,14 @@ components/lcd/esp_lcd_nt35510:
3233
- if: IDF_TARGET not in ["esp32", "esp32s2", "esp32s3"]
3334
reason: Test on these targets is sufficient
3435

36+
components/lcd/esp_lcd_ra8875:
37+
depends_filepatterns:
38+
- "components/lcd/esp_lcd_ra8875/**"
39+
40+
components/lcd/esp_lcd_sh1107:
41+
depends_filepatterns:
42+
- "components/lcd/esp_lcd_sh1107/**"
43+
3544
components/lcd/esp_lcd_ssd1681:
3645
depends_filepatterns:
3746
- "components/lcd/esp_lcd_ssd1681/**"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
cmake_minimum_required(VERSION 3.16)
2+
set(COMPONENTS main)
3+
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
4+
project(compilation_test)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
idf_component_register( SRCS "compilation_test.c" )
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2024-2026 Espressif Systems (Shanghai) CO LTD
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include "esp_lcd_lt8912b.h"
8+
9+
void app_main(void)
10+
{
11+
// Just enough to test component compilation
12+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## IDF Component Manager Manifest File
2+
dependencies:
3+
esp_lcd_lt8912b:
4+
version: "*"
5+
path: "../../../esp_lcd_lt8912b"
6+
idf: ">=5.3"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_ESP_INT_WDT=n
2+
CONFIG_ESP_TASK_WDT=n
3+
CONFIG_IDF_TARGET="esp32p4"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
cmake_minimum_required(VERSION 3.16)
2+
set(COMPONENTS main)
3+
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
4+
project(compilation_test)

0 commit comments

Comments
 (0)