Good news, and so fast.loboris wrote:I have the fix for that issue ready, it will be pushed today or tomorrow.
In addition,
1) could you please change deprecated esp_heap_alloc_caps.h to esp_heap_caps.h and pvPortMallocCaps() to heap_caps_malloc()?
2) While experimenting with the TFT library I stumbled with esp32 hangs when the size parameter for heap_caps_malloc() was not 4-bytes aligned, so I modified the code to pass aligned parameter to all heap_caps_malloc() calls:
Code: Select all
size = (size + 3) & (~3);
3) In tft.h in section 'Global variables' variables should have 'extern' because it's declaration only, varialbles are really defined in tft.c
So in tftspi.h:
Code: Select all
extern uint8_t gray_scale;
etc...