I just started with Micropython + LittlevGL. I already clone the project from this link: https://github.com/littlevgl/lv_micropython. I also inserted these command:
sudo apt-get install build-essential libreadline-dev libffi-dev git pkg-config libsdl2-2.0-0 libsdl2-dev python
git clone --recurse-submodules https://github.com/littlevgl/lv_micropython.git
make -C mpy-cross
make -C ports/unix/
And it went well for those commands.
However, as i changed directory to “lv_micropython/ports/stm32” and “make BOARD=STM32F4DISC” (F4 is supported in Micropython). There were some errors.
I wonder if I did everything correctly or did i miss something along the way?
Thank you very much, Huy.
Currently the unix (Linux) port and the ESP32 ports are fully supported.
There is some work being done for adding STM32, see https://github.com/littlevgl/lv_micropython/pull/16
What display/touch hardware are you using?
As i check in the repository, the board F4DISC is fully supported but somehow there were still errors happening when i tried to “make BOARD”.
The fact is that i tried with the fully supported board F4 first and then, our main job will be on the STM32L4R9IDISC. But now errors on the code for F4 is an obstacle for me.
Do you have any idea on that?
The picture below is what was on my terminal when i “make BOARD”.
The errors you get are related to lvgl micropython binding, because STM32 is not supported yet.
Please try integrating the PR I sent you.