1.4.2: fix build for arduino-esp32 3.x

This commit is contained in:
fsender
2025-03-11 18:36:59 +08:00
parent 247e5e0b94
commit 20ba78ea52
6 changed files with 61 additions and 8 deletions

View File

@@ -1,3 +1,10 @@
1.4.2
## Release 1.4.2 - 2025/3/11
1. 现在程序可以在Arduino-ESP32的版本高于3.0.0的Arduino集成环境和ESP-IDF (仍需依赖Arduino component, 但不依赖PlatformIO) 中编译成功
2. 示例程序中添加了更多的说明文本
## Release 1.4.1 - 2024/12/2
1. 紧急修复了在禁用 `DYNAMIC_PIN_SETTINGS` 之后点不亮屏幕的bug

46
CMakeLists.txt Normal file
View File

@@ -0,0 +1,46 @@
# Esp-idf component requires this file.
# Even Arduino IDE will ignore it.
file(GLOB READGUY_SRCS
src/*.cpp
src/guy_epaper/*.cpp
src/guy_epaper/guy_154a_290a/*.cpp
src/guy_epaper/guy_154b_270b_290b/*.cpp
src/guy_epaper/guy_154C/*.cpp
src/guy_epaper/guy_213a/*.cpp
src/guy_epaper/guy_213b_266a/*.cpp
src/guy_epaper/guy_370a/*.cpp
src/guy_epaper/guy_370B/*.cpp
src/guy_epaper/guy_420a/*.cpp
src/guy_epaper/guy_420b/*.cpp
src/guy_epaper/guy_426A/*.cpp
src/guy_epaper/guy_583A/*.cpp
src/guy_epaper/guy_583B/*.cpp
src/guy_epaper/guy_750A/*.cpp
src/guy_epaper/guy_1020A/*.cpp
src/guy_epaper/lcdDebug/*.cpp
)
set(READGUY_DIRS
src
src/guy_epaper
src/guy_epaper/guy_154a_290a
src/guy_epaper/guy_154b_270b_290b
src/guy_epaper/guy_154C
src/guy_epaper/guy_213a
src/guy_epaper/guy_213b_266a
src/guy_epaper/guy_370a
src/guy_epaper/guy_370B
src/guy_epaper/guy_420a
src/guy_epaper/guy_420b
src/guy_epaper/guy_426A
src/guy_epaper/guy_583A
src/guy_epaper/guy_583B
src/guy_epaper/guy_750A
src/guy_epaper/guy_1020A
src/guy_epaper/lcdDebug
../arduino-esp32/libraries/HTTPUpdateServer/src
)
idf_component_register(SRCS ${READGUY_SRCS}
INCLUDE_DIRS "." ${READGUY_DIRS}
REQUIRES arduino-esp32 LovyanGFX spi_flash
)
#spi flash for read chip

View File

@@ -4,17 +4,17 @@
<img src="extra/artset/readguy_theme3.png" width="30%" height="auto">
**版本1.4.1正式发布欢迎分享、star和fork~** 上面的图是项目看板娘, 盖. 可爱的盖姐在等你哟~
**版本1.4.2正式发布欢迎分享、star和fork~** 上面的图是项目看板娘, 盖. 可爱的盖姐在等你哟~
**即将发布7个全新的屏幕驱动: 欢迎支持! (详见后面的驱动表格)**
欢迎克隆, 项目交流QQ群: 926824162 (萌新可以进来问问题的哟), 项目的 Bilibili 主页: [BV1f94y187wz](https://www.bilibili.com/video/BV1f94y187wz/) 记得三连+关注我这个宝藏up主哦~
注意, 有问题一定要先加群问, 先不要提issue, 提了小影 *(也就是作者FriendshipEnder)* 也不会看的.
注意, 有问题一定要先加群问, 先不要提issue, 提了作者 FriendshipEnder 也不会看的.
**依赖的库: [LovyanGFX](https://github.com/lovyan03/LovyanGFX)**
*依赖的环境: Arduino-ESP8266 或者 Arduino-ESP32.*
*依赖的环境: Arduino-ESP8266 或者 Arduino-ESP32. 现已支持使用最新版本的Arduino-ESP32库(2.x和3.x)编译!*
## 在**所有**受支持屏幕上都显示**16级灰度**内容!

View File

@@ -11,7 +11,7 @@
"type": "git",
"url": "https://github.com/fsender/readguy"
},
"version": "1.4.1",
"version": "1.4.2",
"frameworks": "arduino",
"platforms": ["espressif32", "espressif8266"],
"headers": "readguy.h",

View File

@@ -1,5 +1,5 @@
name=readguy
version=1.4.1
version=1.4.2
author=fsender <f_ender@163.com>
maintainer=fsender <f_ender@163.com>
sentence=A free E-paper display driver library supports 16-level greyscale.

View File

@@ -6,7 +6,7 @@
* @file guy_version.h
* @author FriendshipEnder (f_ender@163.com), Bilibili: FriendshipEnder
* @brief readguy 版本控制文件.
* @version 1.3.2
* @version 1.4.2
* @date 2023-09-21
* @attention
@@ -41,9 +41,9 @@
//另外, 在提交新版本之前, 不要忘记在github上创建release, 否则Arduino IDE会读不到
#define READGUY_V_MAJOR 1
#define READGUY_V_MINOR 4
#define READGUY_V_PATCH 1
#define READGUY_V_PATCH 2
#define READGUY_VERSION_VAL (READGUY_V_MAJOR*1000+READGUY_V_MINOR*100+READGUY_V_PATCH*10)
#define READGUY_VERSION "1.4.1"
#define READGUY_VERSION "1.4.2"
#ifdef ESP8266
#define _READGUY_PLATFORM "ESP8266"