martinberlin / cale-idf

CalEPD is an Epaper component driver for the ESP-IDF framework with GFX and font support, optional touch interface, compatible with ESP32 / S2 / S3 / C3

Home Page:https://fasani.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor EPDiy integration and add new parallel epaper models

martinberlin opened this issue · comments

As per my last communication with the EPDiy developer Valentin

I've just merged the refactoring branch, where these issues should be resolved.

The issue that we described with the GFXGlyph structs that collided with Adafruit GFX own names should be solved. That means that we should not "copy the entirely" library here and use git submodules instead which habe the advantage to keep EPDiy up-to-date and also remove the Files from this one leaving the library lighter for those who use only SPI epapers.

Add new parallel models

  • ED060SC4 | 6" | 800 x 600

I will try that first in a development branch when the new parallel T5S from Lilygo arrives. And if all works like expected then it will be the first real "submodule" on Cale-idf

Update after first try.
Attempt 1: Keep EPDiy in the old version (Simpler API) and add V5 board

On branch feature/38-v5 Discarded
Status: does not work as expected. - [deleted] feature/38-v5

Attempt 2: To update EPDiy to the latest version

On branch feature/38-epdiy
Status: Success after many tries

Error: Now last blocker is that I'm getting: undefined reference to `epd_hl_init(EpdWaveform const*)'
Even if I'm including: #include "epd_highlevel.h"
And it's also on the REQUIRE the compiler does not find the functions defined in highlevel.c.
Reference espressif/esp-idf#3741 -> SOLVED Making 2 hook functions

TODO:

  • updateWindow (partial update) does not work

EPD_DRIVER is working as expected and using the latest version.
I recommend to use directly epd_driver for parallel. But for those that like to work with Adafruit GFX this is an option.