Improved discovery Makefiles to throw away unsused symbols and make elf smaller.
This commit is contained in:
@@ -41,7 +41,7 @@ INCLUDES:=$(addprefix -I,$(INCLUDES))
|
||||
|
||||
|
||||
CPPFLAGS=-DUSE_USB_OTG_FS -DUSE_HOST_MODE $(INCLUDES)
|
||||
CFLAGS=$(ARCH_FLAGS) -O0 -g -std=c99
|
||||
CFLAGS=$(ARCH_FLAGS) -O0 -g -std=c99 -fdata-sections -ffunction-sections
|
||||
|
||||
|
||||
LIBS=pixy usbhost coreperiph stdc++
|
||||
|
||||
Reference in New Issue
Block a user