Skip to content

ESP32 programming: does flash size matter? #6473

Answered by Jason2866
mrengineer7777 asked this question in Q&A
Discussion options

You must be logged in to vote

Arduino core does not assume an flash size. The real flash size is patched (from esptool.py) in the magic header of the bootpartition.bin file when flashed. The flash partioning is defined via the partition.csv
(you can define yourself, the ready made ones are just suggestions).
As long two App partitions exists in the partition.csv and the are big enough to store the firmware every device (no matter of flash size) can be updated via OTA.
For project Tasmota we have a partition manager script which (can be loaded at runtime) and change the partition size. So we can provide firmwares with a partition scheme for 4M flash usage. This firmware can be flashed on every device with 4MB and all d…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mrengineer7777
Comment options

@Jason2866
Comment options

Answer selected by mrengineer7777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants