Hi I have an error recurrently on my esp32-wrover-(B|E).
Error saving 7 preferences to flash. Last error=ESP_ERR_NVS_NOT_ENOUGH_SPACE for key=233825507
I supposed that i have not enough space to store those switch and other sensor datas, but i have 4 Mb Flash and 8Mb psram.
I understand that it is possible to manual set ram sizes, but i’m not really sure to understand how. As here (Esp32-s3-wroom-1 N8R8 (Freenove) camera board with PSRAM working)
My boards are not described on platformio so i use esp32dev as board.
I added psram: in my yaml but can not set psram size.
Running information told me that it recognize only 4Mb:
[21:36:54][C][psram:020]: PSRAM:
[21:36:54][C][psram:021]: Available: YES
[21:36:54][C][psram:024]: Size: 4095 KB
building lines told me :
...
INFO Compiling app...
Processing garden-8relay-irrig-1 (board: esp32dev; framework: arduino; platform: platformio/[email protected])
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
...
Linking .pioenvs/garden-8relay-irrig-1/firmware.elf
RAM: [= ] 13.5% (used 44088 bytes from 327680 bytes)
Flash: [======= ] 67.4% (used 1237537 bytes from 1835008 bytes)
Building .pioenvs/garden-8relay-irrig-1/firmware.bin
Do someone can help me ?