Browse Source

fixed scons + keil compiling error for lm4f232

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1864 bbd45198-f89e-11dd-88c7-29a3b14d5316
fengzi.rtt 13 years ago
parent
commit
a97a690e18
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bsp/lm4f232/rtconfig.py

+ 2 - 2
bsp/lm4f232/rtconfig.py

@@ -54,10 +54,10 @@ elif PLATFORM == 'armcc':
     LINK = 'armlink'
     TARGET_EXT = 'axf'
 
-    DEVICE = ' --device DARMSTM'
+    DEVICE = ' --device DLM'
     CFLAGS = DEVICE + ' --apcs=interwork'
     AFLAGS = DEVICE
-    LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread-stm32.map --scatter stm32_rom.sct'
+    LFLAGS = DEVICE + ' --ro-base 0x00000000 --entry 0x00000000 --rw-base 0x20000000 --entry Reset_Handler --first __Vectors --info sizes --info totals --info unused --info veneers --list rtthread-lm4f.map  '
 
     CFLAGS += ' -I' + EXEC_PATH + '/ARM/RV31/INC'
     LFLAGS += ' --libpath ' + EXEC_PATH + '/ARM/RV31/LIB'