Files
klubhaus-doorbell/libraries/audio-tools/examples/examples-custom-boards/esp32s3-mic-cam/psram/psram.ino
2026-02-16 19:05:11 -08:00

20 lines
373 B
C++

/// set
/// - USB CDC on Boot: enabled
/// - PSRAM: QSPI RAM
#include <Arduino.h>
void setup() {
Serial.begin(115200);
Serial.printf("Total heap: %d\n", ESP.getHeapSize());
Serial.printf("Free heap: %d\n", ESP.getFreeHeap());
Serial.printf("Total PSRAM: %d\n", ESP.getPsramSize());
Serial.printf("Free PSRAM: %d\n", ESP.getFreePsram());
}
void loop() {
}