2013-01-03 23:09:27 +08:00
|
|
|
language: c
|
|
|
|
|
2013-03-17 14:08:31 +08:00
|
|
|
notifications:
|
|
|
|
email: false
|
2013-01-03 23:09:27 +08:00
|
|
|
|
|
|
|
before_script:
|
2013-03-17 14:08:31 +08:00
|
|
|
# travis has changed to 64-bit and we require 32-bit compatibility libraries
|
|
|
|
- "sudo apt-get -qq install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 || true"
|
2013-03-17 20:44:57 +08:00
|
|
|
- "[ $RTT_TOOL_CHAIN = 'sourcery-arm' ] && curl -s https://sourcery.mentor.com/public/gnu_toolchain/arm-none-eabi/arm-2012.09-63-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 | sudo tar xjf - -C /opt && export RTT_EXEC_PATH=/opt/arm-2012.09/bin && /opt/arm-2012.09/bin/arm-none-eabi-gcc --version || true"
|
2013-03-17 21:26:03 +08:00
|
|
|
- "[ $RTT_TOOL_CHAIN = 'sourcery-mips' ] && curl -s https://sourcery.mentor.com/public/gnu_toolchain/mips-sde-elf/mips-2012.09-98-mips-sde-elf-i686-pc-linux-gnu.tar.bz2 | sudo tar xjf - -C /opt && export RTT_EXEC_PATH=/opt/mips-2012.09/bin && /opt/mips-2012.09/bin/mips-sde-elf-gcc --version || true"
|
2013-01-03 23:09:27 +08:00
|
|
|
- export RTT_ROOT=`pwd`
|
2013-01-20 21:51:20 +08:00
|
|
|
- export RTT_CC='gcc'
|
2013-01-03 23:09:27 +08:00
|
|
|
|
|
|
|
script:
|
2013-02-02 19:20:16 +08:00
|
|
|
- scons -C bsp/$RTT_BSP
|
2013-01-03 23:09:27 +08:00
|
|
|
|
|
|
|
env:
|
2013-02-02 18:14:36 +08:00
|
|
|
- RTT_BSP='at91sam9260' RTT_TOOL_CHAIN='sourcery-arm'
|
2013-03-17 21:26:03 +08:00
|
|
|
# - RTT_BSP='avr32uc3b0' # avr
|
|
|
|
# - RTT_BSP='bf533' # no scons
|
|
|
|
- RTT_BSP='dev3210' RTT_TOOL_CHAIN='sourcery-mips'
|
2013-02-02 18:14:36 +08:00
|
|
|
- RTT_BSP='efm32' RTT_TOOL_CHAIN='sourcery-arm'
|
2013-03-17 21:26:03 +08:00
|
|
|
- RTT_BSP='jz47xx' RTT_TOOL_CHAIN='sourcery-mips'
|
2013-02-02 19:12:23 +08:00
|
|
|
- RTT_BSP='lm3s8962' RTT_TOOL_CHAIN='sourcery-arm'
|
|
|
|
- RTT_BSP='lm3s9b9x' RTT_TOOL_CHAIN='sourcery-arm'
|
|
|
|
- RTT_BSP='lm4f232' RTT_TOOL_CHAIN='sourcery-arm'
|
2013-02-02 19:20:16 +08:00
|
|
|
# - RTT_BSP='lpc1114' # no scons
|
|
|
|
# - RTT_BSP='lpc122x' # no scons
|
2013-02-02 19:12:23 +08:00
|
|
|
- RTT_BSP='lpc176x' RTT_TOOL_CHAIN='sourcery-arm'
|
|
|
|
- RTT_BSP='lpc178x' RTT_TOOL_CHAIN='sourcery-arm'
|
|
|
|
- RTT_BSP='lpc2148' RTT_TOOL_CHAIN='sourcery-arm'
|
|
|
|
- RTT_BSP='lpc2478' RTT_TOOL_CHAIN='sourcery-arm'
|
2013-03-17 21:26:03 +08:00
|
|
|
- RTT_BSP='ls1bdev' RTT_TOOL_CHAIN='sourcery-mips'
|
|
|
|
# - RTT_BSP='m16c62p' # m32c
|
2013-02-02 19:12:23 +08:00
|
|
|
- RTT_BSP='mb9bf500r' RTT_TOOL_CHAIN='sourcery-arm'
|
|
|
|
- RTT_BSP='mb9bf506r' RTT_TOOL_CHAIN='sourcery-arm'
|
2013-03-17 21:26:03 +08:00
|
|
|
# - RTT_BSP='microblaze' # no scons
|
2013-02-02 19:12:23 +08:00
|
|
|
- RTT_BSP='mini2440' RTT_TOOL_CHAIN='sourcery-arm'
|
2013-02-02 19:20:16 +08:00
|
|
|
# - RTT_BSP='mini4020' # no scons
|
2013-03-17 21:26:03 +08:00
|
|
|
# - RTT_BSP='nios_ii' # no scons
|
|
|
|
# - RTT_BSP='nuc140' # no scons
|
|
|
|
# - RTT_BSP='pic32ethernet' # no scons
|
2013-02-02 19:20:16 +08:00
|
|
|
# - RTT_BSP='sam7s' # no scons
|
|
|
|
- RTT_BSP='sam7x' RTT_TOOL_CHAIN='sourcery-arm'
|
2013-03-17 21:26:03 +08:00
|
|
|
# - RTT_BSP='simlinux' # linux
|
2013-02-02 19:20:16 +08:00
|
|
|
# - RTT_BSP='simulator' # x86
|
2013-02-02 19:12:23 +08:00
|
|
|
- RTT_BSP='stm32f0x' RTT_TOOL_CHAIN='sourcery-arm'
|
|
|
|
- RTT_BSP='stm32f107' RTT_TOOL_CHAIN='sourcery-arm'
|
|
|
|
- RTT_BSP='stm32f10x' RTT_TOOL_CHAIN='sourcery-arm'
|
|
|
|
- RTT_BSP='stm32f20x' RTT_TOOL_CHAIN='sourcery-arm'
|
|
|
|
- RTT_BSP='stm32f40x' RTT_TOOL_CHAIN='sourcery-arm'
|
2013-03-17 21:26:03 +08:00
|
|
|
# - RTT_BSP='taihu' # ppc
|
|
|
|
# - RTT_BSP='upd70f3454' # iar
|
|
|
|
# - RTT_BSP='wh44b0' # no scons
|
2013-02-02 19:20:16 +08:00
|
|
|
# - RTT_BSP='x86' # x86
|
2013-03-17 21:26:03 +08:00
|
|
|
# - RTT_BSP='xplorer4330' # no scons
|