fix keil armcc compiling report "Error: expected an expression"

This commit is contained in:
zhoujie 2015-12-10 21:47:53 +08:00
parent d2aee25391
commit fc2467a190
3 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,7 @@ elif PLATFORM == 'armcc':
AFLAGS = DEVICE
LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread-stm32.map --scatter stm32_rom.sct'
CFLAGS += ' --c99'
CFLAGS += ' -I' + EXEC_PATH + '/ARM/RV31/INC'
LFLAGS += ' --libpath ' + EXEC_PATH + '/ARM/RV31/LIB'

View File

@ -347,6 +347,7 @@
<wLevel>0</wLevel>
<uThumb>0</uThumb>
<uSurpInc>0</uSurpInc>
<uC99>1</uC99>
<VariousControls>
<MiscControls></MiscControls>
<Define></Define>

View File

@ -350,6 +350,7 @@
<wLevel>0</wLevel>
<uThumb>0</uThumb>
<uSurpInc>0</uSurpInc>
<uC99>1</uC99>
<VariousControls>
<MiscControls></MiscControls>
<Define></Define>