micropython-lib
micropython-lib copied to clipboard
espflash: Reduce the memory fragmentation during flash write.
espflash used to implicitely allocate four times per write the ~4k buffer for the data. That caused boards with smaller memory to fail due to memory fragmentation. This change reduces the allocation to once per block.