peterhinch / micropython-nano-gui

A lightweight MicroPython GUI library for display drivers based on framebuf class
MIT License
511 stars 88 forks source link

esp8266 memory error #7

Closed eugeniobaglieri closed 3 years ago

eugeniobaglieri commented 3 years ago

Good evening, i'm triyng to use nano-gui on esp8266 with SSSD1331 display. I'm importing (not using frozen modules) the minimum .py files structure as suggested in README. I can instatiate the ssd object, but when i try to create a Label object i get memory error. Has something changed from that written in the README? Does Importing library as frozen module resolve the issue?

peterhinch commented 3 years ago

The ESP8266 has limited RAM, and I was quite surprised that nano-gui could be made to run on it. The instructions make it clear that it is necessary to use frozen bytecode on the ESP8266.