-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
by changing this in sqlite.c:
#define SQLITE_MALLOC(x) malloc(x)
#define SQLITE_FREE(x) free(x)
#define SQLITE_REALLOC(x,y) realloc((x),(y))
to:
#ifdef BOARD_HAS_PSRAM
#define SQLITE_MALLOC(x) ps_malloc(x)
#define SQLITE_FREE(x) free(x)
#define SQLITE_REALLOC(x,y) ps_realloc((x),(y))
#else
#define SQLITE_MALLOC(x) malloc(x)
#define SQLITE_FREE(x) free(x)
#define SQLITE_REALLOC(x,y) realloc((x),(y))
#endif
psram can then be enabled with this build flag:
-DBOARD_HAS_PSRAM
or is it the goal to leave sqlite.c unedited?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels