Newest M5Stack with 4MB psRAM
-
When I compile in Arduino 1.85, say the Factory Test, for the M5Stack with the latest repo and esp-idf, the output shows:
Sketch uses 694574 bytes (52%) of program storage space. Maximum is 1310720 bytes. Global variables use 43732 bytes (14%) of dynamic memory, leaving 251180 bytes for local variables. Maximum is 294912 bytes.Where does the 4MB psram come in? Does it need to be enabled or specified somewhere?
-
@pkourany Hi, You don't need to enable the PSRAM to run standard sketches in the Arduino IDE.
The Arduino IDE does not act on a low enough level for it to write directly to the PSRAM... you have to use something else like the ESP Flash Download Tool, which is used for example when you load Micro Python onto the M5Stack. Or the ESP-IDF compiler / flashing program....
Both are discussed here:
http://iot-bits.com/esp32/esp32-flash-download-tool-tutorial/The ESP Flash Download Tool is easier to setup and use than the ESP-IDF compiler / flashing program.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login