Initial Travis CI support.
All the Tiva demos and testhal applications are built except the LWIP demo.
This commit is contained in:
parent
97aaabeedd
commit
de1789b783
|
@ -0,0 +1,11 @@
|
||||||
|
language: c
|
||||||
|
|
||||||
|
sudo: required
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- chmod +x before_install.sh
|
||||||
|
- ./before_install.sh
|
||||||
|
|
||||||
|
script:
|
||||||
|
- chmod +x script.sh
|
||||||
|
- ./script.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 .
|
|
@ -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
|
Loading…
Reference in New Issue