From 19c6eedc692a67024d81e13b8723a69b117d73ab Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Thu, 22 Oct 2009 23:53:35 +0000 Subject: [PATCH] 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 --- bsp/stm3210/rtconfig.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bsp/stm3210/rtconfig.py b/bsp/stm3210/rtconfig.py index c95b914475..ec3f289f02 100644 --- a/bsp/stm3210/rtconfig.py +++ b/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' -- GitLab