make: Entering directory 'C:/Users/xx/lv_micropython/mpy-cross'
Use make V=1 or set BUILD_VERBOSE in your environment to increase build
verbosity.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
Makefile:10: pipe: No error
FIND: Parameter format not correct
Access denied - ../LIB/LV_BINDINGS/LVGL/SRC
Access denied - ../LIB/LV_BINDINGS/LVGL/EXAMPLES
Access denied - ../LIB/LV_BINDINGS/DRIVER/GENERIC
File not found - -TYPE
File not found - F
File not found - -NAME
"LVGL-GEN build/lvgl/lv_mpy.c"
The syntax of the command is incorrect.
make: *** [../py/py.mk:45: build/lvgl/lv_mpy.c] Error 1
make: Leaving directory 'C:/Users/xx/lv_micropython/mpy-cross'
100% sure the problem has nothing to do with lv_micropython.
Pretty sure the problem has something to do with your system and how you installed the git bash & co. I can´t help with Windows, did you try on a Linux machine / VM / LiveCD ?
Rather get help from micropython forum, because this one is specific to micropython bindings for LVGL.
I relatively new to LVGL. My aim is to use LVGL micropython on Raspberry pi Pico. I checked this repo, this also says about micropython bindings for LVGL. I am trying the same.
I uploaded the micropython firmware to the Pi Pico board and use Thonny as an IDE, uploaded micropython examples like blinking LED to board and executed the programs. Its Working…
That´s a good small little step. Uploading a pre-compiled firmware and toying with it is a very different thing than setting up a toolchain and compiling from source.
No worries we´re all beginners at some point, and all stand on the shoulders of giants.
Do yourself a favor and start with micropython without LVGL:
learn about setting the compilation toolchain, building the image, integrating a third-party C library and so on. This will easily eat days of your time, if not weeks depending where you start.
Once you gain this knowledge you can come back to micropython with LVGL.
But this forum here is specific to LVGL micropython: you should post only for LVGL related problem. Like precise questions about LVGL in the restricted context of lv_micropython.
@ACBIAS suggestion is very good - start with upstream Micropython. Make sure you can build it, before trying to build it with LVGL.
Personally I don’t use Windows as a development platform, so my best suggestion for you is to move to Linux.
If you only have Windows, you can still run linux with WSL or VirtualBox
I think i was getting the above error since I was using a Windows system. I installed the extra tools as mentioned here and generated a uf2 file and was able to run a micropython code.
The module you´re looking for is lib/lv_bindings/driver/generic/ili9xxx.py
and it depends from lib/lv_bindings/driver/generic/st77xx.py
There you will also find test scripts for various TFT displays
I did want to say one thing. Don’t try to compile the binding on Windows. Use WSL which is built into Windows and compile it that way. It is a lot easier to do.
Now I’ve successfully managed to port LVGL micropython for Pico. For the sake of newbies and everyone who needs this help… kindly follow the 6 steps after you have installed the pre-requisites below on a linux distro…
Use any Linux distro preferably on WSL2 on windows. Don’t work from Windows cmd.
Install build-essential use… apt install build-essential
only then was I able to make or build the firmware.elf file which will be in the ports/rpw/build-pico folder…
I’ll load this as the firmware into the Raspberry Pi Pico using R-pi boot-loader and then hopefully we’ve crossed the biggest hurdles.