summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--contrib/Makefile9
2 files changed, 10 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 38f44af..938432d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,8 @@ tools/reset_arduino
contrib/LUFA-*
contrib/lufa-LUFA-*
contrib/FastLED-*
+contrib/.pjon.prepared
+contrib/PJON
contrib/.teensy-loader.prepared
contrib/teensy_loader_cli
tuer-rfid/update-keys
diff --git a/contrib/Makefile b/contrib/Makefile
index c76db20..b250199 100644
--- a/contrib/Makefile
+++ b/contrib/Makefile
@@ -24,7 +24,7 @@
LUFA_VERSION := 151115
FASTLED_VERSION := v3.1.0
-all: download-lufa download-fastled update-teensy-loader
+all: download-lufa download-fastled update-pjon update-teensy-loader
download-lufa: LUFA-${LUFA_VERSION}.zip
@@ -38,6 +38,13 @@ FastLED-${FASTLED_VERSION}.zip:
wget "https://github.com/FastLED/FastLED/archive/${FASTLED_VERSION}.zip" -O "$@"
unzip $@
+.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 $@