Lines Matching full:lvgl

4 LVGL in Yocto
8 using LVGL. While the process will be demonstrated for the Raspberry Pi 3
282 LVGL recipe
289 .. list-table:: lvgl recipe version
296 - lvgl 9.1.0
298 - lvgl 8.3.10
300 - lvgl 8.1.0
302 - lvgl 8.1.0
304 - lvgl 8.1.0
306 - lvgl 8.0.3
308 In this guide, we are on the ``scarthgap`` branch, so we are using lvgl 9.1.0.
312 SDK with lvgl.
314 This is the path of lvgl recipes: ``lvgl_yocto_guide/sources/meta-openembedded/
315 meta-oe/recipes-graphics/lvgl``
317 Here is the architecture of lvgl recipes folder:
321 lvgl
332 └── lvgl-demo-fb_9.1.0.bb
337 settings for LVGL that can be shared between multiple recipes.
338 - ``lvgl_9.1.0.bb`` is the recipe to build lvgl library.
339 - ``lvgl-demo-fb_9.1.0.bb`` is a recipe to build an application using lvgl.
341 For now let's understand the recipe of lvgl library.
349 HOMEPAGE = "https://lvgl.io/"
350 DESCRIPTION = "LVGL is an OSS graphics library to create embedded GUI"
356 git://github.com/lvgl/lvgl;protocol=https;branch=master \
384 integrity of the license file included in the package. In LVGL repository,
389 - The main source repository for LVGL specifying the master branch.
409 specific to the LVGL library.
421 lvgl`` to run all the tasks.
426 bitbake lvgl -c fetch
437 build/downloads/git2/github.com.lvgl.lvgl``.
440 build/tmp/work/cortexa53-poky-linux/lvgl`` but these folders are empty since
449 bitbake lvgl -c unpack
453 In the ``lvgl_yocto_guide/build/tmp/work/cortexa53-poky-linux/lvgl/9.1.0``
464 bitbake lvgl -c patch
476 bitbake lvgl -c configure
490 cortexa53-poky-linux/lvgl/9.1.0``, you will find a ``build`` folder that was
492 sysroots have everything required to build lvgl library.
498 bitbake lvgl -c compile
511 are available in ``lvgl_yocto_guide/build/tmp/work/ cortexa53-poky-linux/lvgl/9.1.0/build/lib``.
518 bitbake lvgl -c install
530 The lvgl library (``.so`` files) are also ready to be installed in the final
540 IMAGE_INSTALL:append = " lvgl"
541 TOOLCHAIN_HOST_TASK:append = " lvgl"
543 This will add the lvgl library in the generated image, and it will also add
553 rpm/cortexa53/lvgl-9.1.0-r0.cortexa53.rpm`` and other rpm files related to
554 lvgl.
596 Enter target directory for SDK (default: /opt/poky/5.0.4): /opt/poky/sdk-with-lvgl
597 You are about to install the SDK to "/opt/poky/sdk-with-lvgl". Proceed [Y/n]? y
599 If you want to ensure the SDK was generated with lvgl being installed, go to
600 the path you extracted the SDK and find all lvgl files:
605 find . -name "*lvgl*"
607 The ``.so`` files you will find will depend on the LVGL configuration you used.
617 The tools available in LVGL library will depend on the build configuration
656 or multiple applications using lvgl
661 mkdir -p recipes-lvglapp/lvgl-fbdev-benchmark/files
662 touch recipes-lvglapp/lvgl-fbdev-benchmark/lvglbenchmarkfbdev_2.4.bb
664 We will focus on 1 application that will clone an lvgl git repository and patch
667 The content of ``recipes-lvglapp/lvgl-fbdev-benchmark/lvglbenchmarkfbdev_2.4.
672 DESCRIPTION = "My C++ lvgl app with CMake"
678 SRC_URI = "gitsm://github.com/lvgl/lv_port_linux.git;branch=master;protocol=https \
794 /* Stress test for LVGL */
857 project(lvgl)
859 -set(CMAKE_C_STANDARD 99)#C99 # lvgl officially support C99 and above
867 add_subdirectory(lvgl)
868 target_include_directories(lvgl PUBLIC ${PROJECT_SOURCE_DIR})
873 -include(${CMAKE_CURRENT_LIST_DIR}/lvgl/tests/FindLibDRM.cmake)
880 …-target_link_libraries(main lvgl lvgl::examples lvgl::demos lvgl::thorvg ${SDL2_LIBRARIES} ${SDL2_…
882 +target_link_libraries(lvglbenchmark lvgl lvgl::examples lvgl::demos lvgl::thorvg m pthread)