Load program from flash

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
User avatar
AaronKelly
Posts: 7
Joined: Sun Jun 19, 2016 7:44 am

Load program from flash

Post by AaronKelly » Sun Jun 19, 2016 7:51 am

Hello board,

I've been tinkering around with the board and want to start expanding it with libraries however I can't figure out how to run programs from the 4MB flash. Do I need to esp.flash_read()? Write an extension in c? Or some other method?

Thanks.

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: Load program from flash

Post by deshipu » Sun Jun 19, 2016 12:18 pm

Just put files on it (using the WebREPL or mpfshell), and then you can import them like in normal Python.

Post Reply