[bsp] Fix MB9BF618S building issue.

This commit is contained in:
bernard 2014-07-21 07:28:44 +08:00
parent 318452796f
commit 2a269a8a2a
1 changed files with 6 additions and 1 deletions

View File

@ -1,8 +1,13 @@
import os
# toolchains options
ARCH='arm'
CPU='cortex-m3'
CROSS_TOOL='keil'
if os.getenv('RTT_CC'):
CROSS_TOOL = os.getenv('RTT_CC')
#device options
# FM3_TYPE =
# 'MB9B610S','MB9B610T',
@ -110,7 +115,7 @@ elif PLATFORM == 'iar':
AFLAGS += ' --fpu None'
AFLAGS += ' -I"' + IAR_PATH + '/arm/INC"'
LFLAGS = ' --config mb9bf506.icf'
LFLAGS = ' --config rtthread-fm3.icf'
LFLAGS += ' --semihosting'
LFLAGS += ' --entry __iar_program_start'