diff --git a/Makefile b/Makefile index 6c526f3..3b8035d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ ########################################################################################################################## -# File automatically-generated by tool: [projectgenerator] version: [3.16.0] date: [Sat May 28 19:05:06 CEST 2022] +# File automatically-generated by tool: [projectgenerator] version: [3.16.0] date: [Sun May 29 02:01:26 CEST 2022] ########################################################################################################################## # ------------------------------------------------ diff --git a/STM32Make.make b/STM32Make.make index 3bef827..86cd004 100644 --- a/STM32Make.make +++ b/STM32Make.make @@ -154,7 +154,8 @@ CFLAGS = $(MCU) $(C_DEFS) $(C_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction- CXXFLAGS = $(MCU) $(CXX_DEFS) $(C_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections -feliminate-unused-debug-types ifeq ($(DEBUG), 1) -CFLAGS += -g -gdwarf-2 +CFLAGS += -g -gdwarf -ggdb +CXXFLAGS += -g -gdwarf -ggdb endif # Add additional flags @@ -242,6 +243,12 @@ erase: $(BUILD_DIR)/$(TARGET).elf ####################################### clean: -rm -fR $(BUILD_DIR) + +####################################### +# custom makefile rules +####################################### + + ####################################### # dependencies