Program Storage Space Shown in Arduino IDE

Aurora
Posts: 8
Joined: Fri Aug 11, 2023 1:27 am

Program Storage Space Shown in Arduino IDE

Postby Aurora » Fri Aug 11, 2023 1:46 am

Hi,

I read from documents that ESP32 should have at least around 4 MB of flash memory. However, after I compile codes in Arduino IDE, it says that my "program storage space" is only around 1.3 MB. I wonder if this is a normal situation.

I would also like to ask if it is possible to use more flash memory storage in Arduino IDE.

Thank you very much for your help.

lbernstone
Posts: 831
Joined: Mon Jul 22, 2019 3:20 pm

Re: Program Storage Space Shown in Arduino IDE

Postby lbernstone » Fri Aug 11, 2023 4:23 pm

The maximum sketch size is determined by your partition scheme. If you choose a larger partition scheme, you can upload larger sketches.
Note that some boards in the list may not have these set properly, the "dev module" boards do.

Aurora
Posts: 8
Joined: Fri Aug 11, 2023 1:27 am

Re: Program Storage Space Shown in Arduino IDE

Postby Aurora » Tue Oct 24, 2023 12:29 am

Thank you for your reply. Could you let me know how to modify the partition scheme?


Who is online

Users browsing this forum: lbernstone and 125 guests