Skip to content

builder is unable to find libraries for 3rd party boards #83

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

Closed
robertinant opened this issue Dec 14, 2015 · 6 comments
Closed

builder is unable to find libraries for 3rd party boards #83

robertinant opened this issue Dec 14, 2015 · 6 comments
Assignees

Comments

@robertinant
Copy link

Builder (1.3.8) in Arduino 1.6.7 is no longer able to find libraries (e.g. SPI.h) for the panStamp NRG board. http://panstamp.org/arduino/package_panstamp_index.json. This issue might also exist for other boards. This was working fine with builder 1.0.5 in Arduino 1.6.6. I have looked at all the configuration files and do not see anything obvious that should be changed to support the latest builder. Can you please look into this?

@facchinm
Copy link
Member

Hi @robertinant ,
I've tested the core you are referring to and I only found a problem with HardwareSerial (patch this in Arduino.h)

 #include "WCharacter.h"
 #include "WString.h"
+#include "HardwareSerial.h"
 #if defined(HAVE_HWSERIAL0) && defined(HAVE_CDCSERIAL)
 #error "Targets with both UART0 and CDC serial not supported"
 #endif

After fixing this I tested sdCardTest and it compiled correctly.
Can you give more hints (core version, sketch code...)
Thanks!

@facchinm
Copy link
Member

This is how the libraries get resolved in my setup

Using library SPI at version 1.0 in folder: /home/martino/.arduino15/packages/panstamp_avr/hardware/avr/1.5.3/libraries/SPI 
Using library SD at version 1.0.6 in folder: /home/martino/Arduino-master/build/linux/work/libraries/SD

@robertinant
Copy link
Author

Sorry, I should been more specific. The issue is with the panStamp NRG boards. All is fine for the panStamp AVR boards.

@facchinm
Copy link
Member

Hi @robertinant ,
you were right indeed, I was testing the wrong board.
The issue should be fixed with bd5d3ec and become available in the next hourly build of the IDE.
Thanks for the report!

@robertinant
Copy link
Author

Awesome! That fixed it. Thanks for the quick turn-around on this!

@dberenguer
Copy link

This issue was fixed for core libraries but not for 3rd-party generic libraries (installed under sketches/libraries/) being used by 3rd-party boards.

This was reported in issue #97 some months ago. IDE 1.6.8 is still showing the problem.

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