Closed richyguitar closed 1 year ago
Hello there, still very much appreciate your work.
If anyone is interested and stumbles across this issue searching for a similar thing:
In the meantime I ran across LVGL which includes a GC9A01-driver and a powerful library which seems to fit my needs. I was able to compile the firmware using lv_micropython (an example implementation of LVLGL bindings for micropython using version 4 of the ESP-IDF and release 7 of lv_micropython running git clone -b v4.0 --recursive https://github.com/espressif/esp-idf/
and git clone -b release/v7 https://github.com/lvgl/lv_micropython
(see https://github.com/lvgl/lv_micropython/blob/master/ports/esp32/README.md#setting-up-the-toolchain-and-esp-idf and https://github.com/lvgl/lv_micropython (be aware to select the right version of lv_micropython for the right building instructions)).
Cheers
Hello there, first of all thanks a lot for the provided code, I really appreciate your effort!
Since I am a noob when it comes to compiling in general and I am merely able to write a simple script in Python, I'd like to reach out to you. I am using a Wemos D1 mini ESP8266 board. I have put your library inside the ~/micropython/drivers folder. I am using the micropython 1.20 branch. I also tried it with the 1.19.1 branch.
I got the compiling the firmware running with the docker container using the following input and I was able to add the cexample code from micropython and successfully tested the cexample class:
docker run --rm -v $HOME:$HOME -u $UID -w $PWD larsks/esp-open-sdk make -j 4 V=1 USER_C_MODULES=/home/richy/micropython/examples/usercmodule/
When I use the input provided in your README.MD, the gc9a01-code will not be put inside the firmware binary:
docker run --rm -v $HOME:$HOME -u $UID -w $PWD larsks/esp-open-sdk make V=1 USER_C_MODULES=/home/richy/micropython/drivers/gc9a01_mpy-main/src/micropython.cmake all
I can compile a binary file but when I flash it to the ESP8266 I get "no module named 'gc9a01'"
So I tried adding your gc9a01 library using the following input:
docker run --rm -v $HOME:$HOME -u $UID -w $PWD larsks/esp-open-sdk make V=1 USER_C_MODULES=/home/richy/micropython/drivers/gc9a01_mpy-main
I get the following error message (see the full output in the file attached):
Please advise.
Thanks a lot in advance, Richard
compile_output.txt