No description
Find a file
2015-07-30 17:00:25 -04:00
drivers Swap to win 8 driver for Flora. 2015-04-06 12:25:28 -07:00
hardware adds bluefruit micro variant 2015-07-30 16:17:34 -04:00
build_linux.sh Add scripts to automate platform builds. 2015-05-06 22:51:06 -07:00
build_macosx.sh Add scripts to automate platform builds. 2015-05-06 22:51:06 -07:00
build_package.sh adds bash script to build package for board manager 2015-07-30 17:00:25 -04:00
build_windows.sh Add scripts to automate platform builds. 2015-05-06 22:51:06 -07:00
README.md Add scripts to automate platform builds. 2015-05-06 22:51:06 -07:00

Adafruit Arduino Boards

Configuration and other support files to use Adafruit's boards like Trinket, Pro Trinket, Gemma, Flora, and more with the Arduino IDE. This is provided as a reference for modifying the Arduino IDE to support Adafruit's boards. If you just want to program one of Adafruit's boards you probably want one of the preconfigured Arduino IDEs that Adafruit provides--see the learn system guide for your board for more details!

These files are only compatible with the 1.6.x series of Arduino IDE and NOT the earlier 1.0.x series. Starting from a fresh Arduino 1.6.x IDE install navigate to the Arduino IDE folder and copy in files as follows:

  • hardware/adafruit: This hiearchy of files should be copied into the hardware folder.

  • hardware/tools/avr/etc/avrdude.conf: This is a customized avrdude.conf that should be copied directly over the hardware/tools/avr/etc/avrdude.conf file in the Arduino IDE. The modified configuration increases the delays when programming the ATtiny85 used in the Gemma and Trinket boards.

  • drivers: This folder contains USB drivers for Windows 8, 7, and XP. The USB drivers should be installed when a Flora board is connected to the computer.

NOTE: Arduino IDE version 1.6.2 has a bug with supporting external cores and DOES NOT work with these files. Use Arduino 1.6.3+, or an earlier version like 1.6.1.

Easy Install Scripts

Three shell scripts exist in the root that can simplify the creation of modified Arduino IDEs with Adafruit's boards. The scripts are build_linux.sh, build_windows.sh, and build_macosx.h and they require bash, tar, zip, and unzip (so they should really be run on Linux or OSX, however they have only been tested on Linux). Each script takes two parameters, the first it the name of an input file that should be the Arduino IDE download for that platform, and the second is the output file.

For example the IDE builds Adafruit publishes were built with commands like:

./build_linux.sh arduino-1.6.4-linux32.tar.xz adafruit-arduino-1.6.4-linux32.tar.xz

./build_linux.sh arduino-1.6.4-linux64.tar.xz adafruit-arduino-1.6.4-linux64.tar.xz

./build_windows.sh arduino-1.6.4-windows.zip adafruit-arduino-1.6.4-windows.zip

./build_macosx.sh arduino-1.6.4-macosx.zip adafruit-arduino-1.6.4-macosx.zip