Skip to content

Bugfix/lvgl v8 port poll touch #214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions .github/workflows/issue_comment.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/new_issues.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/new_prs.yml

This file was deleted.

6 changes: 5 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks

exclude: '(libraries/ui/|lv_conf.h)'
exclude: '(libraries/ui/)'
repos:
- repo: https://github.com/igrr/astyle_py.git
rev: v1.0.5
hooks:
- id: astyle_py
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']
exclude: '(.*lv_conf.h)'

- repo: https://github.com/espressif/check-copyright/
rev: v1.0.3
Expand Down Expand Up @@ -42,15 +43,18 @@ repos:
.*_pb2.py|
.*.pb-c.h|
.*.pb-c.c|
.*lv_conf.h|
.*.yuv
)$
- id: end-of-file-fixer
exclude: *whitespace_excludes
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: mixed-line-ending
exclude: *whitespace_excludes
args: ['-f=lf']
- id: double-quote-string-fixer
exclude: *whitespace_excludes
- id: no-commit-to-branch
name: Do not use more than one slash in the branch name
args: ['--pattern', '^[^/]*/[^/]*/']
Expand Down
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
# ChangeLog

## v1.0.3 - 2025-04-27
## v1.0.3 - 2025-07-07

### Enhancements:

* feat(docs): provides an example of how to integrate this library into micropython by @tsteinruecken (#190)
* feat(board): add board Waveshare:ESP32_S3_TOUCH_LCD_1_85_C @hegdi (#208)
* feat(board & touch):add new supported viewe board and cst820 touch @VIEWESMART (#197)
* feat(examples): show the usage of 'configVendorCommands()' function in esp_idf/lvgl_v8_port @martinroger (#217)

### Bugfixes:

* fix(examples): lvgl_port_v8 only poll touch screen if interrupt happened @hegdi (#209)
* fix(examples): update lv_conf.h for Arduino IDE @davetheghost (#219)
* fix(lcd): correct conditional compilation logic for ST7701 driver @SinKy-Yan (#223)
* fix(board): correct the RGB IO mapping and backlight configuration for Jingcai:JC8048W550C @jompjomp (#210)

## v1.0.2 - 2025-04-23

Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ The functional block diagram is shown below:
| **Manufacturer** | **Model** |
| --------------- | --------- |
| AXS | AXS15231B |
| Fitipower | EK9716BEK79007 |
| GalaxyCore | GC9A01GC9B71GC9503 |
| Fitipower | EK9716B,EK79007 |
| GalaxyCore | GC9A01,GC9B71,GC9503 |
| Himax | HX8399 |
| Ilitek | ILI9341ILI9881C |
| JADARD | JD9165JD9365 |
| Ilitek | ILI9341,ILI9881C |
| JADARD | JD9165,JD9365 |
| NewVision | NV3022B |
| SHENGHE | SH8601 |
| Sitronix | ST7262ST7701ST7703ST7789ST7796ST77903ST77916ST77922 |
| Sitronix | ST7262,ST7701,ST7703,ST7789,ST7796,ST77903,ST77916,ST77922 |
| Solomon Systech | SPD2010 |

📌 For detailed information, please refer to [Supported LCD Controllers](./docs/drivers/lcd.md).
Expand All @@ -94,10 +94,10 @@ The functional block diagram is shown below:
| AXS | AXS15231B |
| Chipsemicorp | CHSC6540 |
| FocalTech | FT5x06 |
| GOODiX | GT911GT1151 |
| Hynitron | CST816S |
| GOODiX | GT911,GT1151 |
| Hynitron | CST816S,CST820 |
| Parade | TT21100 |
| Sitronix | ST7123ST1633 |
| Sitronix | ST7123,ST1633 |
| Solomon Systech | SPD2010 |
| ST | STMPE610 |
| Xptek | XPT2046 |
Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ ESP32_Display_Panel 的主要特性如下:
| Chipsemicorp | CHSC6540 |
| FocalTech | FT5x06 |
| GOODiX | GT911、GT1151 |
| Hynitron | CST816S |
| Hynitron | CST816S、CST820 |
| Parade | TT21100 |
| Sitronix | ST7123、ST1633 |
| Solomon Systech | SPD2010 |
Expand Down
2 changes: 1 addition & 1 deletion check_copyright_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ examples_and_unit_tests:
ignore: # You can also select ignoring files here
perform_check: no # Don't check files from that block
include:
- 'examples/platformio/lvgl_v8_port/src/lv_conf.h'
- '**/**/lv_conf.h'
25 changes: 13 additions & 12 deletions docs/drivers/touch.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
| **Name** | **Version** | **I2C** | **SPI** |
| :--------------------------------------------------------------------------------------: | :---------: | :-----: | :-----: |
| [esp_lcd_touch](https://components.espressif.com/components/espressif/esp_lcd_touch) | 1.1.2 | | |
| AXS15231B | - | ✅ | |
| CHSC6540 | - | ✅ | |
| [CST816S](https://components.espressif.com/components/espressif/esp_lcd_touch_cst816s) | 1.0.3~1 | ✅ | |
| [FT5x06](https://components.espressif.com/components/espressif/esp_lcd_touch_ft5x06) | 1.0.6~1 | ✅ | |
| [GT911](https://components.espressif.com/components/espressif/esp_lcd_touch_gt911) | 1.1.1~1 | ✅ | |
| [GT1151](https://components.espressif.com/components/espressif/esp_lcd_touch_gt1151) | 1.0.5~2 | ✅ | |
| [SPD2010](https://components.espressif.com/components/espressif/esp_lcd_touch_spd2010) | 1.0.0 | ✅ | |
| ST1633 | 0.1.0 | ✅ | |
| [ST7123](https://components.espressif.com/components/espressif/esp_lcd_touch_st7123) | 1.0.0 | ✅ | |
| [STMPE610](https://components.espressif.com/components/espressif/esp_lcd_touch_stmpe610) | 1.0.6 | | ✅ |
| [TT21100](https://components.espressif.com/components/espressif/esp_lcd_touch_tt21100) | 1.1.0~1 | ✅ | |
| [XPT2046](https://components.espressif.com/components/atanisoft/esp_lcd_touch_xpt2046) | 1.0.5 | | ✅ |
| AXS15231B | - | ✅ | |
| CHSC6540 | - | ✅ | |
| [CST816S](https://components.espressif.com/components/espressif/esp_lcd_touch_cst816s) | 1.0.3~1 | ✅ | |
| CST820 | - | ✅ | |
| [FT5x06](https://components.espressif.com/components/espressif/esp_lcd_touch_ft5x06) | 1.0.6~1 | ✅ | |
| [GT911](https://components.espressif.com/components/espressif/esp_lcd_touch_gt911) | 1.1.1~1 | ✅ | |
| [GT1151](https://components.espressif.com/components/espressif/esp_lcd_touch_gt1151) | 1.0.5~2 | ✅ | |
| [SPD2010](https://components.espressif.com/components/espressif/esp_lcd_touch_spd2010) | 1.0.0 | ✅ | |
| ST1633 | 0.1.0 | ✅ | |
| [ST7123](https://components.espressif.com/components/espressif/esp_lcd_touch_st7123) | 1.0.0 | ✅ | |
| [STMPE610](https://components.espressif.com/components/espressif/esp_lcd_touch_stmpe610) | 1.0.6 | | ✅ |
| [TT21100](https://components.espressif.com/components/espressif/esp_lcd_touch_tt21100) | 1.1.0~1 | ✅ | |
| [XPT2046](https://components.espressif.com/components/atanisoft/esp_lcd_touch_xpt2046) | 1.0.5 | | ✅ |
3 changes: 2 additions & 1 deletion esp_panel_board_custom_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@
* - `AXS15231B`
* - `CHSC6540`
* - `CST816S`
* - `CST820`
* - `FT5x06`
* - `GT911`, `GT1151`
* - `SPD2010`
Expand Down Expand Up @@ -751,7 +752,7 @@
* 3. Patch version mismatch: No impact on functionality
*/
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MAJOR 1
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MINOR 1
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MINOR 2
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_PATCH 0

#endif // ESP_PANEL_BOARD_DEFAULT_USE_CUSTOM
Expand Down
19 changes: 18 additions & 1 deletion esp_panel_board_supported_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
* Waveshare Supported Boards (https://www.waveshare.com/):
*
* -BOARD_WAVESHARE_ESP32_S3_TOUCH_LCD_1_85 (ESP32_S3_Touch_LCD_1_85): https://www.waveshare.com/esp32-s3-touch-lcd-1.85.htm
* -BOARD_WAVESHARE_ESP32_S3_TOUCH_LCD_1_85_C (ESP32_S3_Touch_LCD_1_85_C): https://www.waveshare.com/esp32-s3-touch-lcd-1.85c.htm
* -BOARD_WAVESHARE_ESP32_S3_TOUCH_LCD_2_1 (ESP32_S3_Touch_LCD_2_1): https://www.waveshare.com/esp32-s3-touch-lcd-2.1.htm
* -BOARD_WAVESHARE_ESP32_S3_TOUCH_LCD_4_3 (ESP32_S3_Touch_LCD_4_3): https://www.waveshare.com/esp32-s3-touch-lcd-4.3.htm
* -BOARD_WAVESHARE_ESP32_S3_TOUCH_LCD_4_3_B (ESP32_S3_Touch_LCD_4_3_B): https://www.waveshare.com/esp32-s3-touch-lcd-4.3B.htm
Expand All @@ -102,6 +103,7 @@
* -BOARD_WAVESHARE_ESP32_P4_NANO (ESP32_P4_NANO): https://www.waveshare.com/esp32-p4-nano.htm
*/
// #define BOARD_WAVESHARE_ESP32_S3_TOUCH_LCD_1_85
// #define BOARD_WAVESHARE_ESP32_S3_TOUCH_LCD_1_85_C
// #define BOARD_WAVESHARE_ESP32_S3_TOUCH_LCD_2_1
// #define BOARD_WAVESHARE_ESP32_S3_TOUCH_LCD_4_3
// #define BOARD_WAVESHARE_ESP32_S3_TOUCH_LCD_4_3_B
Expand All @@ -123,24 +125,39 @@
* +------------------- Horizontal resolution: 240
* So UEDX24320024E means: 240x320 resolution & 2.4 inch display
*
* - BOARD_VIEWE_SMARTRING (SMARTRING): https://github.com/VIEWESMART/VIEWE-SMARTRING
* - BOARD_VIEWE_UEDX24240013_MD50E (UEDX24240013-MD50ESP32): https://github.com/VIEWESMART/UEDX24240013-MD50ESP32_1.3inch-Knob
* - BOARD_VIEWE_UEDX24320024E_WB_A (UEDX24320024E-WB-A): https://viewedisplay.com/product/esp32-2-4-inch-240x320-rgb-ips-tft-display-touch-screen-arduino-lvgl-wifi-ble-uart-smart-module/
* - BOARD_VIEWE_UEDX24320028E_WB_A (UEDX24320028E-WB-A): https://viewedisplay.com/product/esp32-2-8-inch-240x320-mcu-ips-tft-display-touch-screen-arduino-lvgl-wifi-ble-uart-smart-module/
* - BOARD_VIEWE_UEDX24320035E_WB_A (UEDX24320035E-WB-A): https://viewedisplay.com/product/esp32-3-5-inch-240x320-mcu-ips-tft-display-touch-screen-arduino-lvgl-wifi-ble-uart-smart-module/
* - BOARD_VIEWE_UEDX32480035E_WB_A (UEDX32480035E-WB-A): https://github.com/VIEWESMART/Product-Specification-and-Schematic/blob/main/ESP32/3.5inch/320480/UEDX32480035E-WB-A%20SPEC.pdf
* - BOARD_VIEWE_UEDX46460015_MD50ET (UEDX46460015-MD50ESP32): https://github.com/VIEWESMART/UEDX46460015-MD50ESP32-1.5inch-Touch-Knob-Display
* - BOARD_VIEWE_UEDX48270043E_WB_A (UEDX48270043E-WB-A): https://github.com/VIEWESMART/Product-Specification-and-Schematic/blob/main/ESP32/4.3inch/Low-Resolution_480272/UEDX48270043E-WB-A%20SPEC.pdf
* - BOARD_VIEWE_UEDX48480021_MD80E_V2 (UEDX48480021-MD80ESP32): https://github.com/VIEWESMART/UEDX48480021-MD80ESP32_2.1inch-Knob
* - BOARD_VIEWE_UEDX48480021_MD80E (UEDX48480021-MD80ESP32): https://github.com/VIEWESMART/UEDX48480021-MD80ESP32_2.1inch-Knob
* - BOARD_VIEWE_UEDX48480021_MD80ET (UEDX48480021-MD80ESP32): https://github.com/VIEWESMART/UEDX48480021-MD80ESP32-2.1inch-Touch-Knob-Display
* - BOARD_VIEWE_UEDX48480040E_WB_A (UEDX48480040E-WB-A): https://viewedisplay.com/product/esp32-4-inch-tft-display-touch-screen-arduino-lvgl/
* - BOARD_VIEWE_UEDX80480043E_WB_A (UEDX80480043E-WB-A): https://viewedisplay.com/product/esp32-4-3-inch-800x480-rgb-ips-tft-display-touch-screen-arduino-lvgl/
* - BOARD_VIEWE_UEDX80480050E_AC_A (UEDX80480050E-AC-A): https://viewedisplay.com/product/esp32-5-inch-800x480-rgb-ips-tft-display-touch-screen-arduino-lvgl/
* - BOARD_VIEWE_UEDX80480050E_WB_A (UEDX80480050E-WB-A): https://viewedisplay.com/product/esp32-5-inch-800x480-rgb-ips-tft-display-touch-screen-arduino-lvgl/
* - BOARD_VIEWE_UEDX80480050E_WB_A_2 (UEDX80480050E-WB-A): https://viewedisplay.com/product/esp32-5-inch-800x480-rgb-ips-tft-display-touch-screen-arduino-lvgl/
* - BOARD_VIEWE_UEDX80480070E_WB_A (UEDX80480070E-WB-A): https://viewedisplay.com/product/esp32-7-inch-800x480-rgb-ips-tft-display-touch-screen-arduino-lvgl-uart/
*/
// #define BOARD_VIEWE_SMARTRING
// #define BOARD_VIEWE_UEDX24240013_MD50E
// #define BOARD_VIEWE_UEDX24320024E_WB_A
// #define BOARD_VIEWE_UEDX24320028E_WB_A
// #define BOARD_VIEWE_UEDX24320035E_WB_A
// #define BOARD_VIEWE_UEDX32480035E_WB_A
// #define BOARD_VIEWE_UEDX46460015_MD50ET
// #define BOARD_VIEWE_UEDX48270043E_WB_A
// #define BOARD_VIEWE_UEDX48480021_MD80E_V2
// #define BOARD_VIEWE_UEDX48480021_MD80E
// #define BOARD_VIEWE_UEDX48480021_MD80ET
// #define BOARD_VIEWE_UEDX48480028_MD80ET
// #define BOARD_VIEWE_UEDX48480040E_WB_A
// #define BOARD_VIEWE_UEDX80480043E_WB_A
// #define BOARD_VIEWE_UEDX80480050E_AC_A
// #define BOARD_VIEWE_UEDX80480050E_WB_A
// #define BOARD_VIEWE_UEDX80480050E_WB_A_2
// #define BOARD_VIEWE_UEDX80480070E_WB_A
Expand All @@ -156,7 +173,7 @@
* 3. Patch version mismatch: No impact on functionality
*/
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MAJOR 1
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 0
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 1
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_PATCH 0

#endif
3 changes: 2 additions & 1 deletion esp_panel_drivers_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
#define ESP_PANEL_DRIVERS_TOUCH_USE_AXS15231B (0)
#define ESP_PANEL_DRIVERS_TOUCH_USE_CHSC6540 (0)
#define ESP_PANEL_DRIVERS_TOUCH_USE_CST816S (0)
#define ESP_PANEL_DRIVERS_TOUCH_USE_CST820 (0)
#define ESP_PANEL_DRIVERS_TOUCH_USE_FT5x06 (0)
#define ESP_PANEL_DRIVERS_TOUCH_USE_GT911 (0)
#define ESP_PANEL_DRIVERS_TOUCH_USE_GT1151 (0)
Expand Down Expand Up @@ -260,7 +261,7 @@
* 3. Patch version mismatch: No impact on functionality
*/
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MAJOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 0
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_PATCH 0

// *INDENT-ON*
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
#define ESP_PANEL_DRIVERS_TOUCH_USE_AXS15231B (0)
#define ESP_PANEL_DRIVERS_TOUCH_USE_CHSC6540 (0)
#define ESP_PANEL_DRIVERS_TOUCH_USE_CST816S (0)
#define ESP_PANEL_DRIVERS_TOUCH_USE_CST820 (0)
#define ESP_PANEL_DRIVERS_TOUCH_USE_FT5x06 (0)
#define ESP_PANEL_DRIVERS_TOUCH_USE_GT911 (0)
#define ESP_PANEL_DRIVERS_TOUCH_USE_GT1151 (0)
Expand Down Expand Up @@ -260,7 +261,7 @@
* 3. Patch version mismatch: No impact on functionality
*/
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MAJOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 0
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_PATCH 0

// *INDENT-ON*
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@
* - `AXS15231B`
* - `CHSC6540`
* - `CST816S`
* - `CST820`
* - `FT5x06`
* - `GT911`, `GT1151`
* - `SPD2010`
Expand Down Expand Up @@ -751,7 +752,7 @@
* 3. Patch version mismatch: No impact on functionality
*/
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MAJOR 1
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MINOR 1
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MINOR 2
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_PATCH 0

#endif // ESP_PANEL_BOARD_DEFAULT_USE_CUSTOM
Expand Down
Loading
Loading