aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorAron Griffis <aron@arongriffis.com>2016-06-07 12:41:55 -0400
committerJack Humbert <jack.humb@gmail.com>2016-06-07 12:41:55 -0400
commitfd454e5b74bc0a87effd755986ce33bf05b4d27c (patch)
tree85b87c39891403b12ac56dbd551ad8d4dc32dbb8 /util
parent6b8b332f77e6e7413d2ebb9d47093bc93255958e (diff)
downloadfirmware-fd454e5b74bc0a87effd755986ce33bf05b4d27c.tar.gz
firmware-fd454e5b74bc0a87effd755986ce33bf05b4d27c.tar.bz2
firmware-fd454e5b74bc0a87effd755986ce33bf05b4d27c.zip
Add support for vagrant-docker (#389)
* clean trailing ws in Vagrantfile and util/avr_setup.sh * replace triple quotes with heredoc. Ruby doesn't have triple quotes; that's a Python thing. This was just being parsed as multiple strings concatenated. * add docker support to Vagrantfile * make wants to find dfu-programmer in vagrant guest
Diffstat (limited to 'util')
-rw-r--r--util/avr_setup.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/avr_setup.sh b/util/avr_setup.sh
index 34a8a3281..916d0378b 100644
--- a/util/avr_setup.sh
+++ b/util/avr_setup.sh
@@ -38,8 +38,9 @@ elif [[ -n "$(type -P apt-get)" ]]; then
gcc-avr \
binutils-avr \
avr-libc \
+ dfu-programmer \
dfu-util
-
+
elif [[ -n "$(type -P yum)" ]]; then
# Fedora, CentOS or RHEL and derivatives
yum -y makecache && yum -y update
@@ -55,6 +56,7 @@ elif [[ -n "$(type -P yum)" ]]; then
avr-binutils \
avr-gcc \
avr-libc \
+ dfu-programmer \
dfu-util
elif [[ -n "$(type -P zypper)" ]]; then