Small LVGL-on-Linux display test app for a Raspberry Pi style setup using:
- LVGL
- DRM/KMS page flipping
- raw evdev touch input
- a local LVGL checkout
libdrm- a C/C++ toolchain
This repo does not vendor LVGL. The build compiles LVGL directly from a local checkout.
By default, the Makefile expects LVGL at:
../src/lvglSo if this repo is checked out at:
/home/user/speedometerthe default LVGL path would be:
/home/user/src/lvglIf your LVGL checkout matches the default layout:
makeIf LVGL is somewhere else, point the build at it explicitly:
make LVGL_DIR=/path/to/lvglYou can also generate a compile database for editor tooling:
make compdb LVGL_DIR=/path/to/lvgl- The build checks that
$(LVGL_DIR)/lvgl.hand$(LVGL_DIR)/srcexist before compiling.