Adding a Library from Github to Build?

Particle Build does not include a library for a device I want to use. Github does have this library. How can I add this Github library to the Build library collection? The device is the BMP085.

Is it possible for me to merely add the code for the BMP085 library directly to the code for the app I am writing and therefore avoid putting the BMP085 library code in the Build library collection?

Thanks.

Jim

Hi @jrybak

Did you see this library?
https://build.particle.io/libs/5393009b7b167fbbb60008ab/tab/bmp085test.ino

It seems like you need to delete the comment above the include file to get it to compile… I’ll have to look into this further, you shouldn’t need to do that.


If you still would like to include your own library, you can fork the one you’d like to include and modify it as instructed here so that you can import it into Particle Libraries:
https://docs.particle.io/guide/getting-started/build/photon/#contribute-a-library

Thank you very much.

Jim