-
Notifications
You must be signed in to change notification settings - Fork 29
Installing panStamp cores and libraries for Arduino
- Introduction
- Installing the board cores
- Installing the libraries
- Installing the basic sample sketches
Starting from version 1.6.4 of Arduino, third-party boards can be installed from the Boards Manager. This is a fantastic features since panStamp and other vendors can maintain their own servers and ask the Arduino IDE to download the board cores from there.
Firstly, we have to tell the IDE where the panStamp installable files are located. Open the Files->Preferences menu and enter the following URL into "Additional Boards Manager URL's":
http://panstamp.org/arduino/package_panstamp_index.json
In case you want to enter multiple URL's you can separate them by commas. Close the menu by pressing "OK" and then open the Tools->Board menu.
Click on "Boards Manager" and scroll down the window until you find the board that you want to install. Depending on the model of your target boards you will want to install "panStamp NRG" or "panStamp AVR".
Once installed you will see the boards listed in Tools->Board.
You need to know that this procedure no longer installs the core files in the Arduino application folder. Instead, core files are saved into the Arduino15 folder. According to Arduino's Boards Manager FAQ:
- On GNU/Linuxes: ~/.arduino15/packages/
- On Windows: %APPDATA%\Arduino15\packages\
- On MacOSXes: ~/Library/Arduino15/packages/
Arduino libraries are installed differently. We provide a list of libraries, necessary to build some of our sample applications:
Other libraries from other vendors such as Sparkfun or Adafruit are also needed to build some of our sample applications. You will find the library dependencies of each sketch at the top comments of the main .ino file.
In order to install a library, open the Library Manager from Sketch->Include Library->Manage libraries, then select the library from the list and finally press "Install".
Sample sketches for panStamp need to be downloaded apart. They can be downloaded from their repository.
Note than SWAP applications are not contained in this package. Instead, the SWAP reference sketches are located in the "examples" folder of the SWAP library.