Closed w4rum closed 2 years ago
Unfortunately, I don't have an opportunity to run the build and fix it. You can try this fork https://github.com/russhughes/st7789_mpy maybe it would work in your case.
After some help from the guys over on the Micropython repo I figured out that the problem was on my end. I somehow fucked up my working copy of the module. The build instructions in the readme work (minus the new recommended docker-based build). Sorry for the inconvenience.
The README contains performance measurements for the ESP8266 and also states how to build MicroPython with this module for the ESP8266. However, I can't get the current version of MicroPython to include this module when building.
I'm using the "recommended" way to build for ESP8266, which is using docker:
This builds fine but produces exactly the same image as without the
USER_C_MODULES
argument. When flashing the produced image,import st7789
does not work.When looking over the Makefile in
micropython/ports/esp8266
, I noticed that neitherUSER_C_MODULES
norcmake
is referenced at all. I also couldn't find anything else on how to include external modules in an ESP8266 build.Am I missing something here?