debug option in Makefile separated

This commit is contained in:
Wolfgang Hottgenroth 2024-03-15 23:27:10 +01:00
parent 7e4285f280
commit e0aae175b0
Signed by: wn
GPG Key ID: B76E53073EE19643

View File

@ -4,7 +4,8 @@ OBJDUMP=$(TOOLCHAIN_PREFIX)/bin/msp430-elf-objdump
MCU=msp430g2553 MCU=msp430g2553
ARTIFACT=firmware ARTIFACT=firmware
COMMON=-Wall -mmcu=$(MCU) -std=gnu99 -I $(TOOLCHAIN_PREFIX)/include -Os -g0 -fdata-sections -ffunction-sections -ggdb -gdwarf-2 COMMON=-Wall -mmcu=$(MCU) -std=gnu99 -I $(TOOLCHAIN_PREFIX)/include -Os -g0 -fdata-sections -ffunction-sections
#COMMON+= -ggdb -gdwarf-2 # debug
CFLAGS=$(COMMON) CFLAGS=$(COMMON)
ASFLAGS=$(COMMON) -D__ASSEMBLER__ ASFLAGS=$(COMMON) -D__ASSEMBLER__