adafruit / Adafruit_BME280_Library

Arduino Library for BME280 sensors
Other
336 stars 305 forks source link

Create library.json #7

Closed jacobrussell closed 8 years ago

jacobrussell commented 8 years ago

For use with platformio

ivankravets commented 8 years ago

@jacobrussell please make PR to https://github.com/platformio/platformio-libmirror/tree/master/configs/adafruit

P.S: @ladyada doesn't have time for startups and @PlatformIO. See https://github.com/platformio/platformio/issues/499

ladyada commented 8 years ago

yes that would be awesome, thank you @ivankravets & @jacobrussell :)

glynhudson commented 8 years ago

It's already here! Should have done a PlatformIO lib search first :+1:

https://github.com/platformio/platformio-libmirror/blob/master/configs/adafruit/arduino-bme280.json

http://platformio.org/lib/show/166/Adafruit_BME280

ivankravets commented 8 years ago

@glynhudson we are working on the big update for PlatformIO, named "PlatformIO 3.0". We will introduce support for all existing C/C++ manifests (ARM mbed module.json, Arduino library.properties, etc). This will allow us to create #1 library registry for embedded with hundred libraries. You won't need to create library.json manifest for the package/library/module if you are not going to control PlatformIO Build System. If you need to specify custom build flags, extra build option or even to take control from PlatformIO Library Builder, you can use extraScript for that.

Nevertheless, ~95% of exisiting Arduino libraries could be registered with PlatformIO Library Registry with existing library.properties manifest. If you need more professional control on the library, please use our library.json manifest.

ivankravets commented 8 years ago

Great news! PlatformIO Library Registry supports 3-rd party manifests:

You can register these manifests using generic platformio lib register command. Later, we will add separate Web page where users can submit any libraries online.

Currently, our registry contains more than 1000 different embedded libraries. Of course, new PlatformIO 3.0 and its Library Manager with a semantic support and multiple library storages should embedded development on the new levell.