loboris / ESP32_ePaper_example

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

Error during Build #12

Open boesenbe opened 5 years ago

boesenbe commented 5 years ago

Hi,

many thanks for the great work of this repo!

I tried the example and it is working perfectly on my device. I try to get the examples running in my code and but I get errors during my build.

error: redeclaration of enumerator 'SPI_HOST'
error: redeclaration of enumerator ''HSPI_HOST''
error: redeclaration of enumerator 'VSPI_HOST'
error: implicit declaration of function 'pvPortMallocCaps' [-Werror=implicit-function-declaration]

Maybe it is because of a new idf version? Many thanks for the help.

martinberlin commented 3 years ago

Hi Boesenbe, I also had build errors and I think the reason is that we are using a newer version of IDF/cmake I started some months ago a component to drive epapers on ESP-IDF 4: https://github.com/martinberlin/cale-idf

Feel free to try it out, there are many epapers supported, including some color versions and we are in the process of adding touch (I2C) Even though it seems is clearly not being maintained here is a lot to learn from this repository.