miguelgrinberg/microdot

No longer working on ESP8266

Closed this issue · 1 comments

The repo should make it clear whether it is designed for ESP8266 or ESP32 only.
For latest versions of micropython image (v1.20.0 and v1.19.1):

>>> import uasyncio
>>> from microdot_asyncio import Microdot
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
MemoryError: memory allocation failed, allocating 344 bytes

So it is no longer working.
Moreover, flashing bin/micropython onto ESP8266 does not work at all. So it is totally useless for ESP8266.

How are you installing microdot on your ESP8266 board? On such a small board it is likely that the only way for it to fit is to freeze it in a custom firmware.

Moreover, flashing bin/micropython onto ESP8266 does not work at all. So it is totally useless for ESP8266.

This is your own misunderstanding. The bin/micropython binary that is in this repository is the Unix version of micropython, and it is used to run the unit tests. If you need to flash micropython on your ESP8266 board, you should download official builds for this board from micropython.org.