summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2016-05-03 16:46:20 +0200
committerChristian Pointner <equinox@spreadspace.org>2016-05-03 16:46:20 +0200
commitfe8df867d38859f4d2a1b5b85c562c6ddaf5222b (patch)
tree5b80d151e0d4a8e0a074533d5ba5e00328d689cd
parentadded pjon example (not working yet) (diff)
add PJON source to contrib makefile
-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 $@