diff options
author | Fabien Poussin <fabien.poussin@gmail.com> | 2017-04-23 01:52:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-23 01:52:07 +0200 |
commit | fa9b5ac5ae2f6df6b0b861547260fddde3b37830 (patch) | |
tree | 35e296b08ae1a0503e0b846a1ab8ca9926444ca7 /tools | |
parent | d72d463fee0c03931b2a462b687140935a582b44 (diff) | |
parent | 7f7665e8f207854a67026dd7865def9eafc9baea (diff) | |
download | ChibiOS-Contrib-fa9b5ac5ae2f6df6b0b861547260fddde3b37830.tar.gz ChibiOS-Contrib-fa9b5ac5ae2f6df6b0b861547260fddde3b37830.tar.bz2 ChibiOS-Contrib-fa9b5ac5ae2f6df6b0b861547260fddde3b37830.zip |
Merge pull request #115 from marcoveeneman/various_tiva_improvements
Various tiva improvements
Diffstat (limited to 'tools')
-rw-r--r-- | tools/travis/before_install.sh | 18 | ||||
-rw-r--r-- | tools/travis/script.sh | 42 |
2 files changed, 60 insertions, 0 deletions
diff --git a/tools/travis/before_install.sh b/tools/travis/before_install.sh new file mode 100644 index 0000000..0769759 --- /dev/null +++ b/tools/travis/before_install.sh @@ -0,0 +1,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 . diff --git a/tools/travis/script.sh b/tools/travis/script.sh new file mode 100644 index 0000000..457a38f --- /dev/null +++ b/tools/travis/script.sh @@ -0,0 +1,42 @@ +#!/bin/sh + +set -ex + +export PATH=/tmp/gcc-arm-none-eabi-4_9-2015q3/bin:$PATH + +git checkout -- . +git clean -xfd +make -C demos/TIVA/RT-TM4C123G-LAUNCHPAD + +git checkout -- . +git clean -xfd +make -C demos/TIVA/RT-TM4C1294-LAUNCHPAD + +# This demo needs LWIP, it is disabled for now. +# git checkout -- . +# git clean -xfd +# make -C demos/TIVA/RT-TM4C1294-LAUNCHPAD-LWIP + +git checkout -- . +git clean -xfd +make -C testhal/TIVA/TM4C123x/EXT/ + +git checkout -- . +git clean -xfd +make -C testhal/TIVA/TM4C123x/GPT + +git checkout -- . +git clean -xfd +make -C testhal/TIVA/TM4C123x/I2C + +git checkout -- . +git clean -xfd +make -C testhal/TIVA/TM4C123x/PWM + +git checkout -- . +git clean -xfd +make -C testhal/TIVA/TM4C123x/SPI + +git checkout -- . +git clean -xfd +make -C testhal/TIVA/TM4C123x/WDG |