feat: try adding a debug menu

This commit is contained in:
2022-05-25 13:40:25 +00:00
parent d754515c78
commit 8980f61306
5 changed files with 161 additions and 0 deletions

View File

@ -301,6 +301,11 @@ else
$(C_BUILDDIR)/librfu_intr.o: CFLAGS := -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast
endif
ifeq ($(DDEBUG), 1)
override ASFLAGS += --defsym DEBUG=1
override CPPFLAGS += -D DEBUG=1
endif
ifeq ($(DINFO),1)
override CFLAGS += -g
endif