[H-GEN] Micropython help

Scott Wilson siridar at gmail.com
Fri Feb 9 10:12:48 AEST 2018


Hi All,

I'm messing around with a work project using Micropython on an ESP32
(specifically, the fipy from pycom - https://pycom.io/product/fipy/) and
I've hit a snag. I need to pull a large (well, large for micropython -
~70Mb) file over HTTP and write it to the SD card. I've tried the urequests
library (a port of python's "requests" library to micropython) but it fails
out, presumably because it runs out of RAM before EOF. This is before I
even get to the filesystem write stuff.

If anyone has done this before (maybe using sockets directly?) on esp32
using micropython, some help would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20180209/ab9022e7/attachment.html>


More information about the General mailing list