How to configure Arduino for T-SIM7000G 16MB Flash 8PSRAM
DanielPerez last edited by DanielPerez
Hi, I don't find how "correct" configure the Arduino IDE, to use the full memory including PSRAM of the device.
Setting it like a generic ESP32 its not valid. This one, includes the ESP32-WROVER-E MCU with 8Mb of PSRAM and 16Flash.
Selecting a ESP32-WROVER and executing this code ...
log_d("Total heap: %d", ESP.getHeapSize());
log_d("Free heap: %d", ESP.getFreeHeap());
log_d("Total PSRAM: %d", ESP.getPsramSize());
log_d("Free PSRAM: %d", ESP.getFreePsram());
The console output is ...
[D][WifLib.ino:15] setup(): Total heap: 343784
[D][WifLib.ino:16] setup(): Free heap: 317564
[D][WifLib.ino:17] setup(): Total PSRAM: 4194252
[D][WifLib.ino:18] setup(): Free PSRAM: 4194252
The ESP is ...