MicroPython ESP8266 port releases (1.8.7 available)

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

MicroPython ESP8266 port releases (1.8.7 available)

Postby pfalcon » Sun Jul 17, 2016 1:08 pm

Based on the KickStarter project backers' decision, the official MicroPython ESP8266 binary releases are made publicly available. This forum topic will be used to make an announcement of each new release, so you may want to subscribe to this topic, to receive notifications.

We already provide daily development builds: https://micropython.org/download/#esp8266 . Note that the daily development builds have some special traits:
  • ESP8266 OS-level debug logging enabled, to help diagnosing issues. See for how to control this debug logging: http://docs.micropython.org/en/latest/e ... rd-control
  • WebREPL does not automatically start on module boot. To start it, execute "import webrepl; webrepl.start()" in UART interactive prompt.
  • Daily builds are made from from the latest work-in-progress source and may have not fully stabilized changes (or in some cases incompatible changes).

Posts: 893
Joined: Fri Feb 28, 2014 2:05 pm

Re: MicroPython ESP8266 port releases

Postby pfalcon » Tue Aug 09, 2016 6:38 pm

Release 1.8.3

Download: http://micropython.org/download/#esp8266


  • (!!!) This release makes filesystem layout change for (future) compatibility with ESP8266 SDK 2.0.0. This means that before flashing this release, you need to completely erase flash. If you have important files in the filesystem, please backup them first.
  • (!!!) This release makes incompatible changes to WebREPL file transfer protocol. New version of clients are required to work with this version (will be made available as default version at the time of the release).

Changes in this release:

  • Continued work on optimizing heap usage
  • 2nd stretch goal of the Kickstarter campaign, Embedded DB, gets initial release in the form of "btree" module. Documentation is on TODO, currently available is an example of usage (easy, following dictionary API!): https://github.com/micropython/micropyt ... /btree1.py
  • WebREPL "get file" operation is now non-blocking in compliance with the original design goal (i.e. you can download file from a device via WebREPL, while still using REPL, or with your application running unblocked).
  • More functions implemented in machine module.
  • More complete API for io.BytesIO/io.StringIO
  • Many more small feature and a lot of bugfixes, see complete changelog at https://github.com/micropython/micropyt ... tag/v1.8.3

Posts: 893
Joined: Fri Feb 28, 2014 2:05 pm

Re: MicroPython ESP8266 port releases (1.8.4 available)

Postby pfalcon » Thu Sep 15, 2016 8:40 pm

Version 1.8.4 was released last week (sorry for the delay with this post). Many of the features in this release were contributed by the community, thanks everyone! You can see developers involved in this release at "Pulse" page at the github: https://github.com/micropython/micropyt ... se/monthly (shows last month of activity, so figures will change as time goes by) or by following git changelog: https://github.com/micropython/micropyt ... its/master

List of changes specific to ESP8266:

  • Pin(16) now works as an input pin
  • the hardware SPI peripheral is exposed as machine.SPI(1)
  • The os.umount function is implemented and the port supports mounting of externally connected SD
  • The machine.WDT class is added
  • wlan.scan() is fixed to return all access points
  • Support added for DS18S20 devices.

You can find detailed 1.8.4 changelog at https://github.com/micropython/micropyt ... tag/v1.8.4

Posts: 893
Joined: Fri Feb 28, 2014 2:05 pm

Re: MicroPython ESP8266 port releases (1.8.5 available)

Postby pfalcon » Mon Oct 17, 2016 3:32 pm

MicroPython 1.8.5 was released today. There was a lot of work on the core, to all of improve it, optimize, and make more reliable. You can read the full changelog at: https://github.com/micropython/micropyt ... tag/v1.8.5 .

Some highlights of ESP8266-specific changes:

  • Work towards enabling on-device upip package manager (a next stretch goal from the Kickstarter campaign) - available in preview mode (see viewtopic.php?f=16&t=2544)
  • Fixed issues with utime.ticks_ms()
  • Added uos.statvfs() to get filesystem status.
  • Enabled importing of precompiled .mpy files
  • Enabled more language features, like slice object attribute access, sys.{stdin,stdout,stderr}.buffer, micropython.alloc_emergency_exception_buf(), etc.

As usual, a lot of changes in this release were contributed by MicroPython developers community. For list of people who contributed to this release, please see https://github.com/micropython/micropyt ... se/monthly (shows development activity for last month from today).

Posts: 893
Joined: Fri Feb 28, 2014 2:05 pm

Re: MicroPython ESP8266 port releases (1.8.6 available)

Postby pfalcon » Sat Nov 12, 2016 12:02 pm

MicroPython 1.8.6 has been released.

Important information and list of not backward compatible changes in this release:

  • This release is based on the major vendor SDK release, 2.0.0, and requires complete flash erase for upgrade. Please be sure to backup any important files in the filesystem first.
  • To flash this release, esptool.py 1.2.1 (latest) is required. For more info: viewtopic.php?f=16&t=2625
  • WebREPL no longer starts by default. This is to improve security as MicroPython ESP8266 port gets wider adoption and also saves memory for people who don't use it (but miss to disable themselves). Before it can be started, the password should be set first - via a serial connection, using "import webrepl_setup". See viewtopic.php?f=16&t=2492 for more info and links to updated documentation.
  • utime.ticks_diff() function signature and semantics was changed to accommodate more usecases, for details see viewtopic.php?f=2&t=2589 and http://docs.micropython.org/en/latest/e ... ticks_diff

The biggest change in this release is upgrade to ESP8266 SDK 2.0.0, which fixed some long-standing issues and allowed us to increase heap size by more than 25%. It wasn't an easy upgrade however, as the SDK 2.0.0 broke the usual easy installation, upgrade, and recovery process and would require us to downgrade to obscure process as used by some other ESP8266 projects. We didn't go that way though and instead worked on re-establishing the streamlined flashing process. That took time (I was testing SDK 2.0.0 last 2 months), but upholds MicroPython's ESP8266 at the high standards MicroPython in general has, and we hope it's appreciated by the users (and hopefully answers concerns that any backwards incompatible changes when done, are done for very good reasons).

Otherwise, there was lot of background work to accommodate implementation of further Kickstarter stretch goals and improvements to MicroPython in general (oh, we reinstated ESP8266 512K support too). Please read more details in the official changelog: https://github.com/micropython/micropyt ... tag/v1.8.6 .

Return to “ESP8266 boards”

Who is online

Users browsing this forum: No registered users and 3 guests