-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
Is there an existing override in the library to use the external spiram of the esp32 for the heap?
if not, is it possible for you to create a new one with the following:
#include "esp_heap_caps.h"
#define SQLITE_MALLOC(x) heap_caps_malloc(x, MALLOC_CAP_SPIRAM) //modified was malloc
#define SQLITE_FREE(x) heap_caps_free(x) //modified was free
#define SQLITE_REALLOC(x,y) heap_caps_realloc((x),(y),MALLOC_CAP_SPIRAM) //modified was realloc
Metadata
Metadata
Assignees
Labels
No labels