diff --git a/bsp/stm3210/rtconfig.py b/bsp/stm3210/rtconfig.py index c95b9144751d2493bca6de41501d12a11c5802d1..ec3f289f02b8ce3a3cac3d8e1413ee325033a6ad 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'