Some chips can have more than 16MB of flash, mine has 32MB. Historically espflash failed to detect this flash size (and defaulted to 4MB) but now it can. Without this change, the board will boot loop because the esp idf bootloader max size is only 16MB.
Tested this on my ESP32-S3 32MB flash, works fine
I had a bootloop only when I explicitly set >16MB partition, maybe we should add a warning for it?
In 2 paces: flash and partition-table sub-commands
Some chips can have more than 16MB of flash, mine has 32MB. Historically espflash failed to detect this flash size (and defaulted to 4MB) but now it can. Without this change, the board will boot loop because the esp idf bootloader max size is only 16MB.
Closes #393