Skip to content

Commit a365006

Browse files
davetheghostLzw655
authored andcommitted
fix(examples): update lv_conf.h for Arduino IDE @davetheghost (#219)
Arduino IDE 1.8.19 uses the end comment signifier */ at the of URLS as part of the URL, commenting missed an incident Closes #219
1 parent 23586df commit a365006

File tree

9 files changed

+26
-22
lines changed

9 files changed

+26
-22
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
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/|lv_conf.h)'
4+
exclude: '(libraries/ui/)'
55
repos:
66
- repo: https://github.com/igrr/astyle_py.git
77
rev: v1.0.5
88
hooks:
99
- id: astyle_py
1010
args: ['--style=otbs', '--attach-namespaces', '--attach-classes', '--indent=spaces=4', '--convert-tabs', '--align-pointer=name', '--align-reference=name', '--keep-one-line-statements', '--pad-header', '--pad-oper']
11+
exclude: '(.*lv_conf.h)'
1112

1213
- repo: https://github.com/espressif/check-copyright/
1314
rev: v1.0.3
@@ -42,15 +43,18 @@ repos:
4243
.*_pb2.py|
4344
.*.pb-c.h|
4445
.*.pb-c.c|
46+
.*lv_conf.h|
4547
.*.yuv
4648
)$
4749
- id: end-of-file-fixer
4850
exclude: *whitespace_excludes
4951
- id: check-executables-have-shebangs
5052
- id: check-shebang-scripts-are-executable
5153
- id: mixed-line-ending
54+
exclude: *whitespace_excludes
5255
args: ['-f=lf']
5356
- id: double-quote-string-fixer
57+
exclude: *whitespace_excludes
5458
- id: no-commit-to-branch
5559
name: Do not use more than one slash in the branch name
5660
args: ['--pattern', '^[^/]*/[^/]*/']

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
* feat(docs): provides an example of how to integrate this library into micropython by @tsteinruecken (#190)
88
* feat(board): add board Waveshare:ESP32_S3_TOUCH_LCD_1_85_C @hegdi (#208)
9-
* feat(board): add some new VIEWE boards @VIEWESMART (#197)
10-
* feat(drivers): add touch controller CST820 @VIEWESMART (#197)
9+
* feat(board & touch):add new supported viewe board and cst820 touch @VIEWESMART (#197)
1110

1211
### Bugfixes:
1312

1413
* fix(examples): lvgl_port_v8 only poll touch screen if interrupt happened @hegdi (#209)
14+
* fix(examples): update lv_conf.h for Arduino IDE @davetheghost (#219)
1515

1616
## v1.0.2 - 2025-04-23
1717

check_copyright_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ examples_and_unit_tests:
4141
ignore: # You can also select ignoring files here
4242
perform_check: no # Don't check files from that block
4343
include:
44-
- 'examples/platformio/lvgl_v8_port/src/lv_conf.h'
44+
- '**/**/lv_conf.h'

examples/arduino/gui/lvgl_v8/simple_port/lv_conf.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@
360360
*===================*/
361361

362362
/*Montserrat fonts with ASCII range and some symbols using bpp = 4
363-
*https://fonts.google.com/specimen/Montserrat*/
363+
*https://fonts.google.com/specimen/Montserrat */
364364
#define LV_FONT_MONTSERRAT_8 1
365365
#define LV_FONT_MONTSERRAT_10 1
366366
#define LV_FONT_MONTSERRAT_12 1
@@ -451,7 +451,7 @@
451451

452452
/*Support bidirectional texts. Allows mixing Left-to-Right and Right-to-Left texts.
453453
*The direction will be processed according to the Unicode Bidirectional Algorithm:
454-
*https://www.w3.org/International/articles/inline-bidi-markup/uba-basics*/
454+
*https://www.w3.org/International/articles/inline-bidi-markup/uba-basics */
455455
#define LV_USE_BIDI 0
456456
#if LV_USE_BIDI
457457
/*Set the default direction. Supported values:
@@ -469,7 +469,7 @@
469469
* WIDGET USAGE
470470
*================*/
471471

472-
/*Documentation of the widgets: https://docs.lvgl.io/latest/en/html/widgets/index.html*/
472+
/*Documentation of the widgets: https://docs.lvgl.io/latest/en/html/widgets/index.html */
473473

474474
#define LV_USE_ARC 1
475475

examples/arduino/gui/lvgl_v8/simple_rotation/lv_conf.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@
360360
*===================*/
361361

362362
/*Montserrat fonts with ASCII range and some symbols using bpp = 4
363-
*https://fonts.google.com/specimen/Montserrat*/
363+
*https://fonts.google.com/specimen/Montserrat */
364364
#define LV_FONT_MONTSERRAT_8 1
365365
#define LV_FONT_MONTSERRAT_10 1
366366
#define LV_FONT_MONTSERRAT_12 1
@@ -451,7 +451,7 @@
451451

452452
/*Support bidirectional texts. Allows mixing Left-to-Right and Right-to-Left texts.
453453
*The direction will be processed according to the Unicode Bidirectional Algorithm:
454-
*https://www.w3.org/International/articles/inline-bidi-markup/uba-basics*/
454+
*https://www.w3.org/International/articles/inline-bidi-markup/uba-basics */
455455
#define LV_USE_BIDI 0
456456
#if LV_USE_BIDI
457457
/*Set the default direction. Supported values:
@@ -469,7 +469,7 @@
469469
* WIDGET USAGE
470470
*================*/
471471

472-
/*Documentation of the widgets: https://docs.lvgl.io/latest/en/html/widgets/index.html*/
472+
/*Documentation of the widgets: https://docs.lvgl.io/latest/en/html/widgets/index.html */
473473

474474
#define LV_USE_ARC 1
475475

examples/arduino/gui/lvgl_v8/squareline_port/lv_conf.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@
360360
*===================*/
361361

362362
/*Montserrat fonts with ASCII range and some symbols using bpp = 4
363-
*https://fonts.google.com/specimen/Montserrat*/
363+
*https://fonts.google.com/specimen/Montserrat */
364364
#define LV_FONT_MONTSERRAT_8 1
365365
#define LV_FONT_MONTSERRAT_10 1
366366
#define LV_FONT_MONTSERRAT_12 1
@@ -451,7 +451,7 @@
451451

452452
/*Support bidirectional texts. Allows mixing Left-to-Right and Right-to-Left texts.
453453
*The direction will be processed according to the Unicode Bidirectional Algorithm:
454-
*https://www.w3.org/International/articles/inline-bidi-markup/uba-basics*/
454+
*https://www.w3.org/International/articles/inline-bidi-markup/uba-basics */
455455
#define LV_USE_BIDI 0
456456
#if LV_USE_BIDI
457457
/*Set the default direction. Supported values:
@@ -469,7 +469,7 @@
469469
* WIDGET USAGE
470470
*================*/
471471

472-
/*Documentation of the widgets: https://docs.lvgl.io/latest/en/html/widgets/index.html*/
472+
/*Documentation of the widgets: https://docs.lvgl.io/latest/en/html/widgets/index.html */
473473

474474
#define LV_USE_ARC 1
475475

examples/arduino/gui/lvgl_v8/squareline_wifi_clock/lv_conf.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@
360360
*===================*/
361361

362362
/*Montserrat fonts with ASCII range and some symbols using bpp = 4
363-
*https://fonts.google.com/specimen/Montserrat*/
363+
*https://fonts.google.com/specimen/Montserrat */
364364
#define LV_FONT_MONTSERRAT_8 1
365365
#define LV_FONT_MONTSERRAT_10 1
366366
#define LV_FONT_MONTSERRAT_12 1
@@ -451,7 +451,7 @@
451451

452452
/*Support bidirectional texts. Allows mixing Left-to-Right and Right-to-Left texts.
453453
*The direction will be processed according to the Unicode Bidirectional Algorithm:
454-
*https://www.w3.org/International/articles/inline-bidi-markup/uba-basics*/
454+
*https://www.w3.org/International/articles/inline-bidi-markup/uba-basics */
455455
#define LV_USE_BIDI 0
456456
#if LV_USE_BIDI
457457
/*Set the default direction. Supported values:
@@ -469,7 +469,7 @@
469469
* WIDGET USAGE
470470
*================*/
471471

472-
/*Documentation of the widgets: https://docs.lvgl.io/latest/en/html/widgets/index.html*/
472+
/*Documentation of the widgets: https://docs.lvgl.io/latest/en/html/widgets/index.html */
473473

474474
#define LV_USE_ARC 1
475475

examples/platformio/lvgl_v8_port/src/lv_conf.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@
362362
*===================*/
363363

364364
/*Montserrat fonts with ASCII range and some symbols using bpp = 4
365-
*https://fonts.google.com/specimen/Montserrat*/
365+
*https://fonts.google.com/specimen/Montserrat */
366366
#define LV_FONT_MONTSERRAT_8 1
367367
#define LV_FONT_MONTSERRAT_10 1
368368
#define LV_FONT_MONTSERRAT_12 1
@@ -453,7 +453,7 @@
453453

454454
/*Support bidirectional texts. Allows mixing Left-to-Right and Right-to-Left texts.
455455
*The direction will be processed according to the Unicode Bidirectional Algorithm:
456-
*https://www.w3.org/International/articles/inline-bidi-markup/uba-basics*/
456+
*https://www.w3.org/International/articles/inline-bidi-markup/uba-basics */
457457
#define LV_USE_BIDI 0
458458
#if LV_USE_BIDI
459459
/*Set the default direction. Supported values:
@@ -471,7 +471,7 @@
471471
* WIDGET USAGE
472472
*================*/
473473

474-
/*Documentation of the widgets: https://docs.lvgl.io/latest/en/html/widgets/index.html*/
474+
/*Documentation of the widgets: https://docs.lvgl.io/latest/en/html/widgets/index.html */
475475

476476
#define LV_USE_ARC 1
477477

template_files/lv_conf.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@
360360
*===================*/
361361

362362
/*Montserrat fonts with ASCII range and some symbols using bpp = 4
363-
*https://fonts.google.com/specimen/Montserrat*/
363+
*https://fonts.google.com/specimen/Montserrat */
364364
#define LV_FONT_MONTSERRAT_8 1
365365
#define LV_FONT_MONTSERRAT_10 1
366366
#define LV_FONT_MONTSERRAT_12 1
@@ -451,7 +451,7 @@
451451

452452
/*Support bidirectional texts. Allows mixing Left-to-Right and Right-to-Left texts.
453453
*The direction will be processed according to the Unicode Bidirectional Algorithm:
454-
*https://www.w3.org/International/articles/inline-bidi-markup/uba-basics*/
454+
*https://www.w3.org/International/articles/inline-bidi-markup/uba-basics */
455455
#define LV_USE_BIDI 0
456456
#if LV_USE_BIDI
457457
/*Set the default direction. Supported values:
@@ -469,7 +469,7 @@
469469
* WIDGET USAGE
470470
*================*/
471471

472-
/*Documentation of the widgets: https://docs.lvgl.io/latest/en/html/widgets/index.html*/
472+
/*Documentation of the widgets: https://docs.lvgl.io/latest/en/html/widgets/index.html */
473473

474474
#define LV_USE_ARC 1
475475

0 commit comments

Comments
 (0)