From 87ee6a0b21df6a530324a6739513410ad6714e97 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Thu, 3 Oct 2024 08:11:47 +0200 Subject: [PATCH] chore: enable debugging --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f44d86b..cd69360 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ DEVICESRCS=$(wildcard $(DEVICEDIR)/*.c) SRCS=$(PROJSRCS) $(GENERALSRCS) $(DEVICESRCS) OBJS=$(patsubst %.c,obj/%.o,$(SRCS)) -CFLAGS=-I$(INCDIR) -I$(DEVICEDIR)/$(INCDIR) -mthumb -mcpu=$(CPU) -nostdlib +CFLAGS=-I$(INCDIR) -I$(DEVICEDIR)/$(INCDIR) -mthumb -mcpu=$(CPU) -nostdlib -g LDFLAGS=-T$(DEVICEDIR)/linker_script.ld -nostdlib CC=arm-none-eabi-gcc -- 2.48.1