summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorBernhard Tittelbach <bernhard@tittelbach.org>2016-05-28 02:53:04 +0200
committerBernhard Tittelbach <bernhard@tittelbach.org>2016-05-28 02:53:04 +0200
commit9b0dc692177cdc6d8fa7aad4949e5e7a0abb6399 (patch)
treed2e596b2c51369f2f841baa60fa80cc2f04dd7f9 /contrib
parentadded serial arduino led example (diff)
bmp180 pressure sensor, just lacks arduino i2c-wire-lib and testing
Diffstat (limited to 'contrib')
-rw-r--r--contrib/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/contrib/Makefile b/contrib/Makefile
index c0e6137..be93ef2 100644
--- a/contrib/Makefile
+++ b/contrib/Makefile
@@ -4,6 +4,7 @@
##
## Copyright (C) 2013-2016 Christian Pointner <equinox@spreadspace.org>
## 2013-2014 Othmar Gsenger <otti@gsenger.com>
+## 2016 Bernhard Tittelbach <bernhard@tittelbach.org>
##
## This file is part of spreadspace avr utils.
##
@@ -23,8 +24,9 @@
LUFA_VERSION := 151115
FASTLED_VERSION := v3.1.0
+BMP180_VERSION := V_1.1.2
-all: download-lufa download-fastled update-pjon update-teensy-loader
+all: download-lufa download-fastled update-pjon update-teensy-loader download-bmp180
download-lufa: LUFA-${LUFA_VERSION}.zip
@@ -38,6 +40,12 @@ FastLED-${FASTLED_VERSION}.zip:
wget "https://github.com/FastLED/FastLED/archive/${FASTLED_VERSION}.zip" -O "$@"
unzip $@
+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 $@