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'