Coder Social home page Coder Social logo

Comments (17)

fifteenhex avatar fifteenhex commented on July 29, 2024 1

It looks like lv_drivers creates a static .a library. So I think that would be one package in buildroot and then maybe the main lvgl will be another package that depends on the lv_drivers one. I'll have a good at getting this to build in buildroot and get back to you.

from lv_port_linux.

symfund avatar symfund commented on July 29, 2024 1

Nuvoton has packaged LVGL (w/ Wayland) in buildroot on MA35D1 (Cortex-A35, aarch64) platform.
For using LVGL with Wayland on MA35D1, please contact Nuvoton sales representative.

from lv_port_linux.

kisvegabor avatar kisvegabor commented on July 29, 2024

Hi,

I don't know mainroot in detail. Does it mean an extra file like Kconfig? If so LVGL on its own can be added too?

from lv_port_linux.

fifteenhex avatar fifteenhex commented on July 29, 2024

Hi,

I don't know mainroot in detail. Does it mean an extra file like Kconfig? If so LVGL on its own can be added too?

Buildroot takes a simple config file (bunch of make macros really) and builds, configures and installs for the target.
LVGL can be added but I'm wondering which is the right repo to target. If this repo builds LVGL to run on linux then maybe it's this repo, but maybe some of the other repos should be built as libraries or something?

from lv_port_linux.

kisvegabor avatar kisvegabor commented on July 29, 2024

Buildroot takes a simple config file (bunch of make macros really) and builds, configures and installs for the target.

Thanks!

I'm wondering which is the right repo to target.

There are other drivers that can be used on Linux too: SDL, Wayland, GTK. These are in the lv_drivers repo and have no dedicated project that works with make.

If the lvgl can be handled separately, can we use it as a "sub-library" or so inside this or other projects?

from lv_port_linux.

stale avatar stale commented on July 29, 2024

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from lv_port_linux.

kisvegabor avatar kisvegabor commented on July 29, 2024

Hi,

Is this topic still relevant? Do you still think it's a good idea to add buildroot support at least the lvgl repo?

from lv_port_linux.

legerch avatar legerch commented on July 29, 2024

Hi,
Sorry for dig out old issue but this is the only issue mentionning buildroot packing, do we have any news on this ? That would be really helpful for embedded linux

from lv_port_linux.

kisvegabor avatar kisvegabor commented on July 29, 2024

I'm also curious about it.
@fifteenhex ?

from lv_port_linux.

embetrix avatar embetrix commented on July 29, 2024

just as note lvgl is already supported in yocto:
https://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-graphics/lvgl

But building it using own recipe is quite easy.

from lv_port_linux.

kisvegabor avatar kisvegabor commented on July 29, 2024

Nice, thanks!

from lv_port_linux.

legerch avatar legerch commented on July 29, 2024

Thank you for your reply @embexus, that will be helpful !
I see in .bb recipe than default lv_conf.h is used (and can be replaced with our own later), do we have an option to use KConfig file from lvgl repository ?

from lv_port_linux.

embetrix avatar embetrix commented on July 29, 2024

@kisvegabor in the documentation https://docs.lvgl.io/master/porting/project.html ist states that make menuconfig can be used but it does not work ?! any additional steps ?

from lv_port_linux.

kisvegabor avatar kisvegabor commented on July 29, 2024

LVGL provides only a Kconfig file, meaning that it can be used in an environment where make menuconfig is implemented.

from lv_port_linux.

symfund avatar symfund commented on July 29, 2024

Since this repo has git submodules, so in Buildroot LVGL.mk must have the following line:
LV_PORT_LINUX_FRAME_BUFFER_GIT_SUBMODULES = YES

This repo provides both cmake and general Makefile, in LVGL.mk, we can add
$(eval $(generic-package))
or
$(eval $(cmake-package))

from lv_port_linux.

fifteenhex avatar fifteenhex commented on July 29, 2024

Sorry,

I missed the many notifications about this. I also got this to work in buildroot but as LVGL doesn't really generate a shared library that can go between projects it didn't seem to be the right way to do it. A package for the app with LVGL as a submodule seemed more workable.

from lv_port_linux.

stale avatar stale commented on July 29, 2024

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from lv_port_linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.