aboutsummaryrefslogtreecommitdiffstats
path: root/tools/travis/before_install.sh
blob: 0769759ea5f26af239c871b397841f134fe83fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -ex

cd /tmp

sudo apt-get install lib32z1
wget https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q3-update/+download/gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2
tar xjf gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2
export PATH=/tmp/gcc-arm-none-eabi-4_9-2015q3/bin:$PATH
arm-none-eabi-gcc --version

cd -
cd ..

mkdir ChibiOS-RT
cd ChibiOS-RT
git clone https://github.com/ChibiOS/ChibiOS.git .