Skip to content

Latest commit

 

History

History

lvgl

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

lvGL 8.0.2 for Tock OS

Light and Versatile Graphics Library is a free and open-source graphics library providing everything you need to create embedded GUI with easy-to-use graphical elements, beautiful visual effects and low memory footprint.

See https://docs.littlevgl.com/en/html/index.html for documentation.

Using lvgl in Tock

To use lvgl, add the following include to the application's Makefile:

EXTERN_LIBS += $(TOCK_USERLAND_BASE_DIR)/lvgl

Re-compiling lvgl

Checkout the lvgl submodule in this directory

$ git submodule init -- lvgl
$ git submodule update

For faster build times, edit the lvgl/lvgl.mk file and comment the examples.

# include $(LVGL_DIR)/$(LVGL_DIR_NAME)/examples/examples.mk
include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/extra.mk
include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core/lv_core.mk
...

then run make

$ cd lvgl
$ make

Configure lvGL

Edit the lv_conf.h in this folder to set up some parameters and optionals