From 9b3b6989fa96e159893f3acbcd0edb0daac041fa Mon Sep 17 00:00:00 2001 From: liang yongxiang Date: Wed, 21 Mar 2018 10:08:03 +0800 Subject: [PATCH] [bsp][v2m-mps2] fix "scons --target=mdk5" error --- bsp/v2m-mps2/rtconfig.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bsp/v2m-mps2/rtconfig.py b/bsp/v2m-mps2/rtconfig.py index b63ea11a91..fd76abcf42 100644 --- a/bsp/v2m-mps2/rtconfig.py +++ b/bsp/v2m-mps2/rtconfig.py @@ -5,9 +5,6 @@ ARCH='arm' CPU='cortex-m7' CROSS_TOOL='keil' -if os.getenv('RTT_CC'): - CROSS_TOOL = os.getenv('RTT_CC') - if CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = 'C:/Keil_v5' @@ -48,7 +45,6 @@ if PLATFORM == 'armcc': CFLAGS += ' --c99' POST_ACTION = 'fromelf -z $TARGET' - # POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' else: print("only support armcc in this bsp") exit(-1)