Giter Club home page Giter Club logo

Comments (11)

kisvegabor avatar kisvegabor commented on June 18, 2024 1

Yes. I found it easier to work with that way.

I see. We can do it as part of the migration to v6.0.
Hopefully, I will get back my ILI9341 screen from my friend today and can update the project.

from lv_port_esp32.

kisvegabor avatar kisvegabor commented on June 18, 2024

Hi,

I'm not an expert with ESP32, but what is the advantage of this structure?

from lv_port_esp32.

C47D avatar C47D commented on June 18, 2024

Hi,

Neither i am an expert ESP32 user, but using components is just the recommendation of Espressif on how organize projects. See here.

“components” are modular pieces of standalone code which are compiled into static libraries (.a files) and linked into an app. Some are provided by esp-idf itself, others may be sourced from other places.

And below there's a tree of an example project, and explains the components directory:

This example “myProject” contains the following elements:
Optional “components” directory contains components that are part of the project. A project does not have to contain custom components of this kind, but it can be useful for structuring reusable code or including third party components that aren’t part of ESP-IDF.

from lv_port_esp32.

kisvegabor avatar kisvegabor commented on June 18, 2024

Hm, this project already uses components.mk see the README. So basically the update you suggest is to move the components to a coponents folder because it's more standard?
If so, I agree, it's better to follow the ESP's rules if possible.

from lv_port_esp32.

C47D avatar C47D commented on June 18, 2024

So basically the update you suggest is to move the components to a coponents folder because it's more standard?

Yes. I found it easier to work with that way.

The component examples i uploaded in this comment are just suggestions, adapted to the new directory structure of lvgl v6.0.

from lv_port_esp32.

C47D avatar C47D commented on June 18, 2024

Great, thanks :-)

from lv_port_esp32.

kisvegabor avatar kisvegabor commented on June 18, 2024

I've updated the project I couldn't make it work with the proposed directory structure yet.
Now it has the old structure but with lvgl 6.0.

Can you take look at it?

from lv_port_esp32.

C47D avatar C47D commented on June 18, 2024

Great!, yes, i can take a look at it later today (i'm on UTC-5).

from lv_port_esp32.

C47D avatar C47D commented on June 18, 2024

Hi,

I got it working, i also had to move the lv_conf.h and lv_ex_conf.h files into the components directory. I will have to update the git submodules path and expect the PR soon.

from lv_port_esp32.

kisvegabor avatar kisvegabor commented on June 18, 2024

Great! Waiting for the PR :)

from lv_port_esp32.

C47D avatar C47D commented on June 18, 2024

Let me know if like the new README

from lv_port_esp32.

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.