nuttx-apps/graphics/lvgl
Matias N 5bcaeff541 lvgl: use malloc/free for memory handling and "tickless" tick interface
This makes LVGL use malloc/free to handle its memory (instead of
their own memory handling) and supports a tick interface by which
LVGL can ask NuttX the elapsed time, instead of having to periodically
"tick" LVGL internal time in a thread.
2020-10-29 22:26:32 -07:00
..
.gitignore graphics/lvgl: Bump lvgl version to 7.0.2 2020-06-17 12:13:36 -03:00
Kconfig graphics/lvgl: Specific LVGL version by kconfig 2020-08-14 16:02:25 +01:00
lv_conf.h lvgl: use malloc/free for memory handling and "tickless" tick interface 2020-10-29 22:26:32 -07:00
lv_tick_interface.c lvgl: use malloc/free for memory handling and "tickless" tick interface 2020-10-29 22:26:32 -07:00
lv_tick_interface.h lvgl: use malloc/free for memory handling and "tickless" tick interface 2020-10-29 22:26:32 -07:00
Make.defs Don't copy header outside of LVGL, export LVGL, add README, fix example 2020-07-16 09:16:20 -05:00
Makefile lvgl: use malloc/free for memory handling and "tickless" tick interface 2020-10-29 22:26:32 -07:00
README.md Rewritten READMEs to Markdown 2020-07-25 01:01:51 -07:00

Graphics / lvgl LVGL

Usage

Import with #include <lvgl/lvgl.h> or #include <lvgl.h>.

Upstream example ported to NuttX is present at examples/lvgldemo.

LVGL can be used with framebuffer device. To find example boards with this preconfigured, search for CONFIG_GRAPHICS_LVGL=y in defconfig files. All of them have also CONFIG_VIDEO_FB=y present.

As a second option, LVGL can talk to a display driver and explicitly draw line by line. For this case, there is no preconfigured board present. Go to Porting section of upstream documentation for more hints.

Resources