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

    M5Dial Maximum Program Space

    Arduino
    1
    2
    934
    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.
    • gordshG
      gordsh
      last edited by

      Programming the M5Dial with an Arduino sketch and getting the following message after successful programming:

      "Sketch uses 1265041 bytes (96%) of program storage space. Maximum is 1310720 bytes."

      This means that I only have 1.3MB of program space.....But the M5Dial has 8MB of Flash.

      Is there any way to access the additional space for my sketch?

      gordshG 1 Reply Last reply Reply Quote 0
      • gordshG
        gordsh @gordsh
        last edited by

        OK, I figured this out. Turns out my Arduino [Partition Scheme] setting was incorrect. I had a setting of
        [Default 4MB with spiffs (1.2MB APP/1.5mn SPIFFS]
        instead of....
        [8M with spiffs (3MB APP/1.5MB SPIFFs]

        Now after the sketch upload, I get
        Sketch uses 1265261 bytes (37%) of program storage space. Maximum is 3342336 bytes.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post