The only time it happens is when I save a value every 30 seconds using preferences.h.
Code: Select all
void dothis(double value)
{
// Save the odometer value using Preferences
preferences.begin("gps", false); // Open preferences in read-write mode
preferences.putDouble("distance", value); // Store odometer value
preferences.end(); // Close preferences
}
this is the error in PlatformIO:
Code: Select all
abort() was called at PC 0x4012202b on core 1
Backtrace: 0x40083dc1:0x3ffbf59c |<-CORRUPTED
Then I run this to get some info on it:
Code: Select all
./xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-addr2line -pfiaC -e firmware.elf 0x40083e1d 0x3ffbf56c
Code: Select all
0x40083e1d: panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c:408
0x3ffbf56c: port_IntStack at ??:?