mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
Travis: added navio target
This commit is contained in:
parent
3812773485
commit
9517bb3049
@ -31,6 +31,8 @@ for d in ArduCopter APMrover2 ArduPlane AntennaTracker; do
|
||||
make clean
|
||||
make px4-cleandep
|
||||
make px4-v2
|
||||
make clean
|
||||
make navio -j4
|
||||
popd
|
||||
done
|
||||
|
||||
|
@ -23,6 +23,10 @@ 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"
|
||||
|
||||
RPI_ROOT="master"
|
||||
RPI_TARBALL="$RPI_ROOT.tar.gz"
|
||||
RPI_TARBALL_URL="http://firmware.diydrones.com/Tools/Travis/NavIO/$RPI_TARBALL"
|
||||
|
||||
# Ardupilot Tools
|
||||
ARDUPILOT_TOOLS="ardupilot/Tools/autotest"
|
||||
|
||||
@ -77,13 +81,24 @@ wget $ARM_TARBALL_URL
|
||||
tar xjf ${ARM_TARBALL}
|
||||
rm -f ${ARM_TARBALL}
|
||||
|
||||
cd $OPT
|
||||
wget $RPI_TARBALL_URL
|
||||
tar xzf ${RPI_TARBALL}
|
||||
rm -f ${RPI_TARBALL}
|
||||
|
||||
exportline="export PATH=$OPT/$ARM_ROOT/bin:\$PATH";
|
||||
echo $exportline >> ~/.profile
|
||||
|
||||
exportline2="export PATH=$CWD/$ARDUPILOT_TOOLS:\$PATH";
|
||||
echo $exportline2 >> ~/.profile
|
||||
|
||||
exportline3="export PATH=$OPT/tools-master/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin:\$PATH";
|
||||
echo $exportline3 >> ~/.profile
|
||||
|
||||
. ~/.profile
|
||||
echo $PATH
|
||||
ls -l $OPT/$ARM_ROOT/bin
|
||||
$OPT/$ARM_ROOT/bin/arm-none-eabi-gcc --version
|
||||
|
||||
echo "Compiler for NavIO"
|
||||
arm-linux-gnueabihf-gcc --version
|
||||
|
Loading…
Reference in New Issue
Block a user