Pārlūkot izejas kodu

update armcc compiler options to support debug in Keil.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@122 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong 15 gadi atpakaļ
vecāks
revīzija
19c6eedc69
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      bsp/stm3210/rtconfig.py

+ 2 - 1
bsp/stm3210/rtconfig.py

@@ -62,7 +62,8 @@ elif PLATFORM == 'armcc':
     EXEC_PATH += '/arm/bin40/'
 
     if BUILD == 'debug':
-        CFLAGS += ' --dwarf2'
+        CFLAGS += ' -g -O0'
+        AFLAGS += ' -g'
     else:
         CFLAGS += ' -O2'