Running a default python script

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
hecker
Posts: 1
Joined: Sun Mar 06, 2016 7:30 pm

Running a default python script

Post by hecker » Sun Mar 06, 2016 7:36 pm

I successfully compiled the current MicroPython firmware on a MacBook with the help of the tutorial by Adafruit https://learn.adafruit.com/building-and ... d-firmware. Note: You although need to run the following code in the MicroPython git repo, as mentioned by syrekron:

Code: Select all

git submodule update --init
After flashing the ESP-01 everything worked as expected. My question is, if it is possible in the current state of MicroPython for ESP8266 to run a python script per default at startup without compiling it into the firmware (as described by the Adafruit tutorial).

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

Re: Running a default python script

Post by deshipu » Mon Mar 07, 2016 8:08 am

No, at the moment you have to compile it. As soon as there is support for a filesystem, you should be able to upload it instead.

Post Reply