mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 09:38:37 +08:00
Documentaion: migrate graphics/lvgl readme
This commit is contained in:
@@ -2,10 +2,16 @@
|
|||||||
Graphics Support
|
Graphics Support
|
||||||
================
|
================
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:glob:
|
||||||
|
:maxdepth: 3
|
||||||
|
:titlesonly:
|
||||||
|
|
||||||
|
*/*
|
||||||
|
|
||||||
- ft80x - FTDI/BridgeTek FT80x library
|
- ft80x - FTDI/BridgeTek FT80x library
|
||||||
- libjpeg - libjpeg JPEG image encoding
|
- libjpeg - libjpeg JPEG image encoding
|
||||||
- libyuv - libyuv
|
- libyuv - libyuv
|
||||||
- lvgl - Light and Versatile Graphic Library (LVGL)
|
|
||||||
- nxwidgets - NxWidgets
|
- nxwidgets - NxWidgets
|
||||||
- nxwm - NuttX Tiny Window Manager (NxWM)
|
- nxwm - NuttX Tiny Window Manager (NxWM)
|
||||||
- pdcurs34 - pdcurses Text User Interface (TUI)
|
- pdcurs34 - pdcurses Text User Interface (TUI)
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
====
|
||||||
|
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
|
||||||
|
---------
|
||||||
|
|
||||||
|
- `API documentation with examples <https://docs.lvgl.io/latest/en/html/index.html>`_
|
||||||
|
- `GitHub / LVGL / LVGL library <https://github.com/lvgl/lvgl>`_
|
||||||
|
- `GitHub / LVGL / Examples, tutorials, applications <https://github.com/lvgl/lv_examples>`_
|
||||||
|
- `GitHub / LVGL / Desktop simulator <https://github.com/lvgl/lv_sim_eclipse_sdl>`_
|
||||||
|
- `GitHub / LVGL / Web simulator <https://github.com/lvgl/lv_sim_emscripten>`_
|
||||||
Reference in New Issue
Block a user