lvgl / lv_binding_micropython

LVGL binding for MicroPython
MIT License
237 stars 156 forks source link

Suggest #219

Closed Damon3499 closed 2 years ago

Damon3499 commented 2 years ago

Is it possible you ad a folder with precompiled images for each port like (https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo) did. It would be easier for those who can not build an image. Thanks for your answer in advance.

amirgon commented 2 years ago

Who are these people who "can not build an image"? Why can't they build an image?
Anyone can, it just requires reading some documentation and putting a little effort.

And when someone like that, who "can't build an image", tries a precompiled image as you suggest and runs into some problem - he certainly also can't debug the image or have a clue where the problem could be, so he will come to us for help. I certainly don't have the capacity to maintain and test multiple precompiled images and then support clueless users who try to use them.

The number of precompiled images is large. Each port would probably need several images. For example on ESP32 we have a version with spi-ram and without spi-ram, a version with color depth of 32 and a version with 16, etc.

That said, a possible limited approach could be to rely on CI artifacts. Today we have RP2 image and STM32 image artifacts that are automatically generated every time the repo is updated (but not really tested). It's possible to create artifacts for other ports as well.
You can also create a new CI task to collect all these artifacts and present them nicely on a web page as you suggest.

If you would like to contribute by implementing that - feel free to open a Pull Request!