[bsp] Fix MB9BF618S building issue.

This commit is contained in:
bernard 2014-07-21 07:28:44 +08:00
parent 318452796f
commit 2a269a8a2a

View File

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