Open barbudor opened 4 years ago
Maybe that's too big for esp8266.
It will request about 2 times of memory during communication, maybe you can split the file and upload it.
Hi @junhuanchen 4800 bytes is pretty much small. My webserver module is 14KB as py and 8KB as mpy. Both upload fine with original but none with mpfshell lite. Issue is only in your fork. Best regards
In one case, there is coding problem(utf-8) in the code, and in the other case, gc.collect() is needed before uploading.
look this
Hi I get a memory allocation error when trying to upload a file to my ESP8266 mini-D1. This seems to occur for file larger than 4800 bytes
Host:
Target:
Let me know if you need more details
Best regards
Console log: