General area when it fits no where else

Moderator: Mmiscool

User avatar
By Electroguard
#47511 Ah, thanks for the explanation sir.

When selecting Flash Size, what is the actual resulting difference between selecting 512K and say 4Mb?
I mean, presumably ESP_Basic takes up the same size no matter what, so I'm assuming that selecting the difference sizes just gives a differing amount of memory to be shared between spiffs and memory available for variables etc? ... but is it more complicated than that?
Is it a trade-off between usable program memory and spiffs?
And does the afore-mentioned spiffs formatter just keep formatting to the stipulated max address regardless of whether the memory actually exists or not?
Is there any way to discover how much real flash memory an ESP device actually has?

Sorry about all the questions, but if it's such a grey area for this grey-headed geezer, I'd like to think the answers would be welcomed as helpful by other people also.
User avatar
By Mmiscool
#47523 ESP Basic is compiled for each size flash that the esp is commonly paired with.

This affects the size of the spiffs (Flash ) file system. It will have no affect on variables as they are stored in ram.