Hardware:
Board: ESP32 board
Core Installation/update date: 1.0.2
IDE name: Arduino IDE
Flash Frequency: 80Mhz
PSRAM enabled: Yes
Upload Speed: 921600
Computer OS: Windows 10
Description:
When ESP32 that come with PSRAM
creates new instance object. Like this
class TestClass {
public:
TestClass() { Serial.println("Constuction"); }
};
TestClass *pTest = new TestClass();
How the ESP32 can create new instance object by allocation on PSRAM first,
instead of allocation on HEAP mem first?
Thank you.
Sketch:
Debug Messages: