X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/e009aafe2505212d5a58e9bd4f741d86a049260b..0210fa5648b1ed65caa384f966ac40b4ecc489ae:/LUFA/CodeTemplates/makefile_template.uc3 diff --git a/LUFA/CodeTemplates/makefile_template.uc3 b/LUFA/CodeTemplates/makefile_template.uc3 index 6ac2e8b05..e56cb324a 100644 --- a/LUFA/CodeTemplates/makefile_template.uc3 +++ b/LUFA/CodeTemplates/makefile_template.uc3 @@ -76,7 +76,7 @@ F_CPU = ### INSERT PRESCALED SYSTEM CLOCK SPEED HERE, IN HZ ### # clock rate. # # For the UC3 chips, this should be equal to 48MHz or 96MHz. -F_USB = 48000000 +F_USB = ### INSERT CLOCK TO USB MODULE HERE, IN HZ ### # Output format. (can be srec, ihex, binary) @@ -132,10 +132,6 @@ ASRC = OPT = s -# Debugging level. -DEBUG = 3 - - # List any extra directories to look for include files here. # Each directory must be seperated by a space. # Use forward slashes for directory separators. @@ -174,6 +170,9 @@ CPPDEFS += -DARCH=ARCH_$(ARCH) CPPDEFS += $(LUFA_OPTS) +# Debugging level. +DEBUG = 3 + #---------------- Compiler Options C ---------------- # -g*: generate debugging information @@ -237,9 +236,7 @@ ASFLAGS = $(ADEFS) -Wa,-adhlns=$(<:%.S=$(OBJDIR)/%.lst),-gstabs,--listing-cont-l # -Map: create map file # --cref: add cross reference to map file LDFLAGS = -Wl,-Map=$(TARGET).map,--cref -LDFLAGS += -Wl,--relax -LDFLAGS += -Wl,--gc-sections -LDFLAGS += -Wl,--rodata-writable +LDFLAGS += -Wl,--gc-sections --rodata-writable LDFLAGS += -Wl,--direct-data #LDFLAGS += -T linker_script.x