From a12ad61c1fe90eab539439e2db8dfc4c373b54bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20BOU=C3=89?= Date: Sun, 12 May 2024 08:16:52 +0200 Subject: [PATCH 1/2] fix(docs): add more details on the version Closes https://github.com/esp-arduino-libs/ESP32_Display_Panel/pull/23 --- CHANGELOG.md | 4 ++++ README.md | 2 +- README_CN.md | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48d9136b..f4f8afc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # ChangeLog +## v0.1.1 - 2024-05-16 + +### Enhancements: + ## v0.1.0 - 2024-03-07 ### Breaking changes: diff --git a/README.md b/README.md index eb88d9c5..7bcd51bf 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ Below is a list of [supported touch controllers](src/touch/README.md): | **Dependency** | **Version** | | -------------- | ----------- | -| [arduino-esp32](https://github.com/espressif/arduino-esp32) | >= v3.0.3 | +| [arduino-esp32](https://github.com/espressif/arduino-esp32) | >= v3.0.0-alpha3 | | [ESP32_IO_Expander](https://github.com/esp-arduino-libs/ESP32_IO_Expander) | >= 0.0.1 && < 0.1.0 | ## How to Use diff --git a/README_CN.md b/README_CN.md index be56c0ab..a663a836 100644 --- a/README_CN.md +++ b/README_CN.md @@ -92,7 +92,7 @@ ESP32_Display_Panel 的功能框图如下所示,主要包含以下特性: | **依赖项** | **版本** | | ---------- | -------- | -| [arduino-esp32](https://github.com/espressif/arduino-esp32) | >= v3.0.3 | +| [arduino-esp32](https://github.com/espressif/arduino-esp32) | >= v3.0.0-alpha3 | | [ESP32_IO_Expander](https://github.com/esp-arduino-libs/ESP32_IO_Expander) | >= 0.0.1 && < 0.1.0 | ## 如何使用 From 82164f1e66e2f43f6895aba74425389b857c75e6 Mon Sep 17 00:00:00 2001 From: Liu Zhongwei Date: Thu, 16 May 2024 13:15:18 +0800 Subject: [PATCH 2/2] feat(config): add new IO expander CH422G --- CHANGELOG.md | 8 ++++++++ ESP_Panel_Board_Custom.h | 5 ++++- examples/LVGL/v8/Porting/ESP_Panel_Board_Custom.h | 5 ++++- examples/LVGL/v8/Rotation/ESP_Panel_Board_Custom.h | 5 ++++- examples/Panel/PanelTest/ESP_Panel_Board_Custom.h | 5 ++++- examples/SquareLine/v8/Porting/ESP_Panel_Board_Custom.h | 5 ++++- examples/SquareLine/v8/WiFiClock/ESP_Panel_Board_Custom.h | 5 ++++- 7 files changed, 32 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4f8afc2..621cd376 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ ### Enhancements: +* feat(touch): add spi xpt2046 by @Lzw655 (#21) +* feat(config): add new IO expander CH422G + +### Bugfixes: + +* fix some typo by @leeebo (#16, #17) +* fix(docs): add more details on the version by @leeebo (#23) + ## v0.1.0 - 2024-03-07 ### Breaking changes: diff --git a/ESP_Panel_Board_Custom.h b/ESP_Panel_Board_Custom.h index 7d1df917..ec5ac671 100644 --- a/ESP_Panel_Board_Custom.h +++ b/ESP_Panel_Board_Custom.h @@ -305,6 +305,7 @@ #if ESP_PANEL_USE_EXPANDER /** * IO expander name. Choose one of the following: + * - CH422G * - HT8574 * - TCA95xx_8bit * - TCA95xx_16bit @@ -318,7 +319,9 @@ */ #define ESP_PANEL_EXPANDER_SKIP_INIT_HOST (0) // 0/1 /* IO expander parameters */ -#define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) +#define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) // The actual I2C address. Even for the same model of IC, + // the I2C address may be different, and confirmation based on + // the actual hardware connection is required #if !ESP_PANEL_EXPANDER_SKIP_INIT_HOST #define ESP_PANEL_EXPANDER_HOST_ID (0) // Typically set to 0 #define ESP_PANEL_EXPANDER_I2C_CLK_HZ (400 * 1000) diff --git a/examples/LVGL/v8/Porting/ESP_Panel_Board_Custom.h b/examples/LVGL/v8/Porting/ESP_Panel_Board_Custom.h index 7d1df917..ec5ac671 100644 --- a/examples/LVGL/v8/Porting/ESP_Panel_Board_Custom.h +++ b/examples/LVGL/v8/Porting/ESP_Panel_Board_Custom.h @@ -305,6 +305,7 @@ #if ESP_PANEL_USE_EXPANDER /** * IO expander name. Choose one of the following: + * - CH422G * - HT8574 * - TCA95xx_8bit * - TCA95xx_16bit @@ -318,7 +319,9 @@ */ #define ESP_PANEL_EXPANDER_SKIP_INIT_HOST (0) // 0/1 /* IO expander parameters */ -#define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) +#define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) // The actual I2C address. Even for the same model of IC, + // the I2C address may be different, and confirmation based on + // the actual hardware connection is required #if !ESP_PANEL_EXPANDER_SKIP_INIT_HOST #define ESP_PANEL_EXPANDER_HOST_ID (0) // Typically set to 0 #define ESP_PANEL_EXPANDER_I2C_CLK_HZ (400 * 1000) diff --git a/examples/LVGL/v8/Rotation/ESP_Panel_Board_Custom.h b/examples/LVGL/v8/Rotation/ESP_Panel_Board_Custom.h index 7d1df917..ec5ac671 100644 --- a/examples/LVGL/v8/Rotation/ESP_Panel_Board_Custom.h +++ b/examples/LVGL/v8/Rotation/ESP_Panel_Board_Custom.h @@ -305,6 +305,7 @@ #if ESP_PANEL_USE_EXPANDER /** * IO expander name. Choose one of the following: + * - CH422G * - HT8574 * - TCA95xx_8bit * - TCA95xx_16bit @@ -318,7 +319,9 @@ */ #define ESP_PANEL_EXPANDER_SKIP_INIT_HOST (0) // 0/1 /* IO expander parameters */ -#define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) +#define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) // The actual I2C address. Even for the same model of IC, + // the I2C address may be different, and confirmation based on + // the actual hardware connection is required #if !ESP_PANEL_EXPANDER_SKIP_INIT_HOST #define ESP_PANEL_EXPANDER_HOST_ID (0) // Typically set to 0 #define ESP_PANEL_EXPANDER_I2C_CLK_HZ (400 * 1000) diff --git a/examples/Panel/PanelTest/ESP_Panel_Board_Custom.h b/examples/Panel/PanelTest/ESP_Panel_Board_Custom.h index 7d1df917..ec5ac671 100644 --- a/examples/Panel/PanelTest/ESP_Panel_Board_Custom.h +++ b/examples/Panel/PanelTest/ESP_Panel_Board_Custom.h @@ -305,6 +305,7 @@ #if ESP_PANEL_USE_EXPANDER /** * IO expander name. Choose one of the following: + * - CH422G * - HT8574 * - TCA95xx_8bit * - TCA95xx_16bit @@ -318,7 +319,9 @@ */ #define ESP_PANEL_EXPANDER_SKIP_INIT_HOST (0) // 0/1 /* IO expander parameters */ -#define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) +#define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) // The actual I2C address. Even for the same model of IC, + // the I2C address may be different, and confirmation based on + // the actual hardware connection is required #if !ESP_PANEL_EXPANDER_SKIP_INIT_HOST #define ESP_PANEL_EXPANDER_HOST_ID (0) // Typically set to 0 #define ESP_PANEL_EXPANDER_I2C_CLK_HZ (400 * 1000) diff --git a/examples/SquareLine/v8/Porting/ESP_Panel_Board_Custom.h b/examples/SquareLine/v8/Porting/ESP_Panel_Board_Custom.h index 7d1df917..ec5ac671 100644 --- a/examples/SquareLine/v8/Porting/ESP_Panel_Board_Custom.h +++ b/examples/SquareLine/v8/Porting/ESP_Panel_Board_Custom.h @@ -305,6 +305,7 @@ #if ESP_PANEL_USE_EXPANDER /** * IO expander name. Choose one of the following: + * - CH422G * - HT8574 * - TCA95xx_8bit * - TCA95xx_16bit @@ -318,7 +319,9 @@ */ #define ESP_PANEL_EXPANDER_SKIP_INIT_HOST (0) // 0/1 /* IO expander parameters */ -#define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) +#define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) // The actual I2C address. Even for the same model of IC, + // the I2C address may be different, and confirmation based on + // the actual hardware connection is required #if !ESP_PANEL_EXPANDER_SKIP_INIT_HOST #define ESP_PANEL_EXPANDER_HOST_ID (0) // Typically set to 0 #define ESP_PANEL_EXPANDER_I2C_CLK_HZ (400 * 1000) diff --git a/examples/SquareLine/v8/WiFiClock/ESP_Panel_Board_Custom.h b/examples/SquareLine/v8/WiFiClock/ESP_Panel_Board_Custom.h index 7d1df917..ec5ac671 100644 --- a/examples/SquareLine/v8/WiFiClock/ESP_Panel_Board_Custom.h +++ b/examples/SquareLine/v8/WiFiClock/ESP_Panel_Board_Custom.h @@ -305,6 +305,7 @@ #if ESP_PANEL_USE_EXPANDER /** * IO expander name. Choose one of the following: + * - CH422G * - HT8574 * - TCA95xx_8bit * - TCA95xx_16bit @@ -318,7 +319,9 @@ */ #define ESP_PANEL_EXPANDER_SKIP_INIT_HOST (0) // 0/1 /* IO expander parameters */ -#define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) +#define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) // The actual I2C address. Even for the same model of IC, + // the I2C address may be different, and confirmation based on + // the actual hardware connection is required #if !ESP_PANEL_EXPANDER_SKIP_INIT_HOST #define ESP_PANEL_EXPANDER_HOST_ID (0) // Typically set to 0 #define ESP_PANEL_EXPANDER_I2C_CLK_HZ (400 * 1000)