ESP8266 Building and flashing OTA firmware

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: ESP8266 Building and flashing OTA firmware

Post by pfalcon » Sun Jun 11, 2017 12:16 pm

That looks cute. Well, https://github.com/manningt/aws-signature-iot-python looks cute. Please consider adding description and "micropython" tag to project(s), so they can be easily findable via https://github.com/search?q=topic%3Amic ... positories . Also, I'd suggest opening a separate topic for those projects.
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: ESP8266 Building and flashing OTA firmware

Post by pfalcon » Sun Jun 11, 2017 12:18 pm

rosenrot wrote:it seems the support in this forum is a little bit slow. I asked the question about the ota a month ago.
You can easily change that - just hang around and answer the questions.
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

carsten
Posts: 15
Joined: Wed Aug 16, 2017 3:08 pm

Re: ESP8266 Building and flashing OTA firmware

Post by carsten » Wed Aug 16, 2017 7:29 pm

Trying it myself right now. If you run make from the parent directory, you'll get a single merged image with the server and boot code, that you can flash at 0x0.

In case anyone else runs into the problem with axtls: link the lib/axtls folder of your micropython repository to ota-server/lib and copy libaxtls.a from esp8266/build to ota-server/...

Post Reply