## ## spreadspace avr utils ## ## ## Copyright (C) 2013-2016 Christian Pointner ## 2013-2014 Othmar Gsenger ## 2016 Bernhard Tittelbach ## ## This file is part of spreadspace avr utils. ## ## spreadspace avr utils is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation, either version 3 of the License, or ## any later version. ## ## spreadspace avr utils is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with spreadspace avr utils. If not, see . ## LUFA_VERSION := 151115 FASTLED_VERSION := 3.1.0 BMP180_VERSION := V_1.1.2 all: download-lufa download-fastled update-pjon update-teensy-loader download-bmp180 download-lufa: LUFA-${LUFA_VERSION}.zip LUFA-${LUFA_VERSION}.zip: wget "http://www.github.com/abcminiuser/lufa/archive/$@" -O "$@" unzip $@ download-fastled: FastLED-v${FASTLED_VERSION}.zip FastLED-v${FASTLED_VERSION}.zip: wget "https://github.com/FastLED/FastLED/archive/v${FASTLED_VERSION}.zip" -O "$@" unzip $@ cd FastLED-${FASTLED_VERSION}; patch -p1 < ../fastled4minimus32.patch download-bmp180: BMP180-${BMP180_VERSION}.zip BMP180-${BMP180_VERSION}.zip: wget "https://github.com/sparkfun/BMP180_Breakout_Arduino_Library/archive/${BMP180_VERSION}.zip" -O "$@" unzip -j $@ -d BMP180-${BMP180_VERSION}/ \*/src/\* .pjon.prepared: git clone https://github.com/gioblu/PJON.git touch $@ update-pjon: .pjon.prepared cd PJON; git pull .teensy-loader.prepared: git clone https://github.com/PaulStoffregen/teensy_loader_cli.git touch $@ update-teensy-loader: .teensy-loader.prepared cd teensy_loader_cli; git pull; make