summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-03-08 18:36:34 -0500
committerGitHub <noreply@github.com>2017-03-08 18:36:34 -0500
commit97c4c570e23c896bc48b2e1b60fe5f0e5ea622b6 (patch)
tree3a169929d07bdb6cc91cd99cbb58487e7767a8ec
parent85121ec50e22fd8548796fb8b228a46f68a12506 (diff)
parenta9959783c0a190410307e3e6cc1be4c024e9cddd (diff)
Merge pull request #1140 from stites/freebsd
Add FreeBSD support in "util/install_dependencies.sh"
-rwxr-xr-xutil/install_dependencies.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/util/install_dependencies.sh b/util/install_dependencies.sh
index 936a865938..1b73a8b3bf 100755
--- a/util/install_dependencies.sh
+++ b/util/install_dependencies.sh
@@ -92,4 +92,23 @@ elif [[ -n "$(type -P zypper)" ]]; then
# TODO: The avr and eabi tools are not available as default packages, so we need
# another way to install them
+elif [[ -n "$(type -P pkg)" ]]; then
+ # FreeBSD
+ pkg update
+ pkg install -y \
+ git \
+ wget \
+ gmake \
+ gcc \
+ zip \
+ unzip \
+ avr-binutils \
+ avr-gcc \
+ avr-libc \
+ dfu-programmer \
+ dfu-util \
+ arm-none-eabi-gcc \
+ arm-none-eabi-binutils \
+ arm-none-eabi-newlib \
+ diffutils
fi