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:
commit
2a9ce628e4
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user