Skip to content

Commit 13ac358

Browse files
MacChu0315-EspressifLzw655MacChu0315-Espressif
authored
feat(board): add new board M5CORE2 (#40)
* feat(board): add new board M5CORE2 * fix(version): fix version mismatch * fix(docs): update files related to version and board M5CORE2 * feat(docs): add Board Development Guide * feat(docs): optimize files in src/board * feat(docs): update some docs --------- Co-authored-by: Liu Zhongwei <liuzhongwei@espressif.com> Co-authored-by: MacChu0315-Espressif <zhuzhengming@espressif>
1 parent 9cdc53e commit 13ac358

20 files changed

+499
-81
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# ChangeLog
22

3+
## v0.1.3 - 2024-06-04
4+
5+
### Enhancements:
6+
7+
* feat(board): add add new board M5CORE2 by @MacChu0315-Espressif (#40)
8+
9+
### Bugfixes:
10+
11+
* fix(version): fix version mismatch
12+
* fix(docs): update files related to version and board M5CORE2
13+
314
## v0.1.2 - 2024-06-01
415

516
### Enhancements:

ESP_Panel_Board_Supported.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@
4646
// #define BOARD_ESP32_S3_LCD_EV_BOARD_2_V1_5
4747
// #define BOARD_ESP32_S3_USB_OTG
4848

49+
/*
50+
* M5Stack (https://m5stack.com/):
51+
*
52+
* - M5STACK_M5CORE2: https://docs.m5stack.com/zh_CN/core/core2
53+
*
54+
*/
55+
// #define BOARD_M5STACK_M5CORE2
56+
4957
/*
5058
* Shenzhen Jingcai Intelligent Supported Boards (https://www.displaysmodule.com/):
5159
*
@@ -68,7 +76,7 @@
6876
*
6977
*/
7078
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MAJOR 0
71-
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 1
79+
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 2
7280
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_PATCH 0
7381

7482
#endif

README.md

Lines changed: 7 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
* [中文版本](./README_CN.md)
66

7-
ESP32_Display_Panel is an Arduino library designed for ESP SoCs to drive display panels and facilitate rapid GUI development. Users can develop directly for a variety of [supported development boards](src/board/README.md) or create custom ones through simple adaptation. Additionally, ESP32_Display_Panel is compatible with various LCD and touch drivers, allowing users to develop using standalone drivers as needed.
7+
ESP32_Display_Panel is an Arduino library designed for ESP SoCs to drive display panels and facilitate rapid GUI development. Users can develop directly for a variety of [supported development boards](src/board/Board_Instructions.md) or create custom ones through simple adaptation. Additionally, ESP32_Display_Panel is compatible with various LCD and touch drivers, allowing users to develop using standalone drivers as needed.
88

99
ESP32_Display_Panel encapsulates various components from the [Espressif Components Registry](https://components.espressif.com/), requiring development based on [arduino-esp32](https://github.com/espressif/arduino-esp32), and can be directly downloaded from the Arduino IDE.
1010

@@ -55,14 +55,15 @@ The functional block diagram of ESP32_Display_Panel is as follows, mainly compri
5555

5656
### Development Boards
5757

58-
Below is a list of [supported development boards](src/board/README.md):
58+
Below is a list of [supported development boards](src/board/Board_Instructions.md):
5959

6060
| **Manufacturer** | **Board Model** |
6161
| --------------- | --------------- |
62-
| [Espressif](src/board/README.md#espressif) | ESP32-C3-LCDkit, ESP32-S3-Box, ESP32-S3-Box-3, ESP32-S3-Box-3(beta), ESP32-S3-Box-Lite, ESP32-S3-EYE, ESP32-S3-Korvo-2, ESP32-S3-LCD-EV-Board, ESP32-S3-LCD-EV-Board-2, ESP32-S3-USB-OTG |
63-
| [Jingcai](src/board/README.md#shenzhen-jingcai-intelligent) | ESP32-4848S040C_I_Y_3 |
62+
| [Espressif](src/board/Board_Instructions.md#espressif) | ESP32-C3-LCDkit, ESP32-S3-Box, ESP32-S3-Box-3, ESP32-S3-Box-3(beta), ESP32-S3-Box-Lite, ESP32-S3-EYE, ESP32-S3-Korvo-2, ESP32-S3-LCD-EV-Board, ESP32-S3-LCD-EV-Board-2, ESP32-S3-USB-OTG |
63+
| [M5Stack](https://m5stack.com/) | M5STACK-M5CORE2 |
64+
| [Jingcai](src/board/Board_Instructions.md#shenzhen-jingcai-intelligent) | ESP32-4848S040C_I_Y_3 |
6465

65-
Developers and manufacturers are welcome to submit PRs to add more development boards.
66+
Developers and manufacturers are welcomed to contribute PRs to add more development boards. For detailed instructions, please refer to the [`Board Development Guide`](./src/board/Board_Contribution_Guide.md).
6667

6768
### LCD Controllers
6869

@@ -297,32 +298,7 @@ To port the SquareLine project (v1.3.x), please refer to [here](#porting-squarel
297298

298299
### Configuring Supported Development Boards
299300

300-
Below are recommended configurations for developing GUI applications on different development boards. These settings can be adjusted according to specific requirements, and users can navigate to the `Tools` menu in the Arduino IDE to configure the following settings.
301-
302-
| Supported Boards | Selected Board | PSRAM | Flash Mode | Flash Size | USB CDC On Boot | Partition Scheme |
303-
| :---------------------: | :----------------: | :------: | :--------: | :--------: | :-------------: | :---------------------: |
304-
| ESP32-C3-LCDkit | ESP32C3 Dev Module | Disabled | QIO | 4MB (32Mb) | Enabled | Default 4MB with spiffs |
305-
| ESP32-S3-Box | ESP32-S3-Box | - | - | - | - | 16M Flash (3MB) |
306-
| ESP32-S3-Box-3 | ESP32S3 Dev Module | OPI | QIO 80MHz | 16MB | Enabled | 16M Flash (3MB) |
307-
| ESP32-S3-Box-3(beta) | ESP32S3 Dev Module | OPI | QIO 80MHz | 16MB | Enabled | 16M Flash (3MB) |
308-
| ESP32-S3-Box-Lite | ESP32-S3-Box | - | - | - | - | 16M Flash (3MB) |
309-
| ESP32-S3-EYE | ESP32S3 Dev Module | OPI | QIO 80MHz | 8MB | Enabled | 8M with spiffs |
310-
| ESP32-S3-Korvo-2 | ESP32S3 Dev Module | OPI | QIO 80MHz | 16MB | Disabled | 16M Flash (3MB) |
311-
| ESP32-S3-LCD-EV-Board | ESP32S3 Dev Module | OPI | QIO 80MHz | 16MB | **See Note 1** | 16M Flash (3MB) |
312-
| ESP32-S3-LCD-EV-Board-2 | ESP32S3 Dev Module | OPI | QIO 80MHz | 16MB | **See Note 1** | 16M Flash (3MB) |
313-
| ESP32-S3-USB-OTG | ESP32-S3-USB-OTG | - | - | - | - | 8M with spiffs |
314-
| ESP32-4848S040C_I_Y_3 | ESP32S3 Dev Module | OPI | QIO 80MHz | 16MB | Disabled | 16M Flash (3MB) |
315-
316-
**Notes:**
317-
318-
1. Enable or disable `USB CDC On Boot` based on the type of port used:
319-
320-
* Disable this configuration if using **UART** port; enable it if using **USB** port.
321-
* If this configuration differs from previous flashing, first enable `Erase All Flash Before Sketch Upload`, then it can be disabled after flashing.
322-
* If this configuration does not match the actual port type, it will prevent the development board from printing serial logs correctly.
323-
324-
2. To view more output logs, set `Core Debug Level` to `Info` or a lower level.
325-
3. If the predefined partition schemes provided by ESP32 do not meet the requirements, users can also select `Custom` in the "Partition Scheme" and create a custom partition table file `Custom.csv` in the `hardware/esp32/3.x.x/tools/partitions` directory under the [arduino-esp32 installation directory](#where-are-the-installation-directory-for-arduino-esp32-and-the-sdk-located). For detailed information on partition tables, please refer to the [ESP-IDF documentation](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html).
301+
For details on how to configure the supported development boards in the Arduino IDE, see [Board_Instructions.md](./src/board/Board_Instructions.md).
326302

327303
### Configuring LVGL
328304

README_CN.md

Lines changed: 7 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
* [English Version](./README.md)
66

7-
ESP32_Display_Panel 是专为 ESP SoCs 设计的 Arduino 库,用于驱动显示屏并实现快速 GUI 开发。用户不仅可以直接开发多款[内部支持的开发板](src/board/README.md),还可以通过简单的适配来开发自定义的开发板。此外,ESP32_Display_Panel 还适配了多款 LCD 和触摸的驱动,用户也可以根据需要使用独立的驱动进行开发。
7+
ESP32_Display_Panel 是专为 ESP SoCs 设计的 Arduino 库,用于驱动显示屏并实现快速 GUI 开发。用户不仅可以直接开发多款[内部支持的开发板](src/board/Board_Instructions.md),还可以通过简单的适配来开发自定义的开发板。此外,ESP32_Display_Panel 还适配了多款 LCD 和触摸的驱动,用户也可以根据需要使用独立的驱动进行开发。
88

99
ESP32_Display_Panel 封装了多种[乐鑫组件库](https://components.espressif.com/)中相关的组件,需要基于 [arduino-esp32](https://github.com/espressif/arduino-esp32) 进行开发,并且可以直接从 Arduino IDE 中下载获取。
1010

@@ -55,14 +55,15 @@ ESP32_Display_Panel 的功能框图如下所示,主要包含以下特性:
5555

5656
### 开发板
5757

58-
下面是支持的[开发板列表](src/board/README.md)
58+
下面是支持的[开发板列表](src/board/Board_Instructions.md)
5959

6060
| **厂商** | **开发板型号** |
6161
| -------- | -------------- |
62-
| [Espressif](src/board/README.md#espressif) | ESP32-C3-LCDkit, ESP32-S3-Box, ESP32-S3-Box-3, ESP32-S3-Box-3(beta), ESP32-S3-Box-Lite, ESP32-S3-EYE, ESP32-S3-Korvo-2, ESP32-S3-LCD-EV-Board, ESP32-S3-LCD-EV-Board-2, ESP32-S3-USB-OTG |
63-
| [Jingcai](src/board/README.md#shenzhen-jingcai-intelligent) | ESP32-4848S040C_I_Y_3 |
62+
| [Espressif](src/board/Board_Instructions.md#espressif) | ESP32-C3-LCDkit, ESP32-S3-Box, ESP32-S3-Box-3, ESP32-S3-Box-3(beta), ESP32-S3-Box-Lite, ESP32-S3-EYE, ESP32-S3-Korvo-2, ESP32-S3-LCD-EV-Board, ESP32-S3-LCD-EV-Board-2, ESP32-S3-USB-OTG |
63+
| [M5Stack](https://m5stack.com/) | M5STACK-M5CORE2 |
64+
| [Jingcai](src/board/Board_Instructions.md#shenzhen-jingcai-intelligent) | ESP32-4848S040C_I_Y_3 |
6465

65-
欢迎开发者和厂商提交 PR 来添加更多的开发板。
66+
欢迎开发者和厂商贡献 PR 来添加更多的开发板,详细说明请参考 [`开发板贡献指南`](./src/board/Board_Contribution_Guide_CN.md)
6667

6768
### LCD 控制器
6869

@@ -297,32 +298,7 @@ ESP32_Display_Panel 会根据 [ESP_Panel_Board_Custom.h](./ESP_Panel_Board_Custo
297298

298299
### 配置支持的开发板
299300

300-
下面是在不同开发板上开发 GUI 应用程序的建议配置,这些设置能够根据实际需求进行调整,用户可以前往 Arduino IDE 中的工具菜单来配置以下设置
301-
302-
| Supported Boards | Selected Board | PSRAM | Flash Mode | Flash Size | USB CDC On Boot | Partition Scheme |
303-
| :---------------------: | :----------------: | :------: | :--------: | :--------: | :-------------: | :---------------------: |
304-
| ESP32-C3-LCDkit | ESP32C3 Dev Module | Disabled | QIO | 4MB (32Mb) | Enabled | Default 4MB with spiffs |
305-
| ESP32-S3-Box | ESP32-S3-Box | - | - | - | - | 16M Flash (3MB) |
306-
| ESP32-S3-Box-3 | ESP32S3 Dev Module | OPI | QIO 80MHz | 16MB | Enabled | 16M Flash (3MB) |
307-
| ESP32-S3-Box-3(beta) | ESP32S3 Dev Module | OPI | QIO 80MHz | 16MB | Enabled | 16M Flash (3MB) |
308-
| ESP32-S3-Box-Lite | ESP32-S3-Box | - | - | - | - | 16M Flash (3MB) |
309-
| ESP32-S3-EYE | ESP32S3 Dev Module | OPI | QIO 80MHz | 8MB | Enabled | 8M with spiffs |
310-
| ESP32-S3-Korvo-2 | ESP32S3 Dev Module | OPI | QIO 80MHz | 16MB | Disabled | 16M Flash (3MB) |
311-
| ESP32-S3-LCD-EV-Board | ESP32S3 Dev Module | OPI | QIO 80MHz | 16MB | **See Note 1** | 16M Flash (3MB) |
312-
| ESP32-S3-LCD-EV-Board-2 | ESP32S3 Dev Module | OPI | QIO 80MHz | 16MB | **See Note 1** | 16M Flash (3MB) |
313-
| ESP32-S3-USB-OTG | ESP32-S3-USB-OTG | - | - | - | - | 8M with spiffs |
314-
| ESP32-4848S040C_I_Y_3 | ESP32S3 Dev Module | OPI | QIO 80MHz | 16MB | Disabled | 16M Flash (3MB) |
315-
316-
**Notes:**
317-
318-
1. 根据使用的端口类型启用或关闭 `USB CDC On Boot`
319-
320-
* 如果使用 **UART** 端口,则禁用此配置;如果使用 **USB** 端口,则启用它。
321-
* 如果此配置与先前的刷写不同,应首先启用 `Erase All Flash Before Sketch Upload`,然后在刷写后可以禁用它。
322-
* 如果此配置不符合实际端口类型,将导致开发板无法正常打印串口日志。
323-
324-
2. 若要查看更多输出日志,请将 `Core Debug Level` 设置为 `Info` 或更低级别
325-
3. 若 esp32 提供的预设分区方案都不满足需求,用户也可以在 "Partition Scheme" 中选择 `Custom`,并在 [arduino-esp32 安装目录](#arduino-eps32-的安装目录以及-sdk-的目录在哪儿)下的 `hardware/esp32/3.x.x/tools/partitions` 目录中创建自定义的分区表文件 `Custome.csv`,关于分区表的详细信息请参考 [ESP-IDF 文档](https://docs.espressif.com/projects/esp-idf/zh_CN/latest/esp32/api-guides/partition-tables.html)
301+
关于如何在 Arduino IDE 中配置支持的开发板,请参考 [Board_Instructions.md](./src/board/Board_Instructions.md).
326302

327303
### 配置 LVGL
328304

examples/LVGL/v8/Porting/ESP_Panel_Board_Supported.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@
4646
// #define BOARD_ESP32_S3_LCD_EV_BOARD_2_V1_5
4747
// #define BOARD_ESP32_S3_USB_OTG
4848

49+
/*
50+
* M5Stack (https://m5stack.com/):
51+
*
52+
* - M5STACK_M5CORE2: https://docs.m5stack.com/zh_CN/core/core2
53+
*
54+
*/
55+
// #define BOARD_M5STACK_M5CORE2
56+
4957
/*
5058
* Shenzhen Jingcai Intelligent Supported Boards (https://www.displaysmodule.com/):
5159
*
@@ -68,7 +76,7 @@
6876
*
6977
*/
7078
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MAJOR 0
71-
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 1
79+
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 2
7280
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_PATCH 0
7381

7482
#endif

examples/LVGL/v8/Porting/lvgl_port_v8.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* - The number of buffers should be 1 or 2.
3737
*
3838
*/
39-
#define LVGL_PORT_BUFFER_MALLOC_CAPS (MALLOC_CAP_INTERNAL) // Allocate LVGL buffer in SRAM
39+
#define LVGL_PORT_BUFFER_MALLOC_CAPS (MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT) // Allocate LVGL buffer in SRAM
4040
// #define LVGL_PORT_BUFFER_MALLOC_CAPS (MALLOC_CAP_SPIRAM) // Allocate LVGL buffer in PSRAM
4141
#define LVGL_PORT_BUFFER_SIZE (LVGL_PORT_DISP_WIDTH * 20)
4242
#define LVGL_PORT_BUFFER_NUM (2)

examples/LVGL/v8/Rotation/ESP_Panel_Board_Supported.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@
4646
// #define BOARD_ESP32_S3_LCD_EV_BOARD_2_V1_5
4747
// #define BOARD_ESP32_S3_USB_OTG
4848

49+
/*
50+
* M5Stack (https://m5stack.com/):
51+
*
52+
* - M5STACK_M5CORE2: https://docs.m5stack.com/zh_CN/core/core2
53+
*
54+
*/
55+
// #define BOARD_M5STACK_M5CORE2
56+
4957
/*
5058
* Shenzhen Jingcai Intelligent Supported Boards (https://www.displaysmodule.com/):
5159
*
@@ -68,7 +76,7 @@
6876
*
6977
*/
7078
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MAJOR 0
71-
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 1
79+
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 2
7280
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_PATCH 0
7381

7482
#endif

examples/LVGL/v8/Rotation/lvgl_port_v8.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* - The number of buffers should be 1 or 2.
3737
*
3838
*/
39-
#define LVGL_PORT_BUFFER_MALLOC_CAPS (MALLOC_CAP_INTERNAL) // Allocate LVGL buffer in SRAM
39+
#define LVGL_PORT_BUFFER_MALLOC_CAPS (MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT) // Allocate LVGL buffer in SRAM
4040
// #define LVGL_PORT_BUFFER_MALLOC_CAPS (MALLOC_CAP_SPIRAM) // Allocate LVGL buffer in PSRAM
4141
#define LVGL_PORT_BUFFER_SIZE (LVGL_PORT_DISP_WIDTH * 20)
4242
#define LVGL_PORT_BUFFER_NUM (2)

examples/Panel/PanelTest/ESP_Panel_Board_Supported.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@
4646
// #define BOARD_ESP32_S3_LCD_EV_BOARD_2_V1_5
4747
// #define BOARD_ESP32_S3_USB_OTG
4848

49+
/*
50+
* M5Stack (https://m5stack.com/):
51+
*
52+
* - M5STACK_M5CORE2: https://docs.m5stack.com/zh_CN/core/core2
53+
*
54+
*/
55+
// #define BOARD_M5STACK_M5CORE2
56+
4957
/*
5058
* Shenzhen Jingcai Intelligent Supported Boards (https://www.displaysmodule.com/):
5159
*
@@ -68,7 +76,7 @@
6876
*
6977
*/
7078
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MAJOR 0
71-
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 1
79+
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 2
7280
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_PATCH 0
7381

7482
#endif

examples/SquareLine/v8/Porting/ESP_Panel_Board_Supported.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@
4646
// #define BOARD_ESP32_S3_LCD_EV_BOARD_2_V1_5
4747
// #define BOARD_ESP32_S3_USB_OTG
4848

49+
/*
50+
* M5Stack (https://m5stack.com/):
51+
*
52+
* - M5STACK_M5CORE2: https://docs.m5stack.com/zh_CN/core/core2
53+
*
54+
*/
55+
// #define BOARD_M5STACK_M5CORE2
56+
4957
/*
5058
* Shenzhen Jingcai Intelligent Supported Boards (https://www.displaysmodule.com/):
5159
*
@@ -68,7 +76,7 @@
6876
*
6977
*/
7078
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MAJOR 0
71-
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 1
79+
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 2
7280
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_PATCH 0
7381

7482
#endif

examples/SquareLine/v8/Porting/lvgl_port_v8.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* - The number of buffers should be 1 or 2.
3737
*
3838
*/
39-
#define LVGL_PORT_BUFFER_MALLOC_CAPS (MALLOC_CAP_INTERNAL) // Allocate LVGL buffer in SRAM
39+
#define LVGL_PORT_BUFFER_MALLOC_CAPS (MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT) // Allocate LVGL buffer in SRAM
4040
// #define LVGL_PORT_BUFFER_MALLOC_CAPS (MALLOC_CAP_SPIRAM) // Allocate LVGL buffer in PSRAM
4141
#define LVGL_PORT_BUFFER_SIZE (LVGL_PORT_DISP_WIDTH * 20)
4242
#define LVGL_PORT_BUFFER_NUM (2)

examples/SquareLine/v8/WiFiClock/ESP_Panel_Board_Supported.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@
4646
// #define BOARD_ESP32_S3_LCD_EV_BOARD_2_V1_5
4747
// #define BOARD_ESP32_S3_USB_OTG
4848

49+
/*
50+
* M5Stack (https://m5stack.com/):
51+
*
52+
* - M5STACK_M5CORE2: https://docs.m5stack.com/zh_CN/core/core2
53+
*
54+
*/
55+
// #define BOARD_M5STACK_M5CORE2
56+
4957
/*
5058
* Shenzhen Jingcai Intelligent Supported Boards (https://www.displaysmodule.com/):
5159
*
@@ -68,7 +76,7 @@
6876
*
6977
*/
7078
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MAJOR 0
71-
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 1
79+
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 2
7280
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_PATCH 0
7381

7482
#endif

examples/SquareLine/v8/WiFiClock/lvgl_port_v8.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* - The number of buffers should be 1 or 2.
3737
*
3838
*/
39-
#define LVGL_PORT_BUFFER_MALLOC_CAPS (MALLOC_CAP_INTERNAL) // Allocate LVGL buffer in SRAM
39+
#define LVGL_PORT_BUFFER_MALLOC_CAPS (MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT) // Allocate LVGL buffer in SRAM
4040
// #define LVGL_PORT_BUFFER_MALLOC_CAPS (MALLOC_CAP_SPIRAM) // Allocate LVGL buffer in PSRAM
4141
#define LVGL_PORT_BUFFER_SIZE (LVGL_PORT_DISP_WIDTH * 20)
4242
#define LVGL_PORT_BUFFER_NUM (2)

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name=ESP32_Display_Panel
2-
version=0.1.2
2+
version=0.1.3
33
author=espressif
44
maintainer=espressif
55
sentence=ESP32_Display_Panel is an Arduino library designed for ESP SoCs to drive display panels and facilitate rapid GUI development.
6-
paragraph=Currently supported boards:ESP32-C3-LCDkit,ESP32-S3-Box,ESP32-S3-Box-3,ESP32-S3-Box-3(beta),ESP32-S3-Box-Lite,ESP32-S3-EYE,ESP32-S3-Korvo-2,ESP32-S3-LCD-EV-Board,ESP32-S3-LCD-EV-Board-2,ESP32-S3-USB-OTG,ESP32-4848S040C_I_Y_3. Currently supported devices: Bus,LCD,Touch,Backlight,IO expander. Currently supported Bus: I2C,SPI,QSPI,3-wire SPI + RGB. Currently supported LCD controllers: GC9A01,GC9B71,GC9503,ILI9341,NV3022B,ST7262,ST7701,ST7789,ST7796,ST77916,ST77922. Currently supported Touch controllers: CST816S,FT5x06,GT1151,GT911,ST7123,TT21100,XPT2046.
6+
paragraph=Currently supported boards:ESP32-C3-LCDkit,ESP32-S3-Box,ESP32-S3-Box-3,ESP32-S3-Box-3(beta),ESP32-S3-Box-Lite,ESP32-S3-EYE,ESP32-S3-Korvo-2,ESP32-S3-LCD-EV-Board,ESP32-S3-LCD-EV-Board-2,ESP32-S3-USB-OTG,M5STACK-M5CORE2,ESP32-4848S040C_I_Y_3. Currently supported devices: Bus,LCD,Touch,Backlight,IO expander. Currently supported Bus: I2C,SPI,QSPI,3-wire SPI + RGB. Currently supported LCD controllers: GC9A01,GC9B71,GC9503,ILI9341,NV3022B,ST7262,ST7701,ST7789,ST7796,ST77916,ST77922. Currently supported Touch controllers: CST816S,FT5x06,GT1151,GT911,ST7123,TT21100,XPT2046.
77
category=Other
88
architectures=esp32
99
url=https://github.com/esp-arduino-libs/ESP32_Display_Panel

src/ESP_PanelVersions.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/* Library Version */
1212
#define ESP_PANEL_VERSION_MAJOR 0
1313
#define ESP_PANEL_VERSION_MINOR 1
14-
#define ESP_PANEL_VERSION_PATCH 2
14+
#define ESP_PANEL_VERSION_PATCH 3
1515

1616
/* File `ESP_Panel_Conf.h` */
1717
#define ESP_PANEL_CONF_VERSION_MAJOR 0
@@ -25,7 +25,7 @@
2525

2626
/* File `ESP_Panel_Board_Supported.h` */
2727
#define ESP_PANEL_BOARD_SUPPORTED_VERSION_MAJOR 0
28-
#define ESP_PANEL_BOARD_SUPPORTED_VERSION_MINOR 1
28+
#define ESP_PANEL_BOARD_SUPPORTED_VERSION_MINOR 2
2929
#define ESP_PANEL_BOARD_SUPPORTED_VERSION_PATCH 0
3030

3131
/* Check if the current configuration file version is compatible with the library version */

0 commit comments

Comments
 (0)