## ## 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 all: download-lufa download-fastled download-pjon 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 $@ .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 .micronucleus.prepared: git clone https://github.com/micronucleus/micronucleus/ touch $@ update-micronucleus: .micronucleus.prepared cd micronucleus/commandline; git pull; make