The Littlev Graphic Library is written mainly for microcontrollers and embedded systems however you can run the library on your PC as well without any embedded hardware. The code written on PC can be simply copied when your are using an embedded system.
Using a PC simulator instead of an embedded hardware has got several advantages:
Clone the PC project and the related sub modules:
git clone --recursive https://github.com/littlevgl/pc_simulator_sdl_eclipse.git
or download it as zip here.
You can download SDL from https://www.libsdl.org/
On Linux you can install it via terminal:
sudo apt-get update && sudo apt-get install -y build-essential libsdl2-dev
Download and install Eclipse CDT from http://www.eclipse.org/cdt/
docker build -t lvgl_simulator .
docker run lvgl_simulator
GUI with docker is platform dependent. For example, on macOS you can follow this tutorial and run a command similar to:
docker run -e DISPLAY=10.103.56.101:0 lvgl_simulator
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
If you find an issue, please report it via GitHub!
If you are pleased with the graphics library and found it useful pleas support its further development: