loboris / ESP32_ePaper_example

Full featured ePaper library for ESP32 with demo application
217 stars 38 forks source link

Is this project still being maintained? Build issues #14

Closed martinberlin closed 3 years ago

martinberlin commented 4 years ago

Hello I'm really glad to see a ESP-IDF epaper driver and I was curious to build it. But I still could not suceed.

I'm not seeing the "ePaper Display DEMO Configuration" menu entry. Doing:

 idf.py fullclean
 idf.py -D IDF_TARGET=esp32 menuconfig

But even though that entry is on /main/Kconfig.projbuild I cannot see it on the menuconfig.

I would like to build this for ESP32 and also try it out on a S2 chip that I have lying around since weeks and this seems to be the right moment to do something with it.

UPDATE: I think I found what it is, added a CMakeLists.txt file with this contents in main/

set(COMPONENT_SRCS "ePaper.c")
register_component()

And now this appears in menuconfig. Is this a new requirement in ESP-IDF? I'm really still very new to it, so if someone can confirm, will be great to know. By the ways there is a fork of this project that someone compiled successfully already? There are more than 100 forks but is very hard to see who really contributed something.

Next blocker is:

 #warning "This header is deprecated, please use functions defined in esp_heap_caps.h instead."
 ../main/ePaper.c:19:10: fatal error: spiffs_vfs.h: No such file or directory
 #include "spiffs_vfs.h"
martinberlin commented 3 years ago

Closing since no one answered for months. I think the issue compiling this is just that I’m using IDF 4.0