Arduino esp8266 IDE libraries?
Posted: Tue Nov 24, 2015 1:28 pm
There is some hidden stuff going on with the Arduino IDE that I don't quite get yet.
#include <BMP085.h> .......... the file is in C:/Arduino/arduino-1.6.5/libraries/bmp085driver
The IDE at launch seems to read all libraries and learn stuff probably via KEYWORDS.txt...it is likely convenient but at times unpleasant since you can't control it like pointing to a specific library folder at compile time. The point is libraries often can have specific issues with the esp8266 and not with AVR for example. Modifications are often needed but since the libraries folder and only the libraries folder gets special processing at launch you can't control with compile time code any other library folder.
I use the folder Portable within the Arduino folder to regain some control over where built in IDE things are placed ( prevent ooze to folders other than Arduino )
I was thinking it might have worked explicitly like
#include "C:/Arduino/arduino-1.6.5/libraries/bmp085driver/BMP085.h"
or
#include <C:/Arduino/arduino-1.6.5/libraries/bmp085driver/BMP085.h>
in which case the library location could be chosen at compile time.
It doesn't since it results compile errors w.r.t routines in theBMP085 cpp
Any ideas to avoid the lexicographic lock down to the folder libraries at launch?
#include <BMP085.h> .......... the file is in C:/Arduino/arduino-1.6.5/libraries/bmp085driver
The IDE at launch seems to read all libraries and learn stuff probably via KEYWORDS.txt...it is likely convenient but at times unpleasant since you can't control it like pointing to a specific library folder at compile time. The point is libraries often can have specific issues with the esp8266 and not with AVR for example. Modifications are often needed but since the libraries folder and only the libraries folder gets special processing at launch you can't control with compile time code any other library folder.
I use the folder Portable within the Arduino folder to regain some control over where built in IDE things are placed ( prevent ooze to folders other than Arduino )
I was thinking it might have worked explicitly like
#include "C:/Arduino/arduino-1.6.5/libraries/bmp085driver/BMP085.h"
or
#include <C:/Arduino/arduino-1.6.5/libraries/bmp085driver/BMP085.h>
in which case the library location could be chosen at compile time.
It doesn't since it results compile errors w.r.t routines in theBMP085 cpp
Any ideas to avoid the lexicographic lock down to the folder libraries at launch?