From 9b9665153e9f16012c555630cdc32e643da239a8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 8 Jan 2015 13:21:13 +1100 Subject: [PATCH] Travis: update to latest prereqs script from master --- Tools/scripts/install-prereqs-ubuntu.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Tools/scripts/install-prereqs-ubuntu.sh b/Tools/scripts/install-prereqs-ubuntu.sh index b5a319b386..3517a6a7cf 100755 --- a/Tools/scripts/install-prereqs-ubuntu.sh +++ b/Tools/scripts/install-prereqs-ubuntu.sh @@ -6,6 +6,7 @@ OPT="/opt" BASE_PKGS="gawk make git arduino-core curl" SITL_PKGS="g++ python-pip python-matplotlib python-serial python-wxgtk2.8 python-scipy python-opencv python-numpy python-pyparsing ccache" +AVR_PKGS="gcc-avr binutils-avr avr-libc" PYTHON_PKGS="pymavlink MAVProxy droneapi" PX4_PKGS="python-serial python-argparse openocd flex bison libncurses5-dev \ autoconf texinfo build-essential libftdi-dev libtool zlib1g-dev \ @@ -15,9 +16,9 @@ ASSUME_YES=false # GNU Tools for ARM Embedded Processors # (see https://launchpad.net/gcc-arm-embedded/) -ARM_ROOT="gcc-arm-none-eabi-4_8-2013q4" -ARM_TARBALL="$ARM_ROOT-20131204-linux.tar.bz2" -ARM_TARBALL_URL="https://launchpad.net/gcc-arm-embedded/4.8/4.8-2013-q4-major/+download/$ARM_TARBALL" +ARM_ROOT="gcc-arm-none-eabi-4_7-2014q2" +ARM_TARBALL="$ARM_ROOT-20140408-linux.tar.bz2" +ARM_TARBALL_URL="http://firmware.diydrones.com/Tools/PX4-tools/$ARM_TARBALL" # Ardupilot Tools ARDUPILOT_TOOLS="ardupilot/Tools/autotest" @@ -57,7 +58,7 @@ sudo usermod -a -G dialout $USER $APT_GET remove modemmanager $APT_GET update -$APT_GET install $BASE_PKGS $SITL_PKGS $PX4_PKGS $UBUNTU64_PKGS +$APT_GET install $BASE_PKGS $SITL_PKGS $PX4_PKGS $UBUNTU64_PKGS $AVR_PKGS sudo pip -q install $PYTHON_PKGS @@ -69,6 +70,10 @@ if [ ! -d PX4NuttX ]; then git clone https://github.com/diydrones/PX4NuttX.git fi +if [ ! -d uavcan ]; then + git clone https://github.com/diydrones/uavcan.git +fi + if [ ! -d VRNuttX ]; then git clone https://github.com/virtualrobotix/vrbrain_nuttx.git VRNuttX fi