Comments (11)
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.
Hi,
I'm not an expert with ESP32, but what is the advantage of this structure?
from lv_port_esp32.
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.
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.
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.
Great, thanks :-)
from lv_port_esp32.
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.
Great!, yes, i can take a look at it later today (i'm on UTC-5).
from lv_port_esp32.
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.
Great! Waiting for the PR :)
from lv_port_esp32.
Let me know if like the new README
from lv_port_esp32.
Related Issues (20)
- Error Compiling for FT81x HOT 1
- LVGL v8 status ? Animation with Square Line Studio HOT 7
- Cannot build project with LVGL as component HOT 1
- SPI display drivers do not play nice with other spi devices
- esp32-s3 invalid dma channel HOT 1
- Portrait mode of demos doesn't display correctly
- The link to the forum when you write a PR/issue is incorrect HOT 1
- build with esp-idf-4.4.3 fails HOT 1
- failed to run idf.py menuconfig HOT 3
- updated LVGL+squareline studio+ ESP32 HOT 2
- Demo on older esp-wrover-kit board ( not v4.1) HOT 2
- Display not showing the correct windows while running this example HOT 2
- Sunton ESP32-8048S070 board HOT 8
- How can I add my own components to the project
- Unable to compile on esp-idf version 5.0 HOT 4
- undefined reference to `lv_obj_set_scroll_propagation'
- Cant turn off LV_USE_FLEX
- Horizontal scrolling HOT 4
- fatal error: Arduino_H7_Video.h: No such file or directory
- ESP32C3 - non-LVGL task (temp reading) causes TFT display to go blank and stay blank on second run of task HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lv_port_esp32.