Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to integrate to a project properly? #42

Open
janoist1 opened this issue Jun 15, 2018 · 2 comments
Open

How to integrate to a project properly? #42

janoist1 opened this issue Jun 15, 2018 · 2 comments

Comments

@janoist1
Copy link

janoist1 commented Jun 15, 2018

Hi,
Can you help me how to integrate it as a component into an ESP-IDF project? I cloned the lib into the components folder but unable to compile the demo app, complaining about missing tft files... If I only merge the components folder into my project I can use it... But that way I need to manually merge the contents of the Kconfig.projbuild too. Not sure which way is the correct one. Thanks

@sukeshak
Copy link

Folders inside the component folder is all you need for integration.
For menuconfig options you just need to copy Kconfig.projbuild from main folder to your main folder.
If you are using SPIFF storage then partitions_example.csv file also need to be copied.

@jeremyjh
Copy link

I've addressed this in my fork (for the latest build system in esp-idf 4). All the menuconfig is moved into the TFT components. You just need to add a couple of lines in your CMake files, its all documented here: https://github.com/jeremyjh/ESP32_TFT_library#installing-as-library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants