Skip to content

Commit b734c72

Browse files
author
MacChu0315-Espressif
committed
feat(board): add new board M5DIAL
1 parent 8220bcc commit b734c72

File tree

13 files changed

+389
-11
lines changed

13 files changed

+389
-11
lines changed

ESP_Panel_Board_Supported.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@
5050
* M5Stack (https://m5stack.com/):
5151
*
5252
* - M5STACK_M5CORE2: https://docs.m5stack.com/zh_CN/core/core2
53+
* - M5STACK_M5DIAL: https://docs.m5stack.com/zh_CN/core/M5Dial
5354
*
5455
*/
5556
// #define BOARD_M5STACK_M5CORE2
57+
// #define BOARD_M5STACK_M5DIAL
5658

5759
/*
5860
* Shenzhen Jingcai Intelligent Supported Boards (https://www.displaysmodule.com/):
@@ -76,7 +78,7 @@
7678
*
7779
*/
7880
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MAJOR 0
79-
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 2
81+
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 3
8082
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_PATCH 0
8183

8284
#endif

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Below is a list of [supported development boards](src/board/Board_Instructions.m
6060
| **Manufacturer** | **Board Model** |
6161
| --------------- | --------------- |
6262
| [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 |
63+
| [M5Stack](https://m5stack.com/) | M5STACK-M5CORE2, M5STACK-M5DIAL |
6464
| [Jingcai](src/board/Board_Instructions.md#shenzhen-jingcai-intelligent) | ESP32-4848S040C_I_Y_3 |
6565

6666
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).

README_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ ESP32_Display_Panel 的功能框图如下所示,主要包含以下特性:
6060
| **厂商** | **开发板型号** |
6161
| -------- | -------------- |
6262
| [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 |
63+
| [M5Stack](https://m5stack.com/) | M5STACK-M5CORE2, M5STACK-M5DIAL |
6464
| [Jingcai](src/board/Board_Instructions.md#shenzhen-jingcai-intelligent) | ESP32-4848S040C_I_Y_3 |
6565

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

examples/LVGL/v8/Porting/ESP_Panel_Board_Supported.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@
5050
* M5Stack (https://m5stack.com/):
5151
*
5252
* - M5STACK_M5CORE2: https://docs.m5stack.com/zh_CN/core/core2
53+
* - M5STACK_M5DIAL: https://docs.m5stack.com/zh_CN/core/M5Dial
5354
*
5455
*/
5556
// #define BOARD_M5STACK_M5CORE2
57+
// #define BOARD_M5STACK_M5DIAL
5658

5759
/*
5860
* Shenzhen Jingcai Intelligent Supported Boards (https://www.displaysmodule.com/):
@@ -76,7 +78,7 @@
7678
*
7779
*/
7880
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MAJOR 0
79-
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 2
81+
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 3
8082
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_PATCH 0
8183

8284
#endif

examples/LVGL/v8/Rotation/ESP_Panel_Board_Supported.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@
5050
* M5Stack (https://m5stack.com/):
5151
*
5252
* - M5STACK_M5CORE2: https://docs.m5stack.com/zh_CN/core/core2
53+
* - M5STACK_M5DIAL: https://docs.m5stack.com/zh_CN/core/M5Dial
5354
*
5455
*/
5556
// #define BOARD_M5STACK_M5CORE2
57+
// #define BOARD_M5STACK_M5DIAL
5658

5759
/*
5860
* Shenzhen Jingcai Intelligent Supported Boards (https://www.displaysmodule.com/):
@@ -76,7 +78,7 @@
7678
*
7779
*/
7880
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MAJOR 0
79-
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 2
81+
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 3
8082
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_PATCH 0
8183

8284
#endif

examples/Panel/PanelTest/ESP_Panel_Board_Supported.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@
5050
* M5Stack (https://m5stack.com/):
5151
*
5252
* - M5STACK_M5CORE2: https://docs.m5stack.com/zh_CN/core/core2
53+
* - M5STACK_M5DIAL: https://docs.m5stack.com/zh_CN/core/M5Dial
5354
*
5455
*/
5556
// #define BOARD_M5STACK_M5CORE2
57+
// #define BOARD_M5STACK_M5DIAL
5658

5759
/*
5860
* Shenzhen Jingcai Intelligent Supported Boards (https://www.displaysmodule.com/):
@@ -76,7 +78,7 @@
7678
*
7779
*/
7880
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MAJOR 0
79-
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 2
81+
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 3
8082
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_PATCH 0
8183

8284
#endif

examples/SquareLine/v8/Porting/ESP_Panel_Board_Supported.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@
5050
* M5Stack (https://m5stack.com/):
5151
*
5252
* - M5STACK_M5CORE2: https://docs.m5stack.com/zh_CN/core/core2
53+
* - M5STACK_M5DIAL: https://docs.m5stack.com/zh_CN/core/M5Dial
5354
*
5455
*/
5556
// #define BOARD_M5STACK_M5CORE2
57+
// #define BOARD_M5STACK_M5DIAL
5658

5759
/*
5860
* Shenzhen Jingcai Intelligent Supported Boards (https://www.displaysmodule.com/):
@@ -76,7 +78,7 @@
7678
*
7779
*/
7880
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MAJOR 0
79-
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 2
81+
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 3
8082
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_PATCH 0
8183

8284
#endif

examples/SquareLine/v8/WiFiClock/ESP_Panel_Board_Supported.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@
5050
* M5Stack (https://m5stack.com/):
5151
*
5252
* - M5STACK_M5CORE2: https://docs.m5stack.com/zh_CN/core/core2
53+
* - M5STACK_M5DIAL: https://docs.m5stack.com/zh_CN/core/M5Dial
5354
*
5455
*/
5556
// #define BOARD_M5STACK_M5CORE2
57+
// #define BOARD_M5STACK_M5DIAL
5658

5759
/*
5860
* Shenzhen Jingcai Intelligent Supported Boards (https://www.displaysmodule.com/):
@@ -76,7 +78,7 @@
7678
*
7779
*/
7880
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MAJOR 0
79-
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 2
81+
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_MINOR 3
8082
#define ESP_PANEL_BOARD_SUPPORTED_FILE_VERSION_PATCH 0
8183

8284
#endif

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ 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,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.
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,M5STACK-M5DIAL,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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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 2
28+
#define ESP_PANEL_BOARD_SUPPORTED_VERSION_MINOR 3
2929
#define ESP_PANEL_BOARD_SUPPORTED_VERSION_PATCH 0
3030

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

src/board/Board_Instructions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
| **Picture** | **Name** | **LCD Bus** | **LCD Controller** | **Touch Bus** | **Touch Controller** |
2323
| :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------: | :--------------: | :----------------: | :-----------: | :------------------: |
2424
| [<img src="https://static-cdn.m5stack.com/resource/docs/products/core/core2/core2_01.webp" width="150">](https://www.displaysmodule.com/sale-41828962-experience-the-power-of-the-esp32-display-module-sku-esp32-4848s040c-i-y-3.html) | [M5STACK_M5CORE2](https://docs.m5stack.com/zh_CN/core/core2) | SPI | ILI9342C | I2C | FT6336U |
25+
| [<img src="https://static-cdn.m5stack.com/resource/docs/products/core/M5Dial/img-2afd549e-8af8-47b4-823a-e90e063a0139.webp" width="150">](https://www.displaysmodule.com/sale-41828962-experience-the-power-of-the-esp32-display-module-sku-esp32-4848s040c-i-y-3.html) | [M5STACK_M5DIAL](https://docs.m5stack.com/zh_CN/core/M5Dial) | SPI | GC9A01 | I2C | FT5x06 |
2526

2627
### [Shenzhen Jingcai Intelligent](https://www.displaysmodule.com/)
2728

@@ -46,6 +47,7 @@ Below are recommended configurations for developing GUI applications on differen
4647
| ESP32-S3-LCD-EV-Board-2 | ESP32S3 Dev Module | OPI | QIO 80MHz | 16MB | **See Note 1** | 16M Flash (3MB) |
4748
| ESP32-S3-USB-OTG | ESP32-S3-USB-OTG | - | - | - | - | 8M with spiffs |
4849
| M5STACK-M5CORE2 | M5Stack-Core2 | Enabled | - | - | - | Default |
50+
| M5STACK-M5DIAL | ESP32S3 Dev Module | OPI | QIO 80MHz | 8MB | Disabled | Default |
4951
| ESP32-4848S040C_I_Y_3 | ESP32S3 Dev Module | OPI | QIO 80MHz | 16MB | Disabled | 16M Flash (3MB) |
5052

5153
**Notes:**

src/board/ESP_PanelBoard.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
defined(BOARD_ESP32_S3_KORVO_2) + defined(BOARD_ESP32_S3_LCD_EV_BOARD) + \
1515
defined(BOARD_ESP32_S3_LCD_EV_BOARD_V1_5) + defined(BOARD_ESP32_S3_LCD_EV_BOARD_2) + \
1616
defined(BOARD_ESP32_S3_LCD_EV_BOARD_2_V1_5) + defined(BOARD_ESP32_S3_USB_OTG) + \
17-
defined(BOARD_M5STACK_M5CORE2) + defined(BOARD_ESP32_4848S040C_I_Y_3) \
17+
defined(BOARD_M5STACK_M5CORE2) + defined(BOARD_M5STACK_M5DIAL) + defined(BOARD_ESP32_4848S040C_I_Y_3) \
1818
> 1
1919
#error "Multiple boards enabled! Please check file `ESP_Panel_Board_Supported.h` and make sure only one board is enabled."
2020
#endif
@@ -48,6 +48,8 @@
4848
/* M5Stack */
4949
#elif defined(BOARD_M5STACK_M5CORE2) || CONFIG_BOARD_M5STACK_M5CORE2
5050
#include "board/m5stack/M5CORE2.h"
51+
#elif defined(BOARD_M5STACK_M5DIAL) || CONFIG_BOARD_M5STACK_M5DIAL
52+
#include "board/m5stack/M5DIAL.h"
5153
/* Jingcai */
5254
#elif defined(BOARD_ESP32_4848S040C_I_Y_3) || CONFIG_BOARD_ESP32_4848S040C_I_Y_3
5355
#include "board/jingcai/ESP32_4848S040C_I_Y_3.h"

0 commit comments

Comments
 (0)