ESP32-S3-DevKitC-1-N8R8 how to reflect correct amount of RAM used?


board = esp32-s3-devkitc-1

in my platformio.ini for the ESP32-S3-DevKitC-1-N8R8 board.

How do I get the correct amount of PSRAM usage to be reflected when I compile. What I see now is:

RAM: [ ] 4.1% (used 13300 bytes from 327680 bytes)
Flash: [= ] 6.1% (used 203393 bytes from 3342336 bytes)

Thank you.

PlatformIO only shows you the used internal RAM. Even for boads with PSRAM (examples), it does not add the amount of PSRAM in the RAM view. The firmware can still make use of PSRAM just fine when it initializes it at runtime and allocates stuff in it.

Thank you for clarifying.

I guess I can do something like this to see how much PSRAM is in use:

  log_d("Total PSRAM: %d", ESP.getPsramSize());
  log_d("Free PSRAM: %d", ESP.getFreePsram());