🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Newest M5Stack with 4MB psRAM

    Scheduled Pinned Locked Moved PRODUCTS
    2 Posts 2 Posters 8.2k Views 1 Watching
    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.
    • P Offline
      pkourany
      last edited by

      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?

      JJJ 1 Reply Last reply Reply Quote 0
      • JJJ Offline
        JJ @pkourany
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0

        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
        • First post
          Last post