projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure that only the requested Audio class pipes are mapped to endpoints within the...
[pub/lufa.git]
/
LUFA
/
CodeTemplates
/
makefile_template.uc3
diff --git
a/LUFA/CodeTemplates/makefile_template.uc3
b/LUFA/CodeTemplates/makefile_template.uc3
index
6ac2e8b
..
e56cb32
100644
(file)
--- 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.
\r
#
\r
# For the UC3 chips, this should be equal to 48MHz or 96MHz.
\r
# clock rate.
\r
#
\r
# For the UC3 chips, this should be equal to 48MHz or 96MHz.
\r
-F_USB =
48000000
\r
+F_USB =
### INSERT CLOCK TO USB MODULE HERE, IN HZ ###
\r
\r
\r
# Output format. (can be srec, ihex, binary)
\r
\r
\r
# Output format. (can be srec, ihex, binary)
\r
@@
-132,10
+132,6
@@
ASRC =
OPT = s
\r
\r
\r
OPT = s
\r
\r
\r
-# Debugging level.
\r
-DEBUG = 3
\r
-
\r
-
\r
# List any extra directories to look for include files here.
\r
# Each directory must be seperated by a space.
\r
# Use forward slashes for directory separators.
\r
# List any extra directories to look for include files here.
\r
# Each directory must be seperated by a space.
\r
# Use forward slashes for directory separators.
\r
@@
-174,6
+170,9
@@
CPPDEFS += -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
\r
\r
\r
CPPDEFS += $(LUFA_OPTS)
\r
\r
\r
+# Debugging level.
\r
+DEBUG = 3
\r
+
\r
\r
#---------------- Compiler Options C ----------------
\r
# -g*: generate debugging information
\r
\r
#---------------- Compiler Options C ----------------
\r
# -g*: generate debugging information
\r
@@
-237,9
+236,7
@@
ASFLAGS = $(ADEFS) -Wa,-adhlns=$(<:%.S=$(OBJDIR)/%.lst),-gstabs,--listing-cont-l
# -Map: create map file
\r
# --cref: add cross reference to map file
\r
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
\r
# -Map: create map file
\r
# --cref: add cross reference to map file
\r
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
\r
-LDFLAGS += -Wl,--relax
\r
-LDFLAGS += -Wl,--gc-sections
\r
-LDFLAGS += -Wl,--rodata-writable
\r
+LDFLAGS += -Wl,--gc-sections --rodata-writable
\r
LDFLAGS += -Wl,--direct-data
\r
#LDFLAGS += -T linker_script.x
\r
\r
LDFLAGS += -Wl,--direct-data
\r
#LDFLAGS += -T linker_script.x
\r
\r