1

the board i use has 1MB Flash Size. My program however downloads 512K+ of data for processing.

Arduino Options i see are:

enter image description here

Ideally i would like to use 1MB of SPIFFS, is this even possible?

I don't use OTA, and compile with:

enter image description here

To minimise the footprint of the main sketch.

Thanks in advance.

asked Feb 15, 2019 at 23:23
1
  • 1
    You need to get a ESP with more flash for this project. Commented Feb 20, 2019 at 3:15

1 Answer 1

2

No.

Even if you don't use OTA, your program is stored in flash. If you have 1MB of flash, there's no way you can use all 1MB for SPIFFS; that would leave no space for your program.

Here's a page showing how flash is divided up in an Arduino environment.

Even if you eliminate space for OTA images and the EEPROM, the Arduino environment will still reserve space for the sketch itself and for its wifi config and possibly a little more data.

You can never use 100% of the flash storage for SPIFFS.

answered Feb 16, 2019 at 0:06

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.