diff --git a/src/lv_conf.h b/src/lv_conf.h index 67c1466..3f850e2 100644 --- a/src/lv_conf.h +++ b/src/lv_conf.h @@ -94,6 +94,12 @@ typedef int16_t lv_coord_t; #else /*LV_MEM_CUSTOM*/ # define LV_MEM_CUSTOM_INCLUDE /*Header for the dynamic memory function*/ #if defined(BOARD_HAS_PSRAM) + /* Until Espressif corrects their own hearder */ +# include +# include + + /* declare ps_malloc()'s prototype */ +# include # define LV_MEM_CUSTOM_ALLOC ps_malloc /*Wrapper to malloc*/ #else # define LV_MEM_CUSTOM_ALLOC malloc /*Wrapper to malloc*/