M5Dial Maximum Program Space



  • 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?



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