Fixed debugging issue, now breakpoints work

This commit is contained in:
ajasts 2025-03-03 10:39:42 +02:00
parent d81227ddf0
commit d8c11c3841
3 changed files with 8 additions and 11 deletions

View File

@ -20,7 +20,6 @@ CFLAGS = -I.. -I../inc \
-mfpu=fpv4-sp-d16 \
-ffunction-sections \
-fdata-sections \
-g \
-gstrict-dwarf \
-Wall \
-I$(ARMGCC_ROOT)/arm-none-eabi/include/newlib-nano \
@ -43,7 +42,7 @@ LFLAGS = -Wl,-T,../config.lds \
all: $(NAME).out
main.o: main.c
@$(CC) $(CFLAGS) $< -c -o $@
@$(CC) $(CFLAGS) -g $< -c -o $@
system.o: ../system.c
@$(CC) $(CFLAGS) $< -c -o $@

View File

@ -20,7 +20,6 @@ CFLAGS = -I.. -I../inc -I../common \
-mfpu=fpv4-sp-d16 \
-ffunction-sections \
-fdata-sections \
-g \
-gstrict-dwarf \
-Wall \
-I$(ARMGCC_ROOT)/arm-none-eabi/include/newlib-nano \
@ -43,13 +42,13 @@ LFLAGS = -Wl,-T,../config.lds \
all: $(NAME).out
main.o: main.c
@$(CC) $(CFLAGS) $< -c -o $@
@$(CC) $(CFLAGS) -g $< -c -o $@
bump.o: ../common/bump.c
@$(CC) $(CFLAGS) $< -c -o $@
@$(CC) $(CFLAGS) -g $< -c -o $@
delay.o: ../common/delay.c
@$(CC) $(CFLAGS) $< -c -o $@
@$(CC) $(CFLAGS) -g $< -c -o $@
clock.o: ../common/clock.c
@$(CC) $(CFLAGS) $< -c -o $@

View File

@ -20,7 +20,6 @@ CFLAGS = -I.. -I../inc -I../common \
-mfpu=fpv4-sp-d16 \
-ffunction-sections \
-fdata-sections \
-g \
-gstrict-dwarf \
-Wall \
-I$(ARMGCC_ROOT)/arm-none-eabi/include/newlib-nano \
@ -43,19 +42,19 @@ LFLAGS = -Wl,-T,../config.lds \
all: $(NAME).out
main.o: main.c
@$(CC) $(CFLAGS) $< -c -o $@
@$(CC) $(CFLAGS) -g $< -c -o $@
bump.o: ../common/bump.c
@$(CC) $(CFLAGS) $< -c -o $@
@$(CC) $(CFLAGS) -g $< -c -o $@
delay.o: ../common/delay.c
@$(CC) $(CFLAGS) $< -c -o $@
@$(CC) $(CFLAGS) -g $< -c -o $@
clock.o: ../common/clock.c
@$(CC) $(CFLAGS) $< -c -o $@
reflectance.o: ../common/reflectance.c
@$(CC) $(CFLAGS) $< -c -o $@
@$(CC) $(CFLAGS) -g $< -c -o $@
cpu.o: ../common/cpu.c
@$(CC) $(CFLAGS) $< -c -o $@