Skip to content

Commit 27d6cc8

Browse files
committed
feat(components): Override paths for each component local to the BSP repository
1 parent 21c6cd0 commit 27d6cc8

File tree

24 files changed

+153
-96
lines changed

24 files changed

+153
-96
lines changed

.github/PULL_REQUEST_TEMPLATE/pr_template_bsp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- [ ] Component contains License
44
- [ ] Component contains README.md
55
- [ ] Project [README.md](../README.md) updated
6-
- [ ] Component contains idf_component.yml file with `url` field defined
6+
- [ ] Component contains idf_component.yml file with `url` field defined and overriden paths for local components
77
- [ ] Component was added to CI [upload job](https://github.com/espressif/esp-bsp/blob/master/.github/workflows/upload_component.yml#L17)
88
- [ ] New files were added to CI build job
99
- [ ] New BSP definitions added to [bsp_ext.py](../examples/bsp_ext.py)

bsp/esp-box-3/README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,29 +62,29 @@ ESP32-S3-BOX-3 also uses a Type-C USB connector that provides 5 V of power input
6262

6363
## LVGL Benchmark
6464

65-
**DATE:** 21.10.2025 03:17
65+
**DATE:** 07.11.2025 09:03
6666

6767
**LVGL version:** 9.4.0
6868

6969
| Name | Avg. CPU | Avg. FPS | Avg. time | render time | flush time |
7070
| ---- | :------: | :------: | :-------: | :---------: | :--------: |
71-
| Empty screen | 94% | 26 | 34 | 3 | 31 |
72-
| Moving wallpaper | 98% | 25 | 36 | 5 | 31 |
71+
| Empty screen | 93% | 25 | 33 | 4 | 29 |
72+
| Moving wallpaper | 97% | 25 | 35 | 5 | 30 |
7373
| Single rectangle | 10% | 91 | 0 | 0 | 0 |
74-
| Multiple rectangles | 90% | 49 | 17 | 4 | 13 |
75-
| Multiple RGB images | 9% | 89 | 0 | 0 | 0 |
76-
| Multiple ARGB images | 21% | 88 | 3 | 3 | 0 |
77-
| Rotated ARGB images | 83% | 54 | 19 | 13 | 6 |
78-
| Multiple labels | 89% | 76 | 10 | 5 | 5 |
79-
| Screen sized text | 97% | 15 | 58 | 27 | 31 |
74+
| Multiple rectangles | 91% | 50 | 16 | 4 | 12 |
75+
| Multiple RGB images | 18% | 91 | 0 | 0 | 0 |
76+
| Multiple ARGB images | 20% | 86 | 2 | 1 | 1 |
77+
| Rotated ARGB images | 72% | 54 | 18 | 13 | 5 |
78+
| Multiple labels | 89% | 77 | 10 | 5 | 5 |
79+
| Screen sized text | 97% | 15 | 58 | 28 | 30 |
8080
| Multiple arcs | 17% | 94 | 0 | 0 | 0 |
81-
| Containers | 36% | 71 | 17 | 4 | 13 |
82-
| Containers with overlay | 88% | 20 | 46 | 15 | 31 |
83-
| Containers with opa | 50% | 70 | 18 | 8 | 10 |
84-
| Containers with opa_layer | 61% | 53 | 29 | 16 | 13 |
81+
| Containers | 37% | 72 | 18 | 5 | 13 |
82+
| Containers with overlay | 95% | 20 | 46 | 15 | 31 |
83+
| Containers with opa | 49% | 69 | 18 | 8 | 10 |
84+
| Containers with opa_layer | 60% | 53 | 28 | 16 | 12 |
8585
| Containers with scrolling | 95% | 20 | 44 | 14 | 30 |
8686
| Widgets demo | 97% | 24 | 26 | 12 | 14 |
87-
| All scenes avg. | 64% | 54 | 22 | 8 | 14 |
87+
| All scenes avg. | 64% | 54 | 21 | 8 | 13 |
8888

8989

9090

bsp/esp-box-3/idf_component.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,15 @@ tags:
1111

1212
dependencies:
1313
idf: ">=5.3" # We use I2C Driver-NG from IDF v5.2 but esp-codec-dev supports from v5.3
14-
esp_lcd_touch_tt21100: "^1"
15-
esp_lcd_touch_gt911: "^1"
16-
esp_lcd_ili9341: "^2.0.1"
14+
esp_lcd_touch_tt21100:
15+
version: "^1"
16+
override_path: "../../components/lcd_touch/esp_lcd_touch_tt21100"
17+
esp_lcd_touch_gt911:
18+
version: "^1"
19+
override_path: "../../components/lcd_touch/esp_lcd_touch_gt911"
20+
esp_lcd_ili9341:
21+
version: "^2.0.1"
22+
override_path: "../../components/lcd/esp_lcd_ili9341"
1723

1824
espressif/esp_lvgl_port:
1925
version: "^2"

bsp/esp-box/idf_component.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ tags:
1111

1212
dependencies:
1313
idf: ">=4.4.5,<6.0"
14-
esp_lcd_touch_tt21100: "^1"
14+
esp_lcd_touch_tt21100:
15+
version: "^1"
16+
override_path: "../../components/lcd_touch/esp_lcd_touch_tt21100"
1517

1618
espressif/esp_lvgl_port:
1719
version: "^2"
@@ -29,3 +31,4 @@ dependencies:
2931
icm42670:
3032
version: "^1"
3133
public: true
34+
override_path: "../../components/icm42670"

bsp/esp32_azure_iot_kit/idf_component.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,27 @@ dependencies:
2323
hts221:
2424
version: "^1.1.1"
2525
public: true
26+
override_path: "../../components/hts221"
2627

2728
bh1750:
2829
version: "^1.0.0"
2930
public: true
31+
override_path: "../../components/bh1750"
3032

3133
fbm320:
3234
version: "^1.0.0"
3335
public: true
36+
override_path: "../../components/fbm320"
3437

3538
mag3110:
3639
version: "^1.0.0"
3740
public: true
41+
override_path: "../../components/mag3110"
3842

3943
mpu6050:
4044
version: "^1.0.0"
4145
public: true
46+
override_path: "../../components/mpu6050"
4247

4348
examples:
4449
- path: ../../examples/mqtt_example

bsp/esp32_p4_eye/idf_component.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ dependencies:
1919
espressif/esp_lvgl_port:
2020
version: "^2"
2121
public: true
22+
override_path: "../../components/esp_lvgl_port"
2223

2324
knob:
2425
version: "^1"

bsp/esp32_p4_function_ev_board/README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -96,30 +96,30 @@ This BSP supports HDMI converter Lontium LT8912B. Follow these rules for using i
9696

9797
## LVGL Benchmark
9898

99-
**DATE:** 27.10.2025 03:03
99+
**DATE:** 07.11.2025 09:03
100100

101101
**LVGL version:** 9.4.0
102102

103103
| Name | Avg. CPU | Avg. FPS | Avg. time | render time | flush time |
104104
| ---- | :------: | :------: | :-------: | :---------: | :--------: |
105-
| Empty screen | 55% | 88 | 5 | 4 | 1 |
105+
| Empty screen | 61% | 88 | 5 | 3 | 2 |
106106
| Moving wallpaper | 89% | 71 | 10 | 7 | 3 |
107-
| Single rectangle | 23% | 89 | 1 | 1 | 0 |
108-
| Multiple rectangles | 40% | 90 | 2 | 2 | 0 |
109-
| Multiple RGB images | 23% | 94 | 1 | 1 | 0 |
110-
| Multiple ARGB images | 52% | 90 | 6 | 6 | 0 |
111-
| Rotated ARGB images | 77% | 76 | 10 | 10 | 0 |
112-
| Multiple labels | 92% | 61 | 14 | 13 | 1 |
113-
| Screen sized text | 99% | 14 | 68 | 66 | 2 |
114-
| Multiple arcs | 97% | 46 | 18 | 15 | 3 |
115-
| Containers | 31% | 90 | 3 | 3 | 0 |
116-
| Containers with overlay | 94% | 28 | 31 | 29 | 2 |
117-
| Containers with opa | 36% | 91 | 5 | 5 | 0 |
118-
| Containers with opa_layer | 60% | 72 | 13 | 13 | 0 |
119-
| Containers with scrolling | 97% | 29 | 31 | 29 | 2 |
120-
| Widgets demo | 98% | 17 | 50 | 48 | 2 |
121-
| All scenes avg. | 66% | 65 | 16 | 15 | 1 |
122-
123-
124-
125-
<!-- END_BENCHMARK -->
107+
| Single rectangle | 23% | 88 | 1 | 1 | 0 |
108+
| Multiple rectangles | 39% | 90 | 2 | 2 | 0 |
109+
| Multiple RGB images | 31% | 96 | 2 | 2 | 0 |
110+
| Multiple ARGB images | 58% | 93 | 6 | 6 | 0 |
111+
| Rotated ARGB images | 87% | 61 | 14 | 14 | 0 |
112+
| Multiple labels | 92% | 61 | 12 | 12 | 0 |
113+
| Screen sized text | 99% | 13 | 70 | 67 | 3 |
114+
| Multiple arcs | 98% | 47 | 18 | 16 | 2 |
115+
| Containers | 29% | 87 | 2 | 2 | 0 |
116+
| Containers with overlay | 88% | 28 | 32 | 30 | 2 |
117+
| Containers with opa | 41% | 89 | 4 | 4 | 0 |
118+
| Containers with opa_layer | 62% | 72 | 12 | 12 | 0 |
119+
| Containers with scrolling | 96% | 29 | 30 | 28 | 2 |
120+
| Widgets demo | 99% | 17 | 49 | 48 | 1 |
121+
| All scenes avg. | 68% | 64 | 15 | 15 | 0 |
122+
123+
124+
125+
<!-- END_BENCHMARK -->

bsp/esp32_p4_function_ev_board/idf_component.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,18 @@ tags:
1010

1111
dependencies:
1212
idf: ">=5.4"
13-
esp_lcd_ili9881c: "1.*"
14-
esp_lcd_ek79007: "1.*"
15-
esp_lcd_touch_gt911: "^1"
1613
lvgl/lvgl: ">=8,<10"
1714

15+
esp_lcd_ili9881c:
16+
version: "1.*"
17+
override_path: "../../components/lcd/esp_lcd_ili9881c"
18+
esp_lcd_ek79007:
19+
version: "1.*"
20+
override_path: "../../components/lcd/esp_lcd_ek79007"
21+
esp_lcd_touch_gt911:
22+
version: "^1"
23+
override_path: "../../components/lcd_touch/esp_lcd_touch_gt911"
24+
1825
espressif/esp_lvgl_port:
1926
version: "^2"
2027
public: true

bsp/esp32_s3_korvo_2/idf_component.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@ tags:
1010

1111
dependencies:
1212
idf: ">=5.4" # I2C Driver-NG is supported in esp32-camera only from IDFv5.4
13-
esp_lcd_ili9341: "^2.0.1"
14-
esp_lcd_touch_tt21100: "^1"
13+
esp_lcd_ili9341:
14+
version: "^2.0.1"
15+
override_path: "../../components/lcd/esp_lcd_ili9341"
16+
esp_lcd_touch_tt21100:
17+
version: "^1"
18+
override_path: "../../components/lcd_touch/esp_lcd_touch_tt21100"
1519

1620
esp_io_expander_tca9554:
1721
version: "^2"

bsp/esp32_s3_lcd_ev_board/README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -96,30 +96,30 @@ Based on the above configurations, there are three different anti-tearing modes
9696

9797
## LVGL Benchmark
9898

99-
**DATE:** 01.10.2025 13:12
99+
**DATE:** 07.11.2025 09:03
100100

101-
**LVGL version:** 9.3.0
101+
**LVGL version:** 9.4.0
102102

103103
| Name | Avg. CPU | Avg. FPS | Avg. time | render time | flush time |
104104
| ---- | :------: | :------: | :-------: | :---------: | :--------: |
105-
| Empty screen | 97% | 18 | 52 | 30 | 22 |
106-
| Moving wallpaper | 98% | 9 | 91 | 81 | 10 |
107-
| Single rectangle | 98% | 35 | 24 | 1 | 23 |
108-
| Multiple rectangles | 99% | 32 | 28 | 18 | 10 |
105+
| Empty screen | 96% | 18 | 51 | 29 | 22 |
106+
| Moving wallpaper | 100% | 10 | 85 | 81 | 4 |
107+
| Single rectangle | 99% | 35 | 25 | 2 | 23 |
108+
| Multiple rectangles | 99% | 32 | 27 | 18 | 9 |
109109
| Multiple RGB images | 99% | 29 | 29 | 22 | 7 |
110-
| Multiple ARGB images | 99% | 17 | 51 | 35 | 16 |
111-
| Rotated ARGB images | 99% | 16 | 58 | 50 | 8 |
112-
| Multiple labels | 100% | 19 | 45 | 31 | 14 |
113-
| Screen sized text | 99% | 8 | 109 | 89 | 20 |
114-
| Multiple arcs | 99% | 35 | 22 | 6 | 16 |
115-
| Containers | 99% | 15 | 55 | 42 | 13 |
116-
| Containers with overlay | 99% | 10 | 84 | 73 | 11 |
117-
| Containers with opa | 99% | 12 | 68 | 55 | 13 |
118-
| Containers with opa_layer | 99% | 6 | 139 | 129 | 10 |
119-
| Containers with scrolling | 99% | 11 | 82 | 62 | 20 |
120-
| Widgets demo | 99% | 7 | 98 | 84 | 14 |
121-
| All scenes avg. | 98% | 17 | 64 | 50 | 14 |
122-
123-
124-
125-
<!-- END_BENCHMARK -->
110+
| Multiple ARGB images | 99% | 16 | 51 | 35 | 16 |
111+
| Rotated ARGB images | 100% | 15 | 58 | 50 | 8 |
112+
| Multiple labels | 99% | 18 | 46 | 34 | 12 |
113+
| Screen sized text | 100% | 8 | 109 | 88 | 21 |
114+
| Multiple arcs | 99% | 35 | 23 | 8 | 15 |
115+
| Containers | 100% | 15 | 56 | 42 | 14 |
116+
| Containers with overlay | 99% | 9 | 86 | 73 | 13 |
117+
| Containers with opa | 100% | 11 | 75 | 57 | 18 |
118+
| Containers with opa_layer | 100% | 6 | 145 | 133 | 12 |
119+
| Containers with scrolling | 99% | 11 | 81 | 61 | 20 |
120+
| Widgets demo | 99% | 7 | 99 | 85 | 14 |
121+
| All scenes avg. | 99% | 17 | 65 | 51 | 14 |
122+
123+
124+
125+
<!-- END_BENCHMARK -->

0 commit comments

Comments
 (0)