energia / Energia

Fork of Arduino for the Texas Instruments LaunchPad's
http://energia.nu
Other
794 stars 672 forks source link

0165E0018 Library Management #892

Closed rei-vilo closed 8 years ago

rei-vilo commented 8 years ago

One test with library management didn't succeed with the .json file at https://raw.githubusercontent.com/rei-vilo/ReiVilo_Libraries_Index/master/ReiVilo_Libraries_Index.json

rei-vilo commented 8 years ago

According to Library Manager FAQ, all libraries are listed at http://downloads.arduino.cc/libraries/library_index.json maintained by Arduino.

Can I add my own url with my own library list?

At the moment, the IDE handles one URL only, and that's written into the code (dev jargon: it's hardcoded). This is a known limitation. However, if you know your way through the code, you can change that URL with another one.

Two options for Energia

As per Arduino.

This requires central resources to evaluate the libraries, check the parameters and update the library_index.json file accordingly.

The Additional Boards Manager URLs list would be used for the boards and the libraries as well.

capture 2016-06-06 a 19 14 29
robertinant commented 8 years ago

Unfortunately as per the FAQ quote you mentioned, there is only one library_index.json for now. Supposedly the Arduino team is working on enabling third party URL's just like with the board manager. I will wait for that implementation and pull it into Energia when available.

For now, I will add your libraries to the centralized library_index.json file.

rei-vilo commented 8 years ago

Great!