-
Notifications
You must be signed in to change notification settings - Fork 300
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
README.md: explain how to edit libraries #21
base: master
Are you sure you want to change the base?
Conversation
Having advice about this here is reasonable, but I don't think that this is the right advice. (Well, I desperately hope that this is not the right advice.) I'll test what I believe to be the correct solution today and propose an update. |
I mentioned in the thread on the community board that I encountered a multiple copies of a library compile time warning through the IDE, and it appeared to be respecting the order in $PATH when it chose which one to include. Should be easy enough to talk folks through changing that variable, though I have no idea how pc's handle such things. |
It's sadly much more complicated than that. I went to figure this out once, and I seem to recall documenting my findings in an issue somewhere... will try to dig that up, perhaps it will prove helpful for others. |
Had a look, and this was on IRC, before logging was set up. The gist of things is that built-in libraries can be overridden by others, the order - if my IRC notes are to be trusted - depends on the order of Built-in libraries are those that come with Arduino, and libraries under the Perhaps it isn't that complicated after all... |
We should log what the current order from the IDE is and make sure the
makefile does it the same way. And then see if the right thing happens.
If it doesn't, I'd be ok with the makefile having a a way to build with
local libraries, even if the IDE doesn't.
…On Tue, Oct 17, 2017 at 2:46 PM, Gergely Nagy ***@***.***> wrote:
Had a look, and this was on IRC, before logging was set up. The gist of
things is that built-in libraries can be overridden by others, the order -
if my IRC notes are to be trusted - depends on the order of -libraries
<path> passed to arduino-builder.
Built-in libraries are those that come with Arduino, and libraries under
the hardware hierarchy.
Perhaps it isn't that complicated after all...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACxaGlPdV5K4MMldAaxpcfmq1UmXQUnks5stSA6gaJpZM4P70ns>
.
|
@algernon - do we have a better answer for this these days? |
I do not think we have a better answer :( |
No description provided.