Skip to content

Commit

Permalink
Build monitor.elf with -ggdb
Browse files Browse the repository at this point in the history
It's actually nice to have symbols when debugging over JTAG :-)
  • Loading branch information
neuschaefer committed Jan 15, 2024
1 parent 2056d33 commit 2e3e93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bare-metal/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CC := $(CROSS_COMPILE)gcc
LD := $(CROSS_COMPILE)ld
ASFLAGS :=
LOLCONV := ../../tools/lolconv
CFLAGS := -Os -fno-builtin -nostdlib -Wall -Wno-unused-function -Wno-main
CFLAGS := -Os -fno-builtin -nostdlib -Wall -Wno-unused-function -Wno-main -ggdb
LDFLAGS := -T monitor.ld

all: tlbtest.lol getuartdiv.lol monitor-flash.bin \
Expand Down

0 comments on commit 2e3e93d

Please sign in to comment.