diff options
| author | aozima <[email protected]> | 2018-12-01 00:29:36 +0800 |
|---|---|---|
| committer | aozima <[email protected]> | 2018-12-03 20:00:20 +0800 |
| commit | 30538a9478340c5e9ee86ed8f411b07d88cbf050 (patch) | |
| tree | 720cf8b791f1f118e479e399c1e0a33724c6c040 /bsp/CME_M7/rtconfig.py | |
| parent | 808bc757f125d877d623c962d32e7caafece59a8 (diff) | |
[bsp][CME_M7] update scons config: update MDK support.
Diffstat (limited to 'bsp/CME_M7/rtconfig.py')
| -rw-r--r-- | bsp/CME_M7/rtconfig.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/bsp/CME_M7/rtconfig.py b/bsp/CME_M7/rtconfig.py index 7c3c35241a..650d4bb7f8 100644 --- a/bsp/CME_M7/rtconfig.py +++ b/bsp/CME_M7/rtconfig.py @@ -66,15 +66,14 @@ elif PLATFORM == 'armcc': LINK = 'armlink' TARGET_EXT = 'axf' - DEVICE = ' --cortex-m3' + DEVICE = ' --cpu Cortex-M3' CFLAGS = DEVICE + ' --c99 --apcs=interwork' AFLAGS = DEVICE - LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread.map --scatter nuc472_flash.sct' + LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread.map --scatter CME_M7.sct' - CFLAGS += ' -I' + EXEC_PATH + '/ARM/RV31/INC' - LFLAGS += ' --libpath ' + EXEC_PATH + '/ARM/RV31/LIB' + LFLAGS += ' --keep *.o(.rti_fn.*) --keep *.o(FSymTab) --keep *.o(VSymTab)' - EXEC_PATH += '/arm/bin40/' + EXEC_PATH += '/ARM/ARMCC/bin' if BUILD == 'debug': CFLAGS += ' -g -O0' |
