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

Support in-sketch library config #6952

Closed
NdK73 opened this issue Nov 20, 2017 · 1 comment
Closed

Support in-sketch library config #6952

NdK73 opened this issue Nov 20, 2017 · 1 comment
Labels
Type: Duplicate Another item already exists for this topic

Comments

@NdK73
Copy link

NdK73 commented Nov 20, 2017

If IDE included -I/path/to/sketch while compiling libraries it would be possible to have sketch-dependant configuration files.
For example, TFT_eSPI requires user to edit User_config.h to setup the display type and features needed. That means having to leave the IDE, modify the file, return to IDE, upload... And becomes a mess if user needs to support different displays in different projects.
If IDE included an extra -I/path/to/sketch before the others, it would be enough to have a new tab for "User_setup.h" to reconfigure the dir. If the user does not have that tab, default in-lib file gets used.

@per1234
Copy link
Collaborator

per1234 commented Nov 20, 2017

This has already been requested quite a few different ways in the past and unfortunately it is official Arduino policy to reject the idea.

So I'm closing this as a duplicate of #2547. You can find many other related proposals by following the web of other issues/PRs that are linked from there. If you want to show your support for one of the original proposals you can do so by giving it a "thumbs up", which is available by clicking on the smiley face icon on the top right corner of the comment.

@per1234 per1234 closed this as completed Nov 20, 2017
@per1234 per1234 added the Type: Duplicate Another item already exists for this topic label Nov 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

2 participants