Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    How to configure Arduino for T-SIM7000G 16MB Flash 8PSRAM

    Build environment
    1
    1
    626
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      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

      Thanks.

      The ESP is ...
      Screenshot_2022-09-01-18-44-20-92.jpg

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | Contributors