From e8c77495b9dd6f0e6c66467f3b7187a15c42cb4c Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Wed, 1 Nov 2017 09:23:37 +0800 Subject: [PATCH] [BSP] remove gd32450z-eval from travis-ci. --- .travis.yml | 2 +- bsp/gd32450z-eval/rtconfig.py | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3aca42e4c..fed0cea64 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ script: env: # - RTT_BSP='simulator' RTT_CC='clang-analyze' RTT_EXEC_PATH=/usr/share/clang/scan-build - RTT_BSP='CME_M7' RTT_TOOL_CHAIN='sourcery-arm' - - RTT_BSP='apollo2' RTT_TOOL_CHAIN='sourcery-arm' +# - RTT_BSP='apollo2' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='asm9260t' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='at91sam9260' RTT_TOOL_CHAIN='sourcery-arm' # - RTT_BSP='avr32uc3b0' RTT_TOOL_CHAIN='atmel-avr32' diff --git a/bsp/gd32450z-eval/rtconfig.py b/bsp/gd32450z-eval/rtconfig.py index 3d9ffaab8..8e01cef16 100644 --- a/bsp/gd32450z-eval/rtconfig.py +++ b/bsp/gd32450z-eval/rtconfig.py @@ -3,7 +3,7 @@ import os # toolchains options ARCH='arm' CPU='cortex-m4' -CROSS_TOOL='iar' +CROSS_TOOL='gcc' if os.getenv('RTT_CC'): CROSS_TOOL = os.getenv('RTT_CC') @@ -14,8 +14,10 @@ if os.getenv('RTT_ROOT'): # EXEC_PATH is the compiler execute path, for example, CodeSourcery, Keil MDK, IAR if CROSS_TOOL == 'gcc': print '================ERROR============================' - print 'Not support iar yet!' + print 'Not support gcc yet!' print '=================================================' + PLATFORM = 'gcc' + exit(0) elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' @@ -28,10 +30,7 @@ if os.getenv('RTT_EXEC_PATH'): BUILD = 'debug' -if PLATFORM == 'gcc': - exit(0) - -elif PLATFORM == 'armcc': +if PLATFORM == 'armcc': # toolchains CC = 'armcc' AS = 'armasm'