esp32-idf-sqlite3 icon indicating copy to clipboard operation
esp32-idf-sqlite3 copied to clipboard

(TG1WDT_SYS_RESET) occurs when attempting to use sqlite with FreeRTOS in ESP32 Wrover

Open Kruparth3004 opened this issue 2 years ago • 0 comments

If I try to use Sqlite3 in freeRTOS, it crashes with no Guru Meditation error (TG1WDT_SYS_RESET). I've changed the memory allocating functions inside the SQLite to heap_caps_allocations which uses only external PSRAM because I've exhausted most of the internal heap.

If I run SQLite with a single thread running and default memory allocating functions, it works fine.

I'm using the latest ESP-IDF to compile my project.

Regards, Kruparth

Kruparth3004 avatar Jul 15 '23 05:07 Kruparth3004