# calculate timings. Do NOT tack on a 'UL' at the end, this will be done\r
# automatically to create a 32-bit value in your source code.\r
#\r
-# This will be an integer division of F_CLOCK below, as it is sourced by\r
-# F_CLOCK after it has run through any CPU prescalers. Note that this value\r
+# This will be an integer division of F_USB below, as it is sourced by\r
+# F_USB after it has run through any CPU prescalers. Note that this value\r
# does not *change* the processor frequency - it should merely be updated to\r
# reflect the processor speed set externally so that the code can use accurate\r
# software delays.\r
\r
\r
# Input clock frequency.\r
-# This will define a symbol, F_CLOCK, in all source code files equal to the\r
+# This will define a symbol, F_USB, in all source code files equal to the\r
# input clock frequency (before any prescaling is performed) in Hz. This value may\r
# differ from F_CPU if prescaling is used on the latter, and is required as the\r
# raw input clock is fed directly to the PLL sections of the AVR for high speed\r
#\r
# If no clock division is performed on the input clock inside the AVR (via the\r
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.\r
-F_CLOCK = $(F_CPU)\r
+F_USB = $(F_CPU)\r
\r
\r
# Output format. (can be srec, ihex, binary)\r
\r
# Place -D or -U options here for C sources\r
CDEFS = -DF_CPU=$(F_CPU)UL\r
-CDEFS += -DF_CLOCK=$(F_CLOCK)UL\r
+CDEFS += -DF_USB=$(F_USB)UL\r
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)\r
CDEFS += $(LUFA_OPTS)\r
\r
\r
# Place -D or -U options here for ASM sources\r
ADEFS = -DF_CPU=$(F_CPU)\r
-ADEFS += -DF_CLOCK=$(F_CLOCK)UL\r
+ADEFS += -DF_USB=$(F_USB)UL\r
ADEFS += -DBOARD=BOARD_$(BOARD)\r
ADEFS += $(LUFA_OPTS)\r
\r
# Place -D or -U options here for C++ sources\r
CPPDEFS = -DF_CPU=$(F_CPU)UL\r
-CPPDEFS += -DF_CLOCK=$(F_CLOCK)UL\r
+CPPDEFS += -DF_USB=$(F_USB)UL\r
CPPDEFS += -DBOARD=BOARD_$(BOARD)\r
CPPDEFS += $(LUFA_OPTS)\r
#CPPDEFS += -D__STDC_LIMIT_MACROS\r