From e22164e34d30c1f557f55d02bda65c2c85406e67 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Mon, 12 Jun 2017 13:55:43 +0200 Subject: [PATCH] make: add debug info for macros --- Makefile.boardloader | 2 +- Makefile.bootloader | 2 +- Makefile.firmware | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.boardloader b/Makefile.boardloader index 0f6f88fe6d..971e8ece82 100644 --- a/Makefile.boardloader +++ b/Makefile.boardloader @@ -106,7 +106,7 @@ INC += -I$(SRCDIR_MP)/lib/cmsis/inc INC += -I$(BUILD) ifeq ($(DEBUG), 1) -CFLAGS += -Os -ggdb +CFLAGS += -Os -g3 else CFLAGS += -Os -DNDEBUG endif diff --git a/Makefile.bootloader b/Makefile.bootloader index ec312e36a0..4a889ed20d 100644 --- a/Makefile.bootloader +++ b/Makefile.bootloader @@ -120,7 +120,7 @@ INC += -I$(SRCDIR_MP)/lib/cmsis/inc INC += -I$(BUILD) ifeq ($(DEBUG), 1) -CFLAGS += -Os -ggdb +CFLAGS += -Os -g3 else CFLAGS += -Os -DNDEBUG endif diff --git a/Makefile.firmware b/Makefile.firmware index fc981483d1..4d99314d31 100644 --- a/Makefile.firmware +++ b/Makefile.firmware @@ -363,7 +363,7 @@ INC += -I$(SRCDIR_MP)/lib/cmsis/inc INC += -I$(BUILD) ifeq ($(DEBUG), 1) -CFLAGS += -Os -ggdb +CFLAGS += -Os -g3 else CFLAGS += -Os -DNDEBUG endif