Skip to content

Commit 01b9375

Browse files
committed
feat(examples): update
1 parent 033a0f2 commit 01b9375

File tree

210 files changed

+10237
-3769
lines changed

Some content is hidden

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

210 files changed

+10237
-3769
lines changed

.build-rules.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ test_apps/drivers/touch/spi:
6969
- if: SOC_GPSPI_SUPPORTED != 1
7070

7171
# Examples
72-
test_apps/gui/lvgl_port_v8:
72+
test_apps/gui/lvgl_v8_port:
7373
enable:
7474
- if: INCLUDE_DEFAULT == 1

.gitlab/ci/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@ build_test_apps_board_waveshare:
165165
EXAMPLE_DIR: test_apps/board/waveshare
166166

167167
# Test apps examples
168-
build_test_apps_gui_lvgl_port_v8:
168+
build_test_apps_gui_lvgl_v8_port:
169169
extends:
170170
- .build_examples_template
171171
- .build_general_idf_release_image
172-
- .rules:build:test_apps_gui_lvgl_port_v8
172+
- .rules:build:test_apps_gui_lvgl_v8_port
173173
variables:
174-
EXAMPLE_DIR: test_apps/gui/lvgl_port_v8
174+
EXAMPLE_DIR: test_apps/gui/lvgl_v8_port

.gitlab/ci/rules.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,9 @@
312312
- "test_apps/board/waveshare/**/*"
313313

314314
# test_apps gui files
315-
.patterns-test_apps_gui_lvgl_port_v8: &patterns-test_apps_gui_lvgl_port_v8
315+
.patterns-test_apps_gui_lvgl_v8_port: &patterns-test_apps_gui_lvgl_v8_port
316316
- .patterns-test_apps_board_general
317-
- "test_apps/gui/lvgl_port_v8/**/*"
317+
- "test_apps/gui/lvgl_v8_port/**/*"
318318

319319
##############
320320
# if anchors #
@@ -540,8 +540,8 @@
540540
- <<: *if-dev-push
541541
changes: *patterns-test_apps_board_waveshare
542542

543-
# rules for test_apps examples-lvgl_port_v8
544-
.rules:build:test_apps_gui_lvgl_port_v8:
543+
# rules for test_apps examples-lvgl_v8_port
544+
.rules:build:test_apps_gui_lvgl_v8_port:
545545
rules:
546546
- <<: *if-protected
547547
- <<: *if-label-build
@@ -552,4 +552,4 @@
552552
- <<: *if-dev-push
553553
changes: *patterns-component_board_general
554554
- <<: *if-dev-push
555-
changes: *patterns-test_apps_gui_lvgl_port_v8
555+
changes: *patterns-test_apps_gui_lvgl_v8_port

.pre-commit-config.yaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# See https://pre-commit.com for more information
22
# See https://pre-commit.com/hooks.html for more hooks
33

4-
exclude: 'libraries/ui/'
4+
exclude: '(libraries/ui/|lv_conf.h)'
55
repos:
66
- repo: https://github.com/igrr/astyle_py.git
77
rev: v1.0.5
@@ -87,25 +87,21 @@ repos:
8787
language: python
8888
pass_filenames: false
8989
always_run: true
90-
91-
- repo: local
92-
hooks:
9390
- id: sync-conf-files
9491
name: Update when configuration files change
95-
entry: python3 tools/sync_conf_files.py ./
92+
entry: python3 tools/sync_conf_files.py ./ ./
9693
language: system
9794
files: '.*esp_panel_(board_custom|board_supported|drivers)_conf\.h'
98-
99-
- repo: local
100-
hooks:
95+
- id: sync-template-files
96+
name: Update when template files change
97+
entry: python3 tools/sync_conf_files.py ./template_files ./
98+
language: system
99+
files: '(.*esp_utils_conf\.h|.*lv_conf\.h|.*lvgl_v8_port\.cpp|.*lvgl_v8_port\.h)'
101100
- id: check-file-versions
102101
name: Update when versions change
103102
entry: python3 tools/check_file_version.py ./
104103
language: system
105104
files: '(.*esp_panel_(board_custom|board_supported|drivers)_conf\.h|library.properties|.*esp_panel_versions.h)'
106-
107-
- repo: local
108-
hooks:
109105
- id: check-library-versions
110106
name: Check library versions
111107
entry: ./.github/scripts/check_lib_versions.sh

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
* feat(board): add support for Waveshare ESP32-S3-Touch-LCD-2.1 @martinroger (#117)
5252
* feat(board): add support for Espressif ESP32-P4-Function-EV-Board
5353
* feat(examples): add MIPI-DSI LCD
54-
* feat(examples): optimize anti-tear rotation in lvgl_port_v8
54+
* feat(examples): optimize anti-tear rotation in lvgl_v8_port
5555
* feat(ci): update for MIPI-DSI LCD
5656
* feat(test_apps): add MIPI-DSI LCD
5757

check_copyright_config.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ examples_and_unit_tests:
3131
include:
3232
- 'test_apps/'
3333
- 'examples/'
34+
- 'template_files/'
3435
allowed_licenses:
3536
- Apache-2.0
3637
- Unlicense
3738
- CC0-1.0
3839
license_for_new_files: CC0-1.0
3940

40-
# ignore: # You can also select ignoring files here
41-
# perform_check: no # Don't check files from that block
42-
# include:
41+
ignore: # You can also select ignoring files here
42+
perform_check: no # Don't check files from that block
43+
include:
44+
- 'examples/platformio/lvgl_v8_port/src/lv_conf.h'

docs/FAQ.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ When encountering screen drift issue when driving RGB LCD with ESP32-S3, you can
4848

4949
- **Step 4**: If you are using an independent driver, refer to the example code below to set the size of the `Bounce Buffer`.
5050

51-
- **Step 5**: If you are developing an LVGL application, assign the task that initializes the RGB peripheral and the task that runs the LVGL `lv_timer_handler()` on the same core. Please refer to [the code](../examples/LVGL/v8/Porting/lvgl_port_v8.h#L53).
51+
- **Step 5**: If you are developing an LVGL application, assign the task that initializes the RGB peripheral and the task that runs the LVGL `lv_timer_handler()` on the same core. Please refer to [the code](../examples/LVGL/v8/Porting/lvgl_v8_port.h#L53).
5252

5353
3. **Example Code**: The following example code demonstrates how to modify the size of the `Bounce Buffer` using `ESP_Panel` driver or independent driver:
5454

docs/FAQ_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ arduino-esp32 v3.x.x 版本的 SDK 位于默认安装路径下的 `tools > esp32
4747

4848
- **Step4**:如果您使用的是独立的驱动,请参考下面的示例代码来设置 `Bounce Buffer` 的大小。
4949

50-
- **Step5**:如果您正在开发 LVGL 应用,将执行 RGB 外设初始化的任务与执行 LVGL lv_timer_handler() 的任务分配在同一个核上,请参考 [代码](../examples/LVGL/v8/Porting/lvgl_port_v8.h#L53)
50+
- **Step5**:如果您正在开发 LVGL 应用,将执行 RGB 外设初始化的任务与执行 LVGL lv_timer_handler() 的任务分配在同一个核上,请参考 [代码](../examples/LVGL/v8/Porting/lvgl_v8_port.h#L53)
5151

5252
3. **示例代码**:以下示例代码展示了如何通过 `ESP_Panel` 驱动或独立的驱动来修改 `Bounce Buffer` 的大小:
5353

esp_panel_board_custom_conf.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,8 @@
283283
* will use the default initialization sequence code.
284284
*
285285
* The initialization sequence can be specified in two formats:
286-
*
287286
* 1. Raw format:
288287
* {command, (uint8_t []){data0, data1, ...}, data_size, delay_ms}
289-
*
290288
* 2. Helper macros:
291289
* - ESP_PANEL_LCD_CMD_WITH_8BIT_PARAM(delay_ms, command, {data0, data1, ...})
292290
* - ESP_PANEL_LCD_CMD_WITH_NONE_PARAM(delay_ms, command)

examples/arduino/board/use_default_config/esp_panel_board_custom_conf.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,8 @@
283283
* will use the default initialization sequence code.
284284
*
285285
* The initialization sequence can be specified in two formats:
286-
*
287286
* 1. Raw format:
288287
* {command, (uint8_t []){data0, data1, ...}, data_size, delay_ms}
289-
*
290288
* 2. Helper macros:
291289
* - ESP_PANEL_LCD_CMD_WITH_8BIT_PARAM(delay_ms, command, {data0, data1, ...})
292290
* - ESP_PANEL_LCD_CMD_WITH_NONE_PARAM(delay_ms, command)

0 commit comments

Comments
 (0)