diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Bridge/Bridge.ino b/libraries/Bridge/examples/Bridge/Bridge.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Bridge/Bridge.ino rename to libraries/Bridge/examples/Bridge/Bridge.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/ConsoleAsciiTable/ConsoleAsciiTable.ino b/libraries/Bridge/examples/ConsoleAsciiTable/ConsoleAsciiTable.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/ConsoleAsciiTable/ConsoleAsciiTable.ino rename to libraries/Bridge/examples/ConsoleAsciiTable/ConsoleAsciiTable.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/ConsolePixel/ConsolePixel.ino b/libraries/Bridge/examples/ConsolePixel/ConsolePixel.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/ConsolePixel/ConsolePixel.ino rename to libraries/Bridge/examples/ConsolePixel/ConsolePixel.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/ConsoleRead/ConsoleRead.ino b/libraries/Bridge/examples/ConsoleRead/ConsoleRead.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/ConsoleRead/ConsoleRead.ino rename to libraries/Bridge/examples/ConsoleRead/ConsoleRead.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Datalogger/Datalogger.ino b/libraries/Bridge/examples/Datalogger/Datalogger.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Datalogger/Datalogger.ino rename to libraries/Bridge/examples/Datalogger/Datalogger.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/FileWriteScript/FileWriteScript.ino b/libraries/Bridge/examples/FileWriteScript/FileWriteScript.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/FileWriteScript/FileWriteScript.ino rename to libraries/Bridge/examples/FileWriteScript/FileWriteScript.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/HttpClient/HttpClient.ino b/libraries/Bridge/examples/HttpClient/HttpClient.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/HttpClient/HttpClient.ino rename to libraries/Bridge/examples/HttpClient/HttpClient.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Process/Process.ino b/libraries/Bridge/examples/Process/Process.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Process/Process.ino rename to libraries/Bridge/examples/Process/Process.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/ShellCommands/ShellCommands.ino b/libraries/Bridge/examples/ShellCommands/ShellCommands.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/ShellCommands/ShellCommands.ino rename to libraries/Bridge/examples/ShellCommands/ShellCommands.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/SpacebrewYun/inputOutput/inputOutput.ino b/libraries/Bridge/examples/SpacebrewYun/inputOutput/inputOutput.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/SpacebrewYun/inputOutput/inputOutput.ino rename to libraries/Bridge/examples/SpacebrewYun/inputOutput/inputOutput.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/SpacebrewYun/spacebrewBoolean/spacebrewBoolean.ino b/libraries/Bridge/examples/SpacebrewYun/spacebrewBoolean/spacebrewBoolean.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/SpacebrewYun/spacebrewBoolean/spacebrewBoolean.ino rename to libraries/Bridge/examples/SpacebrewYun/spacebrewBoolean/spacebrewBoolean.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/SpacebrewYun/spacebrewRange/spacebrewRange.ino b/libraries/Bridge/examples/SpacebrewYun/spacebrewRange/spacebrewRange.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/SpacebrewYun/spacebrewRange/spacebrewRange.ino rename to libraries/Bridge/examples/SpacebrewYun/spacebrewRange/spacebrewRange.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/SpacebrewYun/spacebrewString/spacebrewString.ino b/libraries/Bridge/examples/SpacebrewYun/spacebrewString/spacebrewString.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/SpacebrewYun/spacebrewString/spacebrewString.ino rename to libraries/Bridge/examples/SpacebrewYun/spacebrewString/spacebrewString.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/ControlBySMS/ControlBySMS.ino b/libraries/Bridge/examples/Temboo/ControlBySMS/ControlBySMS.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/ControlBySMS/ControlBySMS.ino rename to libraries/Bridge/examples/Temboo/ControlBySMS/ControlBySMS.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/ControlBySMS/TembooAccount.h b/libraries/Bridge/examples/Temboo/ControlBySMS/TembooAccount.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/ControlBySMS/TembooAccount.h rename to libraries/Bridge/examples/Temboo/ControlBySMS/TembooAccount.h diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/GetYahooWeatherReport/GetYahooWeatherReport.ino b/libraries/Bridge/examples/Temboo/GetYahooWeatherReport/GetYahooWeatherReport.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/GetYahooWeatherReport/GetYahooWeatherReport.ino rename to libraries/Bridge/examples/Temboo/GetYahooWeatherReport/GetYahooWeatherReport.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/GetYahooWeatherReport/TembooAccount.h b/libraries/Bridge/examples/Temboo/GetYahooWeatherReport/TembooAccount.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/GetYahooWeatherReport/TembooAccount.h rename to libraries/Bridge/examples/Temboo/GetYahooWeatherReport/TembooAccount.h diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/ReadATweet/ReadATweet.ino b/libraries/Bridge/examples/Temboo/ReadATweet/ReadATweet.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/ReadATweet/ReadATweet.ino rename to libraries/Bridge/examples/Temboo/ReadATweet/ReadATweet.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/ReadATweet/TembooAccount.h b/libraries/Bridge/examples/Temboo/ReadATweet/TembooAccount.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/ReadATweet/TembooAccount.h rename to libraries/Bridge/examples/Temboo/ReadATweet/TembooAccount.h diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendATweet/SendATweet.ino b/libraries/Bridge/examples/Temboo/SendATweet/SendATweet.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendATweet/SendATweet.ino rename to libraries/Bridge/examples/Temboo/SendATweet/SendATweet.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendATweet/TembooAccount.h b/libraries/Bridge/examples/Temboo/SendATweet/TembooAccount.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendATweet/TembooAccount.h rename to libraries/Bridge/examples/Temboo/SendATweet/TembooAccount.h diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendAnEmail/SendAnEmail.ino b/libraries/Bridge/examples/Temboo/SendAnEmail/SendAnEmail.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendAnEmail/SendAnEmail.ino rename to libraries/Bridge/examples/Temboo/SendAnEmail/SendAnEmail.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendAnEmail/TembooAccount.h b/libraries/Bridge/examples/Temboo/SendAnEmail/TembooAccount.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendAnEmail/TembooAccount.h rename to libraries/Bridge/examples/Temboo/SendAnEmail/TembooAccount.h diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendAnSMS/SendAnSMS.ino b/libraries/Bridge/examples/Temboo/SendAnSMS/SendAnSMS.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendAnSMS/SendAnSMS.ino rename to libraries/Bridge/examples/Temboo/SendAnSMS/SendAnSMS.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendAnSMS/TembooAccount.h b/libraries/Bridge/examples/Temboo/SendAnSMS/TembooAccount.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendAnSMS/TembooAccount.h rename to libraries/Bridge/examples/Temboo/SendAnSMS/TembooAccount.h diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendDataToGoogleSpreadsheet/SendDataToGoogleSpreadsheet.ino b/libraries/Bridge/examples/Temboo/SendDataToGoogleSpreadsheet/SendDataToGoogleSpreadsheet.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendDataToGoogleSpreadsheet/SendDataToGoogleSpreadsheet.ino rename to libraries/Bridge/examples/Temboo/SendDataToGoogleSpreadsheet/SendDataToGoogleSpreadsheet.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendDataToGoogleSpreadsheet/TembooAccount.h b/libraries/Bridge/examples/Temboo/SendDataToGoogleSpreadsheet/TembooAccount.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/SendDataToGoogleSpreadsheet/TembooAccount.h rename to libraries/Bridge/examples/Temboo/SendDataToGoogleSpreadsheet/TembooAccount.h diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/ToxicFacilitiesSearch/TembooAccount.h b/libraries/Bridge/examples/Temboo/ToxicFacilitiesSearch/TembooAccount.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/ToxicFacilitiesSearch/TembooAccount.h rename to libraries/Bridge/examples/Temboo/ToxicFacilitiesSearch/TembooAccount.h diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/ToxicFacilitiesSearch/ToxicFacilitiesSearch.ino b/libraries/Bridge/examples/Temboo/ToxicFacilitiesSearch/ToxicFacilitiesSearch.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/ToxicFacilitiesSearch/ToxicFacilitiesSearch.ino rename to libraries/Bridge/examples/Temboo/ToxicFacilitiesSearch/ToxicFacilitiesSearch.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/UpdateFacebookStatus/TembooAccount.h b/libraries/Bridge/examples/Temboo/UpdateFacebookStatus/TembooAccount.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/UpdateFacebookStatus/TembooAccount.h rename to libraries/Bridge/examples/Temboo/UpdateFacebookStatus/TembooAccount.h diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/UpdateFacebookStatus/UpdateFacebookStatus.ino b/libraries/Bridge/examples/Temboo/UpdateFacebookStatus/UpdateFacebookStatus.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/UpdateFacebookStatus/UpdateFacebookStatus.ino rename to libraries/Bridge/examples/Temboo/UpdateFacebookStatus/UpdateFacebookStatus.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/UploadToDropbox/TembooAccount.h b/libraries/Bridge/examples/Temboo/UploadToDropbox/TembooAccount.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/UploadToDropbox/TembooAccount.h rename to libraries/Bridge/examples/Temboo/UploadToDropbox/TembooAccount.h diff --git a/hardware/arduino/avr/libraries/Bridge/examples/Temboo/UploadToDropbox/UploadToDropbox.ino b/libraries/Bridge/examples/Temboo/UploadToDropbox/UploadToDropbox.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/Temboo/UploadToDropbox/UploadToDropbox.ino rename to libraries/Bridge/examples/Temboo/UploadToDropbox/UploadToDropbox.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/TemperatureWebPanel/TemperatureWebPanel.ino b/libraries/Bridge/examples/TemperatureWebPanel/TemperatureWebPanel.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/TemperatureWebPanel/TemperatureWebPanel.ino rename to libraries/Bridge/examples/TemperatureWebPanel/TemperatureWebPanel.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/TemperatureWebPanel/www/index.html b/libraries/Bridge/examples/TemperatureWebPanel/www/index.html similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/TemperatureWebPanel/www/index.html rename to libraries/Bridge/examples/TemperatureWebPanel/www/index.html diff --git a/hardware/arduino/avr/libraries/Bridge/examples/TemperatureWebPanel/www/zepto.min.js b/libraries/Bridge/examples/TemperatureWebPanel/www/zepto.min.js similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/TemperatureWebPanel/www/zepto.min.js rename to libraries/Bridge/examples/TemperatureWebPanel/www/zepto.min.js diff --git a/hardware/arduino/avr/libraries/Bridge/examples/TimeCheck/TimeCheck.ino b/libraries/Bridge/examples/TimeCheck/TimeCheck.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/TimeCheck/TimeCheck.ino rename to libraries/Bridge/examples/TimeCheck/TimeCheck.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/WiFiStatus/WiFiStatus.ino b/libraries/Bridge/examples/WiFiStatus/WiFiStatus.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/WiFiStatus/WiFiStatus.ino rename to libraries/Bridge/examples/WiFiStatus/WiFiStatus.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/XivelyClient/XivelyClient.ino b/libraries/Bridge/examples/XivelyClient/XivelyClient.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/XivelyClient/XivelyClient.ino rename to libraries/Bridge/examples/XivelyClient/XivelyClient.ino diff --git a/hardware/arduino/avr/libraries/Bridge/examples/YunSerialTerminal/YunSerialTerminal.ino b/libraries/Bridge/examples/YunSerialTerminal/YunSerialTerminal.ino similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/examples/YunSerialTerminal/YunSerialTerminal.ino rename to libraries/Bridge/examples/YunSerialTerminal/YunSerialTerminal.ino diff --git a/hardware/arduino/avr/libraries/Bridge/keywords.txt b/libraries/Bridge/keywords.txt similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/keywords.txt rename to libraries/Bridge/keywords.txt diff --git a/libraries/Bridge/library.properties b/libraries/Bridge/library.properties new file mode 100644 index 000000000..0a3a28f61 --- /dev/null +++ b/libraries/Bridge/library.properties @@ -0,0 +1,10 @@ +name=Bridge +author=Arduino +email=info@arduino.cc +sentence=The library to use the Arduino YUN. The Bridge library create a link between the 32U4 and the AR9331 enabling to control most of the linux features from the sketch. +paragraph=The Bridge library feature: access to the shared storage, run and manage linux processes, open a remote console, access to the linux file system, including the SD card, enstablish http clients or servers. +url=http://arduino.cc/en/Reference/YunBridgeLibrary +architectures=avr +version=1.0 +dependencies=none +core-dependencies=arduino (>1.5.4) diff --git a/hardware/arduino/avr/libraries/Bridge/Bridge.cpp b/libraries/Bridge/src/Bridge.cpp similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/Bridge.cpp rename to libraries/Bridge/src/Bridge.cpp diff --git a/hardware/arduino/avr/libraries/Bridge/Bridge.h b/libraries/Bridge/src/Bridge.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/Bridge.h rename to libraries/Bridge/src/Bridge.h diff --git a/hardware/arduino/avr/libraries/Bridge/Console.cpp b/libraries/Bridge/src/Console.cpp similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/Console.cpp rename to libraries/Bridge/src/Console.cpp diff --git a/hardware/arduino/avr/libraries/Bridge/Console.h b/libraries/Bridge/src/Console.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/Console.h rename to libraries/Bridge/src/Console.h diff --git a/hardware/arduino/avr/libraries/Bridge/FileIO.cpp b/libraries/Bridge/src/FileIO.cpp similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/FileIO.cpp rename to libraries/Bridge/src/FileIO.cpp diff --git a/hardware/arduino/avr/libraries/Bridge/FileIO.h b/libraries/Bridge/src/FileIO.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/FileIO.h rename to libraries/Bridge/src/FileIO.h diff --git a/hardware/arduino/avr/libraries/Bridge/HttpClient.cpp b/libraries/Bridge/src/HttpClient.cpp similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/HttpClient.cpp rename to libraries/Bridge/src/HttpClient.cpp diff --git a/hardware/arduino/avr/libraries/Bridge/HttpClient.h b/libraries/Bridge/src/HttpClient.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/HttpClient.h rename to libraries/Bridge/src/HttpClient.h diff --git a/hardware/arduino/avr/libraries/Bridge/Mailbox.cpp b/libraries/Bridge/src/Mailbox.cpp similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/Mailbox.cpp rename to libraries/Bridge/src/Mailbox.cpp diff --git a/hardware/arduino/avr/libraries/Bridge/Mailbox.h b/libraries/Bridge/src/Mailbox.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/Mailbox.h rename to libraries/Bridge/src/Mailbox.h diff --git a/hardware/arduino/avr/libraries/Bridge/Process.cpp b/libraries/Bridge/src/Process.cpp similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/Process.cpp rename to libraries/Bridge/src/Process.cpp diff --git a/hardware/arduino/avr/libraries/Bridge/Process.h b/libraries/Bridge/src/Process.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/Process.h rename to libraries/Bridge/src/Process.h diff --git a/hardware/arduino/avr/libraries/Bridge/YunClient.cpp b/libraries/Bridge/src/YunClient.cpp similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/YunClient.cpp rename to libraries/Bridge/src/YunClient.cpp diff --git a/hardware/arduino/avr/libraries/Bridge/YunClient.h b/libraries/Bridge/src/YunClient.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/YunClient.h rename to libraries/Bridge/src/YunClient.h diff --git a/hardware/arduino/avr/libraries/Bridge/YunServer.cpp b/libraries/Bridge/src/YunServer.cpp similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/YunServer.cpp rename to libraries/Bridge/src/YunServer.cpp diff --git a/hardware/arduino/avr/libraries/Bridge/YunServer.h b/libraries/Bridge/src/YunServer.h similarity index 100% rename from hardware/arduino/avr/libraries/Bridge/YunServer.h rename to libraries/Bridge/src/YunServer.h