## ## 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 PJON_VERSION := 3.0 VUSB_VERSION := 20121206 RADIOHEAD_VERSION := 1.89 all: download-lufa download-fastled download-pjon download-vusb download-radiohead clone-rweather-crypto clone-teensy-loader clone-micronucleus update-all: update-rweather-crypto update-teensy-loader update-micronucleus download-lufa: LUFA-${LUFA_VERSION}.zip LUFA-${LUFA_VERSION}.zip: wget "http://www.github.com/abcminiuser/lufa/archive/$@" -O "$@" unzip $@ download-fastled: FastLED-${FASTLED_VERSION}.zip FastLED-${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-pjon: PJON-${PJON_VERSION}.zip PJON-${PJON_VERSION}.zip: wget "https://github.com/gioblu/PJON/archive/${PJON_VERSION}.zip" -O "$@" unzip $@ download-vusb: vusb-${VUSB_VERSION}.zip vusb-${VUSB_VERSION}.zip: wget "https://www.obdev.at/downloads/vusb/vusb-${VUSB_VERSION}.zip" -O "$@" unzip $@ download-radiohead: RadioHead-${RADIOHEAD_VERSION}.zip RadioHead-${RADIOHEAD_VERSION}.zip: wget "http://www.airspayce.com/mikem/arduino/RadioHead/$@" -O "$@" unzip $@ cd RadioHead; patch -p1 < ../radiohead.patch .rweather-crypto.prepared: git clone https://github.com/rweather/arduinolibs.git rweather-crypto touch $@ clone-rweather-crypto: .rweather-crypto.prepared update-rweather-crypto: .rweather-crypto.prepared cd rweather-crypto; git pull .teensy-loader.prepared: git clone https://github.com/PaulStoffregen/teensy_loader_cli.git touch $@ clone-teensy-loader: .teensy-loader.prepared update-teensy-loader: .teensy-loader.prepared cd teensy_loader_cli; git pull; make .micronucleus.prepared: git clone https://github.com/micronucleus/micronucleus/ touch $@ clone-micronucleus: .micronucleus.prepared update-micronucleus: .micronucleus.prepared cd micronucleus/commandline; git pull; make