Debug refactoring
This commit is contained in:
4
Makefile
4
Makefile
@@ -55,6 +55,7 @@ ENABLE_FEAT_F4HWN_RESET_CHANNEL ?= 0
|
||||
ENABLE_FEAT_F4HWN_PMR ?= 0
|
||||
ENABLE_FEAT_F4HWN_GMRS_FRS_MURS ?= 0
|
||||
ENABLE_FEAT_F4HWN_CA ?= 1
|
||||
ENABLE_FEAT_F4HWN_DEBUG ?= 0
|
||||
ENABLE_REGA ?= 0
|
||||
|
||||
# ---- DEBUGGING ----
|
||||
@@ -470,6 +471,9 @@ endif
|
||||
ifeq ($(ENABLE_FEAT_F4HWN_CA),1)
|
||||
CFLAGS += -DENABLE_FEAT_F4HWN_CA
|
||||
endif
|
||||
ifeq ($(ENABLE_FEAT_F4HWN_DEBUG),1)
|
||||
CFLAGS += -DENABLE_FEAT_F4HWN_DEBUG
|
||||
endif
|
||||
|
||||
LDFLAGS =
|
||||
LDFLAGS += -z noexecstack -mcpu=cortex-m0 -nostartfiles -Wl,-T,firmware.ld -Wl,--gc-sections
|
||||
|
Reference in New Issue
Block a user