4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-31 13:20:26 +08:00

Merge pull request #1306 from TanekLiang/v2m-bsp

[bsp][v2m-mps2] fix "scons --target=mdk5" error
This commit is contained in:
Bernard Xiong 2018-03-22 08:43:28 +08:00 committed by GitHub
commit 2a9ce628e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)