projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c7f4752
)
F_CLOCK changed to F_USB to be more descriptive, and applicable on future architectur...
author
Dean Camera
<dean@fourwalledcubicle.com>
Mon, 21 Mar 2011 10:20:42 +0000
(10:20 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Mon, 21 Mar 2011 10:20:42 +0000
(10:20 +0000)
77 files changed:
Bootloaders/CDC/makefile
patch
|
blob
|
blame
|
history
Bootloaders/DFU/makefile
patch
|
blob
|
blame
|
history
Bootloaders/HID/makefile
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/AudioInput/makefile
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/AudioOutput/makefile
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/DualVirtualSerial/makefile
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/GenericHID/makefile
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/Joystick/makefile
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/Keyboard/makefile
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/KeyboardMouse/makefile
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/MIDI/makefile
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/MassStorage/makefile
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/MassStorageKeyboard/makefile
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/Mouse/makefile
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/RNDISEthernet/makefile
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/VirtualSerial/makefile
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/VirtualSerialMouse/makefile
patch
|
blob
|
blame
|
history
Demos/Device/Incomplete/Sideshow/makefile
patch
|
blob
|
blame
|
history
Demos/Device/Incomplete/TestAndMeasurement/makefile
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/AudioInput/makefile
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/AudioOutput/makefile
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/DualVirtualSerial/makefile
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/GenericHID/makefile
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/Joystick/makefile
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/Keyboard/makefile
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/KeyboardMouse/makefile
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/MIDI/makefile
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/MassStorage/makefile
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/Mouse/makefile
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/RNDISEthernet/makefile
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/VirtualSerial/makefile
patch
|
blob
|
blame
|
history
Demos/DualRole/ClassDriver/MouseHostDevice/makefile
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/JoystickHostWithParser/makefile
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/KeyboardHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/KeyboardHostWithParser/makefile
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/MIDIHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/MassStorageHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/MouseHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/MouseHostWithParser/makefile
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/PrinterHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/RNDISEthernetHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/StillImageHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/VirtualSerialHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/Incomplete/BluetoothHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/GenericHIDHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/JoystickHostWithParser/makefile
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/KeyboardHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/KeyboardHostWithParser/makefile
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/MIDIHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/MassStorageHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/MouseHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/MouseHostWithParser/makefile
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/PrinterHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/RNDISEthernetHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/StillImageHost/makefile
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/VirtualSerialHost/makefile
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Core/HostStandardReq.c
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Core/UC3/USBController_UC3.c
patch
|
blob
|
blame
|
history
LUFA/ManPages/ChangeLog.txt
patch
|
blob
|
blame
|
history
LUFA/ManPages/ConfiguringApps.txt
patch
|
blob
|
blame
|
history
LUFA/ManPages/LUFAPoweredProjects.txt
patch
|
blob
|
blame
|
history
LUFA/ManPages/MigrationInformation.txt
patch
|
blob
|
blame
|
history
Projects/AVRISP-MKII/makefile
patch
|
blob
|
blame
|
history
Projects/Benito/makefile
patch
|
blob
|
blame
|
history
Projects/Incomplete/StandaloneProgrammer/makefile
patch
|
blob
|
blame
|
history
Projects/LEDNotifier/makefile
patch
|
blob
|
blame
|
history
Projects/MIDIToneGenerator/makefile
patch
|
blob
|
blame
|
history
Projects/Magstripe/makefile
patch
|
blob
|
blame
|
history
Projects/MissileLauncher/makefile
patch
|
blob
|
blame
|
history
Projects/RelayBoard/makefile
patch
|
blob
|
blame
|
history
Projects/TempDataLogger/makefile
patch
|
blob
|
blame
|
history
Projects/USBtoSerial/makefile
patch
|
blob
|
blame
|
history
Projects/Webserver/makefile
patch
|
blob
|
blame
|
history
Projects/XPLAINBridge/makefile
patch
|
blob
|
blame
|
history
diff --git
a/Bootloaders/CDC/makefile
b/Bootloaders/CDC/makefile
index
92b63da
..
cdde8d2
100644
(file)
--- a/
Bootloaders/CDC/makefile
+++ b/
Bootloaders/CDC/makefile
@@
-67,8
+67,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-76,7
+76,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-86,7
+86,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Starting byte address of the bootloader, as a byte address - computed via the formula
# Starting byte address of the bootloader, as a byte address - computed via the formula
@@
-190,7
+190,7
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
CDEFS += $(LUFA_OPTS)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
CDEFS += $(LUFA_OPTS)
@@
-198,7
+198,7
@@
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
ADEFS += $(LUFA_OPTS)
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
ADEFS += $(LUFA_OPTS)
@@
-206,7
+206,7
@@
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
CPPDEFS += $(LUFA_OPTS)
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
CPPDEFS += $(LUFA_OPTS)
diff --git
a/Bootloaders/DFU/makefile
b/Bootloaders/DFU/makefile
index
d77933b
..
458a6ce
100644
(file)
--- a/
Bootloaders/DFU/makefile
+++ b/
Bootloaders/DFU/makefile
@@
-67,8
+67,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-76,7
+76,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-86,7
+86,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Starting byte address of the bootloader, as a byte address - computed via the formula
# Starting byte address of the bootloader, as a byte address - computed via the formula
@@
-185,7
+185,7
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
CDEFS += $(LUFA_OPTS)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
CDEFS += $(LUFA_OPTS)
@@
-193,7
+193,7
@@
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
ADEFS += $(LUFA_OPTS)
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
ADEFS += $(LUFA_OPTS)
@@
-201,7
+201,7
@@
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
CPPDEFS += $(LUFA_OPTS)
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
CPPDEFS += $(LUFA_OPTS)
diff --git
a/Bootloaders/HID/makefile
b/Bootloaders/HID/makefile
index
6d8fbf5
..
738ecc6
100644
(file)
--- a/
Bootloaders/HID/makefile
+++ b/
Bootloaders/HID/makefile
@@
-67,8
+67,8
@@
BOARD = USBKEY
# 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
# 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
# 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
@@
-76,7
+76,7
@@
F_CPU = 8000000
\r
\r
# Input clock frequency.
\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
# 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
@@
-86,7
+86,7
@@
F_CPU = 8000000
#
\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
#
\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
# Starting byte address of the bootloader, as a byte address - computed via the formula
\r
\r
\r
# Starting byte address of the bootloader, as a byte address - computed via the formula
\r
@@
-185,7
+185,7
@@
CSTANDARD = -std=c99
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL
\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 += -DBOOT_START_ADDR=$(BOOT_START)UL
\r
CDEFS += $(LUFA_OPTS)
\r
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
\r
CDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
\r
CDEFS += $(LUFA_OPTS)
\r
@@
-193,7
+193,7
@@
CDEFS += $(LUFA_OPTS)
\r
# Place -D or -U options here for ASM sources
\r
ADEFS = -DF_CPU=$(F_CPU)
\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 += -DBOOT_START_ADDR=$(BOOT_START)UL
\r
ADEFS += $(LUFA_OPTS)
\r
ADEFS += -DBOARD=BOARD_$(BOARD)
\r
ADEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
\r
ADEFS += $(LUFA_OPTS)
\r
@@
-201,7
+201,7
@@
ADEFS += $(LUFA_OPTS)
\r
# Place -D or -U options here for C++ sources
\r
CPPDEFS = -DF_CPU=$(F_CPU)UL
\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 += -DBOOT_START_ADDR=$(BOOT_START)UL
\r
CPPDEFS += $(LUFA_OPTS)
\r
CPPDEFS += -DBOARD=BOARD_$(BOARD)
\r
CPPDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
\r
CPPDEFS += $(LUFA_OPTS)
\r
diff --git
a/Demos/Device/ClassDriver/AudioInput/makefile
b/Demos/Device/ClassDriver/AudioInput/makefile
index
3713755
..
969aa90
100644
(file)
--- a/
Demos/Device/ClassDriver/AudioInput/makefile
+++ b/
Demos/Device/ClassDriver/AudioInput/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-185,20
+185,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/ClassDriver/AudioOutput/makefile
b/Demos/Device/ClassDriver/AudioOutput/makefile
index
2f23514
..
dce868a
100644
(file)
--- a/
Demos/Device/ClassDriver/AudioOutput/makefile
+++ b/
Demos/Device/ClassDriver/AudioOutput/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-186,20
+186,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/ClassDriver/DualVirtualSerial/makefile
b/Demos/Device/ClassDriver/DualVirtualSerial/makefile
index
9234fe9
..
75d9bed
100644
(file)
--- a/
Demos/Device/ClassDriver/DualVirtualSerial/makefile
+++ b/
Demos/Device/ClassDriver/DualVirtualSerial/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-182,20
+182,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/ClassDriver/GenericHID/makefile
b/Demos/Device/ClassDriver/GenericHID/makefile
index
b20d045
..
d015b23
100644
(file)
--- a/
Demos/Device/ClassDriver/GenericHID/makefile
+++ b/
Demos/Device/ClassDriver/GenericHID/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-182,20
+182,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/ClassDriver/Joystick/makefile
b/Demos/Device/ClassDriver/Joystick/makefile
index
23845f4
..
0ec4119
100644
(file)
--- a/
Demos/Device/ClassDriver/Joystick/makefile
+++ b/
Demos/Device/ClassDriver/Joystick/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-182,20
+182,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/ClassDriver/Keyboard/makefile
b/Demos/Device/ClassDriver/Keyboard/makefile
index
7981b5d
..
31236f0
100644
(file)
--- a/
Demos/Device/ClassDriver/Keyboard/makefile
+++ b/
Demos/Device/ClassDriver/Keyboard/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-182,20
+182,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/ClassDriver/KeyboardMouse/makefile
b/Demos/Device/ClassDriver/KeyboardMouse/makefile
index
c4477dc
..
bc2d691
100644
(file)
--- a/
Demos/Device/ClassDriver/KeyboardMouse/makefile
+++ b/
Demos/Device/ClassDriver/KeyboardMouse/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-182,20
+182,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile
b/Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile
index
9fcd9ae
..
317d26d
100644
(file)
--- a/
Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile
+++ b/
Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-182,20
+182,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/ClassDriver/MIDI/makefile
b/Demos/Device/ClassDriver/MIDI/makefile
index
11b76de
..
945d992
100644
(file)
--- a/
Demos/Device/ClassDriver/MIDI/makefile
+++ b/
Demos/Device/ClassDriver/MIDI/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-182,20
+182,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/ClassDriver/MassStorage/makefile
b/Demos/Device/ClassDriver/MassStorage/makefile
index
bd548f8
..
0e8988f
100644
(file)
--- a/
Demos/Device/ClassDriver/MassStorage/makefile
+++ b/
Demos/Device/ClassDriver/MassStorage/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-185,20
+185,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/ClassDriver/MassStorageKeyboard/makefile
b/Demos/Device/ClassDriver/MassStorageKeyboard/makefile
index
1d7eaca
..
c044a89
100644
(file)
--- a/
Demos/Device/ClassDriver/MassStorageKeyboard/makefile
+++ b/
Demos/Device/ClassDriver/MassStorageKeyboard/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-185,20
+185,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/ClassDriver/Mouse/makefile
b/Demos/Device/ClassDriver/Mouse/makefile
index
317005f
..
792682b
100644
(file)
--- a/
Demos/Device/ClassDriver/Mouse/makefile
+++ b/
Demos/Device/ClassDriver/Mouse/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-182,20
+182,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/ClassDriver/RNDISEthernet/makefile
b/Demos/Device/ClassDriver/RNDISEthernet/makefile
index
910452b
..
e3044c8
100644
(file)
--- a/
Demos/Device/ClassDriver/RNDISEthernet/makefile
+++ b/
Demos/Device/ClassDriver/RNDISEthernet/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-200,20
+200,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/ClassDriver/VirtualSerial/makefile
b/Demos/Device/ClassDriver/VirtualSerial/makefile
index
fb7dd77
..
98d3d72
100644
(file)
--- a/
Demos/Device/ClassDriver/VirtualSerial/makefile
+++ b/
Demos/Device/ClassDriver/VirtualSerial/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-182,20
+182,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile
b/Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile
index
658e8db
..
a697518
100644
(file)
--- a/
Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile
+++ b/
Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# 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
# 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
# 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
@@
-88,7
+88,7
@@
F_CPU = 8000000
\r
\r
# Input clock frequency.
\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
# 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
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
\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
#
\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
\r
# Output format. (can be srec, ihex, binary)
\r
@@
-184,20
+184,20
@@
CSTANDARD = -std=c99
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL
\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
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
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
CPPDEFS += -DBOARD=BOARD_$(BOARD)
\r
CPPDEFS += $(LUFA_OPTS)
\r
#CPPDEFS += -D__STDC_LIMIT_MACROS
\r
diff --git
a/Demos/Device/ClassDriver/VirtualSerialMouse/makefile
b/Demos/Device/ClassDriver/VirtualSerialMouse/makefile
index
2ed7afd
..
a4ed81b
100644
(file)
--- a/
Demos/Device/ClassDriver/VirtualSerialMouse/makefile
+++ b/
Demos/Device/ClassDriver/VirtualSerialMouse/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-182,20
+182,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/Incomplete/Sideshow/makefile
b/Demos/Device/Incomplete/Sideshow/makefile
index
9439e1d
..
22c5c76
100644
(file)
--- a/
Demos/Device/Incomplete/Sideshow/makefile
+++ b/
Demos/Device/Incomplete/Sideshow/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-186,20
+186,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/Incomplete/TestAndMeasurement/makefile
b/Demos/Device/Incomplete/TestAndMeasurement/makefile
index
298cd22
..
2f21e10
100644
(file)
--- a/
Demos/Device/Incomplete/TestAndMeasurement/makefile
+++ b/
Demos/Device/Incomplete/TestAndMeasurement/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-182,20
+182,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/LowLevel/AudioInput/makefile
b/Demos/Device/LowLevel/AudioInput/makefile
index
40746f8
..
520abbe
100644
(file)
--- a/
Demos/Device/LowLevel/AudioInput/makefile
+++ b/
Demos/Device/LowLevel/AudioInput/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-184,20
+184,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/LowLevel/AudioOutput/makefile
b/Demos/Device/LowLevel/AudioOutput/makefile
index
28bc1c2
..
1623cf1
100644
(file)
--- a/
Demos/Device/LowLevel/AudioOutput/makefile
+++ b/
Demos/Device/LowLevel/AudioOutput/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-185,20
+185,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/LowLevel/DualVirtualSerial/makefile
b/Demos/Device/LowLevel/DualVirtualSerial/makefile
index
6808429
..
f245a58
100644
(file)
--- a/
Demos/Device/LowLevel/DualVirtualSerial/makefile
+++ b/
Demos/Device/LowLevel/DualVirtualSerial/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-181,20
+181,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/LowLevel/GenericHID/makefile
b/Demos/Device/LowLevel/GenericHID/makefile
index
d87f6dc
..
3c707fc
100644
(file)
--- a/
Demos/Device/LowLevel/GenericHID/makefile
+++ b/
Demos/Device/LowLevel/GenericHID/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-181,20
+181,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/LowLevel/Joystick/makefile
b/Demos/Device/LowLevel/Joystick/makefile
index
ba9c158
..
ff10a65
100644
(file)
--- a/
Demos/Device/LowLevel/Joystick/makefile
+++ b/
Demos/Device/LowLevel/Joystick/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-181,20
+181,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/LowLevel/Keyboard/makefile
b/Demos/Device/LowLevel/Keyboard/makefile
index
3e764d9
..
7f29e06
100644
(file)
--- a/
Demos/Device/LowLevel/Keyboard/makefile
+++ b/
Demos/Device/LowLevel/Keyboard/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-181,20
+181,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/LowLevel/KeyboardMouse/makefile
b/Demos/Device/LowLevel/KeyboardMouse/makefile
index
12490fc
..
98f9e12
100644
(file)
--- a/
Demos/Device/LowLevel/KeyboardMouse/makefile
+++ b/
Demos/Device/LowLevel/KeyboardMouse/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-181,20
+181,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/LowLevel/MIDI/makefile
b/Demos/Device/LowLevel/MIDI/makefile
index
7b8a242
..
079fae9
100644
(file)
--- a/
Demos/Device/LowLevel/MIDI/makefile
+++ b/
Demos/Device/LowLevel/MIDI/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-181,20
+181,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/LowLevel/MassStorage/makefile
b/Demos/Device/LowLevel/MassStorage/makefile
index
becdfab
..
7e72a98
100644
(file)
--- a/
Demos/Device/LowLevel/MassStorage/makefile
+++ b/
Demos/Device/LowLevel/MassStorage/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-184,20
+184,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/LowLevel/Mouse/makefile
b/Demos/Device/LowLevel/Mouse/makefile
index
7b8d8ee
..
a962a80
100644
(file)
--- a/
Demos/Device/LowLevel/Mouse/makefile
+++ b/
Demos/Device/LowLevel/Mouse/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-181,20
+181,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/LowLevel/RNDISEthernet/makefile
b/Demos/Device/LowLevel/RNDISEthernet/makefile
index
6652864
..
37d90f9
100644
(file)
--- a/
Demos/Device/LowLevel/RNDISEthernet/makefile
+++ b/
Demos/Device/LowLevel/RNDISEthernet/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-200,20
+200,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Device/LowLevel/VirtualSerial/makefile
b/Demos/Device/LowLevel/VirtualSerial/makefile
index
fd13fc6
..
ba89118
100644
(file)
--- a/
Demos/Device/LowLevel/VirtualSerial/makefile
+++ b/
Demos/Device/LowLevel/VirtualSerial/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-181,20
+181,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/DualRole/ClassDriver/MouseHostDevice/makefile
b/Demos/DualRole/ClassDriver/MouseHostDevice/makefile
index
c9b74eb
..
db646f3
100644
(file)
--- a/
Demos/DualRole/ClassDriver/MouseHostDevice/makefile
+++ b/
Demos/DualRole/ClassDriver/MouseHostDevice/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-184,20
+184,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/ClassDriver/JoystickHostWithParser/makefile
b/Demos/Host/ClassDriver/JoystickHostWithParser/makefile
index
f72c1e3
..
e5c3429
100644
(file)
--- a/
Demos/Host/ClassDriver/JoystickHostWithParser/makefile
+++ b/
Demos/Host/ClassDriver/JoystickHostWithParser/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-179,20
+179,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/ClassDriver/KeyboardHost/makefile
b/Demos/Host/ClassDriver/KeyboardHost/makefile
index
ba0e92f
..
4eb6968
100644
(file)
--- a/
Demos/Host/ClassDriver/KeyboardHost/makefile
+++ b/
Demos/Host/ClassDriver/KeyboardHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-179,20
+179,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile
b/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile
index
b1070f9
..
171d4cd
100644
(file)
--- a/
Demos/Host/ClassDriver/KeyboardHostWithParser/makefile
+++ b/
Demos/Host/ClassDriver/KeyboardHostWithParser/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-179,20
+179,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/ClassDriver/MIDIHost/makefile
b/Demos/Host/ClassDriver/MIDIHost/makefile
index
99e529f
..
39fcc70
100644
(file)
--- a/
Demos/Host/ClassDriver/MIDIHost/makefile
+++ b/
Demos/Host/ClassDriver/MIDIHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-179,20
+179,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/ClassDriver/MassStorageHost/makefile
b/Demos/Host/ClassDriver/MassStorageHost/makefile
index
22b9b14
..
8cbf111
100644
(file)
--- a/
Demos/Host/ClassDriver/MassStorageHost/makefile
+++ b/
Demos/Host/ClassDriver/MassStorageHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-180,20
+180,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/ClassDriver/MouseHost/makefile
b/Demos/Host/ClassDriver/MouseHost/makefile
index
748213a
..
7126d6b
100644
(file)
--- a/
Demos/Host/ClassDriver/MouseHost/makefile
+++ b/
Demos/Host/ClassDriver/MouseHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-179,20
+179,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/ClassDriver/MouseHostWithParser/makefile
b/Demos/Host/ClassDriver/MouseHostWithParser/makefile
index
040f269
..
b5fd3cf
100644
(file)
--- a/
Demos/Host/ClassDriver/MouseHostWithParser/makefile
+++ b/
Demos/Host/ClassDriver/MouseHostWithParser/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-179,20
+179,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/ClassDriver/PrinterHost/makefile
b/Demos/Host/ClassDriver/PrinterHost/makefile
index
85638ae
..
401f340
100644
(file)
--- a/
Demos/Host/ClassDriver/PrinterHost/makefile
+++ b/
Demos/Host/ClassDriver/PrinterHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-179,20
+179,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/ClassDriver/RNDISEthernetHost/makefile
b/Demos/Host/ClassDriver/RNDISEthernetHost/makefile
index
9ed8fb0
..
7ebd355
100644
(file)
--- a/
Demos/Host/ClassDriver/RNDISEthernetHost/makefile
+++ b/
Demos/Host/ClassDriver/RNDISEthernetHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-179,20
+179,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/ClassDriver/StillImageHost/makefile
b/Demos/Host/ClassDriver/StillImageHost/makefile
index
1c8a2c3
..
6969bde
100644
(file)
--- a/
Demos/Host/ClassDriver/StillImageHost/makefile
+++ b/
Demos/Host/ClassDriver/StillImageHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-179,20
+179,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/ClassDriver/VirtualSerialHost/makefile
b/Demos/Host/ClassDriver/VirtualSerialHost/makefile
index
176e1fa
..
45da06f
100644
(file)
--- a/
Demos/Host/ClassDriver/VirtualSerialHost/makefile
+++ b/
Demos/Host/ClassDriver/VirtualSerialHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-179,20
+179,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/Incomplete/BluetoothHost/makefile
b/Demos/Host/Incomplete/BluetoothHost/makefile
index
1c6dc0d
..
c1f83c1
100644
(file)
--- a/
Demos/Host/Incomplete/BluetoothHost/makefile
+++ b/
Demos/Host/Incomplete/BluetoothHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-188,20
+188,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/LowLevel/GenericHIDHost/makefile
b/Demos/Host/LowLevel/GenericHIDHost/makefile
index
9365384
..
3c791d2
100644
(file)
--- a/
Demos/Host/LowLevel/GenericHIDHost/makefile
+++ b/
Demos/Host/LowLevel/GenericHIDHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-179,20
+179,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/LowLevel/JoystickHostWithParser/makefile
b/Demos/Host/LowLevel/JoystickHostWithParser/makefile
index
09f87d9
..
730c953
100644
(file)
--- a/
Demos/Host/LowLevel/JoystickHostWithParser/makefile
+++ b/
Demos/Host/LowLevel/JoystickHostWithParser/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-180,20
+180,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/LowLevel/KeyboardHost/makefile
b/Demos/Host/LowLevel/KeyboardHost/makefile
index
a4b16f1
..
0f2912f
100644
(file)
--- a/
Demos/Host/LowLevel/KeyboardHost/makefile
+++ b/
Demos/Host/LowLevel/KeyboardHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-179,20
+179,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/LowLevel/KeyboardHostWithParser/makefile
b/Demos/Host/LowLevel/KeyboardHostWithParser/makefile
index
9ddad4e
..
e391fdb
100644
(file)
--- a/
Demos/Host/LowLevel/KeyboardHostWithParser/makefile
+++ b/
Demos/Host/LowLevel/KeyboardHostWithParser/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-180,20
+180,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/LowLevel/MIDIHost/makefile
b/Demos/Host/LowLevel/MIDIHost/makefile
index
2f30475
..
a84d1b4
100644
(file)
--- a/
Demos/Host/LowLevel/MIDIHost/makefile
+++ b/
Demos/Host/LowLevel/MIDIHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-179,20
+179,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/LowLevel/MassStorageHost/makefile
b/Demos/Host/LowLevel/MassStorageHost/makefile
index
756204a
..
b2a7478
100644
(file)
--- a/
Demos/Host/LowLevel/MassStorageHost/makefile
+++ b/
Demos/Host/LowLevel/MassStorageHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-181,20
+181,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/LowLevel/MouseHost/makefile
b/Demos/Host/LowLevel/MouseHost/makefile
index
e0abc3f
..
61e162d
100644
(file)
--- a/
Demos/Host/LowLevel/MouseHost/makefile
+++ b/
Demos/Host/LowLevel/MouseHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-179,20
+179,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/LowLevel/MouseHostWithParser/makefile
b/Demos/Host/LowLevel/MouseHostWithParser/makefile
index
40648ee
..
a4ce7bc
100644
(file)
--- a/
Demos/Host/LowLevel/MouseHostWithParser/makefile
+++ b/
Demos/Host/LowLevel/MouseHostWithParser/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-180,20
+180,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/LowLevel/PrinterHost/makefile
b/Demos/Host/LowLevel/PrinterHost/makefile
index
3741590
..
249c67b
100644
(file)
--- a/
Demos/Host/LowLevel/PrinterHost/makefile
+++ b/
Demos/Host/LowLevel/PrinterHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-180,20
+180,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/LowLevel/RNDISEthernetHost/makefile
b/Demos/Host/LowLevel/RNDISEthernetHost/makefile
index
5f0e12b
..
1d21b8e
100644
(file)
--- a/
Demos/Host/LowLevel/RNDISEthernetHost/makefile
+++ b/
Demos/Host/LowLevel/RNDISEthernetHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-180,20
+180,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/LowLevel/StillImageHost/makefile
b/Demos/Host/LowLevel/StillImageHost/makefile
index
5878b58
..
912313e
100644
(file)
--- a/
Demos/Host/LowLevel/StillImageHost/makefile
+++ b/
Demos/Host/LowLevel/StillImageHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-180,20
+180,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Demos/Host/LowLevel/VirtualSerialHost/makefile
b/Demos/Host/LowLevel/VirtualSerialHost/makefile
index
c5e03c8
..
4733932
100644
(file)
--- a/
Demos/Host/LowLevel/VirtualSerialHost/makefile
+++ b/
Demos/Host/LowLevel/VirtualSerialHost/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-179,20
+179,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h
b/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h
index
77e92cb
..
a6e0067
100644
(file)
--- a/
LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h
+++ b/
LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h
@@
-80,11
+80,11
@@
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
#endif
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
#endif
- #if !defined(F_
CLOCK
)
- #error F_
CLOCK is not defined. You must define F_CLOCK
to the frequency of the unprescaled USB controller clock in your project makefile.
+ #if !defined(F_
USB
)
+ #error F_
USB is not defined. You must define F_USB
to the frequency of the unprescaled USB controller clock in your project makefile.
#endif
#endif
- #if (F_
CLOCK
== 8000000)
+ #if (F_
USB
== 8000000)
#if (defined(__AVR_AT90USB82__) || defined(__AVR_AT90USB162__) || \
defined(__AVR_ATmega8U2__) || defined(__AVR_ATmega16U2__) || \
defined(__AVR_ATmega32U2__))
#if (defined(__AVR_AT90USB82__) || defined(__AVR_AT90USB162__) || \
defined(__AVR_ATmega8U2__) || defined(__AVR_ATmega16U2__) || \
defined(__AVR_ATmega32U2__))
@@
-96,7
+96,7
@@
#elif (defined(__AVR_AT90USB647__) || defined(__AVR_AT90USB1287__))
#define USB_PLL_PSC ((1 << PLLP1) | (1 << PLLP0))
#endif
#elif (defined(__AVR_AT90USB647__) || defined(__AVR_AT90USB1287__))
#define USB_PLL_PSC ((1 << PLLP1) | (1 << PLLP0))
#endif
- #elif (F_
CLOCK
== 16000000)
+ #elif (F_
USB
== 16000000)
#if (defined(__AVR_AT90USB82__) || defined(__AVR_AT90USB162__) || \
defined(__AVR_ATmega8U2__) || defined(__AVR_ATmega16U2__) || \
defined(__AVR_ATmega32U2__))
#if (defined(__AVR_AT90USB82__) || defined(__AVR_AT90USB162__) || \
defined(__AVR_ATmega8U2__) || defined(__AVR_ATmega16U2__) || \
defined(__AVR_ATmega32U2__))
@@
-111,7
+111,7
@@
#endif
#if !defined(USB_PLL_PSC)
#endif
#if !defined(USB_PLL_PSC)
- #error No PLL prescale value available for chosen F_
CLOCK
value and AVR model.
+ #error No PLL prescale value available for chosen F_
USB
value and AVR model.
#endif
/* Public Interface - May be used in end-application: */
#endif
/* Public Interface - May be used in end-application: */
diff --git
a/LUFA/Drivers/USB/Core/HostStandardReq.c
b/LUFA/Drivers/USB/Core/HostStandardReq.c
index
d2523fd
..
5b443e7
100644
(file)
--- a/
LUFA/Drivers/USB/Core/HostStandardReq.c
+++ b/
LUFA/Drivers/USB/Core/HostStandardReq.c
@@
-38,7
+38,6
@@
uint8_t USB_Host_SendControlRequest(void* const BufferPtr)
{
uint8_t USB_Host_SendControlRequest(void* const BufferPtr)
{
- uint8_t* HeaderStream = (uint8_t*)&USB_ControlRequest;
uint8_t* DataStream = (uint8_t*)BufferPtr;
bool BusSuspended = USB_Host_IsBusSuspended();
uint8_t ReturnStatus = HOST_SENDCONTROL_Successful;
uint8_t* DataStream = (uint8_t*)BufferPtr;
bool BusSuspended = USB_Host_IsBusSuspended();
uint8_t ReturnStatus = HOST_SENDCONTROL_Successful;
diff --git
a/LUFA/Drivers/USB/Core/UC3/USBController_UC3.c
b/LUFA/Drivers/USB/Core/UC3/USBController_UC3.c
index
a9ac248
..
e3d97d6
100644
(file)
--- a/
LUFA/Drivers/USB/Core/UC3/USBController_UC3.c
+++ b/
LUFA/Drivers/USB/Core/UC3/USBController_UC3.c
@@
-106,8
+106,8
@@
void USB_ResetInterface(void)
\r
AVR32_PM.GCCTRL[AVR32_PM_GCLK_USBB].pllsel = !(USB_Options & USB_OPT_GCLK_SRC_OSC);
\r
AVR32_PM.GCCTRL[AVR32_PM_GCLK_USBB].oscsel = !(USB_Options & USB_OPT_GCLK_CHANNEL_0);
\r
\r
AVR32_PM.GCCTRL[AVR32_PM_GCLK_USBB].pllsel = !(USB_Options & USB_OPT_GCLK_SRC_OSC);
\r
AVR32_PM.GCCTRL[AVR32_PM_GCLK_USBB].oscsel = !(USB_Options & USB_OPT_GCLK_CHANNEL_0);
\r
- AVR32_PM.GCCTRL[AVR32_PM_GCLK_USBB].diven = (F_
CLOCK
!= USB_CLOCK_REQUIRED_FREQ);
\r
- AVR32_PM.GCCTRL[AVR32_PM_GCLK_USBB].div = (F_
CLOCK == USB_CLOCK_REQUIRED_FREQ) ? 0 : (uint32_t)(((F_CLOCK
/ USB_CLOCK_REQUIRED_FREQ) - 1) / 2);
\r
+ AVR32_PM.GCCTRL[AVR32_PM_GCLK_USBB].diven = (F_
USB
!= USB_CLOCK_REQUIRED_FREQ);
\r
+ AVR32_PM.GCCTRL[AVR32_PM_GCLK_USBB].div = (F_
USB == USB_CLOCK_REQUIRED_FREQ) ? 0 : (uint32_t)(((F_USB
/ USB_CLOCK_REQUIRED_FREQ) - 1) / 2);
\r
AVR32_PM.GCCTRL[AVR32_PM_GCLK_USBB].cen = true;
\r
\r
USB_INT_DisableAllInterrupts();
\r
AVR32_PM.GCCTRL[AVR32_PM_GCLK_USBB].cen = true;
\r
\r
USB_INT_DisableAllInterrupts();
\r
diff --git
a/LUFA/ManPages/ChangeLog.txt
b/LUFA/ManPages/ChangeLog.txt
index
3bb93ea
..
7b5c667
100644
(file)
--- a/
LUFA/ManPages/ChangeLog.txt
+++ b/
LUFA/ManPages/ChangeLog.txt
@@
-60,6
+60,7
@@
* - Removed Pipe_ClearErrorFlags(), pipe error flags are now automatically cleared when Pipe_ClearError() is called
* - Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent with the Pipe_ResetPipe() function name
* - Implemented on-demand PLL clock generation for the U4, U6 and U7 series USB AVRs when automatic PLL mode is specified
* - Removed Pipe_ClearErrorFlags(), pipe error flags are now automatically cleared when Pipe_ClearError() is called
* - Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent with the Pipe_ResetPipe() function name
* - Implemented on-demand PLL clock generation for the U4, U6 and U7 series USB AVRs when automatic PLL mode is specified
+ * - F_CLOCK changed to F_USB to be more descriptive, and applicable on future architecture ports
* - Library Applications:
* - Changed the XPLAINBridge software UART to use the regular timer CTC mode instead of the alternative CTC mode
* via the Input Capture register, to reduce user confusion
* - Library Applications:
* - Changed the XPLAINBridge software UART to use the regular timer CTC mode instead of the alternative CTC mode
* via the Input Capture register, to reduce user confusion
@@
-633,7
+634,7
@@
* - Pipe stream functions now automatically set the correct pipe token, so that bidirectional pipes can be used
* - Pipe_ConfigurePipe() now automatically defaults IN pipes to accepting infinite IN requests, this can still be changed by calling
* the existing Pipe_SetFiniteINRequests() function
* - Pipe stream functions now automatically set the correct pipe token, so that bidirectional pipes can be used
* - Pipe_ConfigurePipe() now automatically defaults IN pipes to accepting infinite IN requests, this can still be changed by calling
* the existing Pipe_SetFiniteINRequests() function
- * - Changed F_
CLOCK
entries in project makefiles to alias to F_CPU by default, as this is the most common case
+ * - Changed F_
USB
entries in project makefiles to alias to F_CPU by default, as this is the most common case
* - Host mode demos now use sane terminal escape codes, so that text is always readable and events/program output is visually distinguished
* from one another using foreground colours
* - Internal per-device preprocessing conditions changed to per-device series rather than per-controller group for finer-grain
* - Host mode demos now use sane terminal escape codes, so that text is always readable and events/program output is visually distinguished
* from one another using foreground colours
* - Internal per-device preprocessing conditions changed to per-device series rather than per-controller group for finer-grain
@@
-789,7
+790,7
@@
* - Fixed KeyboardMouse demo discarding the wIndex value in the REQ_GetReport request
* - USBtoSerial demo now discards all Rx data when not connected to a USB host, rather than buffering characters for transmission
* next time the device is attached to a host.
* - Fixed KeyboardMouse demo discarding the wIndex value in the REQ_GetReport request
* - USBtoSerial demo now discards all Rx data when not connected to a USB host, rather than buffering characters for transmission
* next time the device is attached to a host.
- * - Added new F_
CLOCK
compile time constant to the library and makefiles, to give the raw input clock (used to feed the PLL before any
+ * - Added new F_
USB
compile time constant to the library and makefiles, to give the raw input clock (used to feed the PLL before any
* clock prescaling is performed) frequency, so that the PLL prescale mask can be determined
* - Changed stream wait timeout counter to be 16-bit, so that very long timeout periods can be set for correct communications with
* badly designed hosts or devices which greatly exceed the USB specification limits
* clock prescaling is performed) frequency, so that the PLL prescale mask can be determined
* - Changed stream wait timeout counter to be 16-bit, so that very long timeout periods can be set for correct communications with
* badly designed hosts or devices which greatly exceed the USB specification limits
diff --git
a/LUFA/ManPages/ConfiguringApps.txt
b/LUFA/ManPages/ConfiguringApps.txt
index
e5ce9fd
..
b56341e
100644
(file)
--- a/
LUFA/ManPages/ConfiguringApps.txt
+++ b/
LUFA/ManPages/ConfiguringApps.txt
@@
-22,7
+22,7
@@
*
* - <b>MCU</b>, the target AVR processor
* - <b>BOARD</b>, the target board hardware
*
* - <b>MCU</b>, the target AVR processor
* - <b>BOARD</b>, the target board hardware
- * - <b>F_
CLOCK
</b>, the target raw master clock frequency, before any prescaling is performed
+ * - <b>F_
USB
</b>, the target raw master clock frequency, before any prescaling is performed
* - <b>F_CPU</b>, the target AVR CPU master clock frequency, after any prescaling
* - <b>CDEFS</b>, the C preprocessor defines which configure options the source code
* - <b>LUFA_PATH</b>, the path to the LUFA library source code
* - <b>F_CPU</b>, the target AVR CPU master clock frequency, after any prescaling
* - <b>CDEFS</b>, the C preprocessor defines which configure options the source code
* - <b>LUFA_PATH</b>, the path to the LUFA library source code
@@
-50,7
+50,7
@@
*
* For boards with built in hardware driver support within the LUFA library, see \ref Page_DeviceSupport.
*
*
* For boards with built in hardware driver support within the LUFA library, see \ref Page_DeviceSupport.
*
- * \section Sec_F_
CLOCK The F_CLOCK
Parameter
+ * \section Sec_F_
USB The F_USB
Parameter
* This parameter indicates the target AVR's input clock frequency, in Hz. This is the actual clock input, before any prescaling is performed. In the
* USB AVR architecture, the input clock before any prescaling is fed directly to the PLL subsystem, and thus the PLL is derived directly from the
* clock input. The PLL then feeds the USB and other sections of the AVR with the correct upscaled frequencies required for those sections to function.
* This parameter indicates the target AVR's input clock frequency, in Hz. This is the actual clock input, before any prescaling is performed. In the
* USB AVR architecture, the input clock before any prescaling is fed directly to the PLL subsystem, and thus the PLL is derived directly from the
* clock input. The PLL then feeds the USB and other sections of the AVR with the correct upscaled frequencies required for those sections to function.
diff --git
a/LUFA/ManPages/LUFAPoweredProjects.txt
b/LUFA/ManPages/LUFAPoweredProjects.txt
index
34d4944
..
b81d03e
100644
(file)
--- a/
LUFA/ManPages/LUFAPoweredProjects.txt
+++ b/
LUFA/ManPages/LUFAPoweredProjects.txt
@@
-51,6
+51,7
@@
* - Garmin GPS USB to NMEA standard serial sentence translator: http://github.com/nall/garmin-transmogrifier/tree/master
* - Generic HID Device Creator: http://generichid.sourceforge.net/
* - Ghetto Drum, a MIDI drum controller: http://noisybox.net/art/gdrum/
* - Garmin GPS USB to NMEA standard serial sentence translator: http://github.com/nall/garmin-transmogrifier/tree/master
* - Generic HID Device Creator: http://generichid.sourceforge.net/
* - Ghetto Drum, a MIDI drum controller: http://noisybox.net/art/gdrum/
+ * - Hiduino, a USB-MIDI replacement firmware for the Arduino Uno: http://code.google.com/p/hiduino/
* - IR Remote to Keyboard decoder: http://netzhansa.blogspot.com/2010/04/our-living-room-hi-fi-setup-needs-mp3.html
* - LED Panel controller: http://projects.peterpolidoro.net/caltech/panelscontroller/panelscontroller.htm
* - LUFA powered DDR dance mat (French): http://logicien-parfait.fr/dokuwiki/doku.php?id=projet:ddr_repair
* - IR Remote to Keyboard decoder: http://netzhansa.blogspot.com/2010/04/our-living-room-hi-fi-setup-needs-mp3.html
* - LED Panel controller: http://projects.peterpolidoro.net/caltech/panelscontroller/panelscontroller.htm
* - LUFA powered DDR dance mat (French): http://logicien-parfait.fr/dokuwiki/doku.php?id=projet:ddr_repair
@@
-78,10
+79,12
@@
* - Stripe Snoop, a Magnetic Card reader: http://www.ossguy.com/ss_usb/
* - Teensy SD Card .WAV file player: http://elasticsheep.com/2010/04/teensy2-usb-wav-player-part-1/
* - Touchscreen Input Device: http://capnstech.blogspot.com/2010/07/touchscreen-update.html
* - Stripe Snoop, a Magnetic Card reader: http://www.ossguy.com/ss_usb/
* - Teensy SD Card .WAV file player: http://elasticsheep.com/2010/04/teensy2-usb-wav-player-part-1/
* - Touchscreen Input Device: http://capnstech.blogspot.com/2010/07/touchscreen-update.html
+ * - Universal USB AVR Module: http://usbavr.bplaced.net/
* - USB Interface for Playstation Portable Devices: http://forums.ps2dev.org/viewtopic.php?t=11001
* - Userial, a USB to Serial converter with SPI, I2C and other protocols: http://www.tty1.net/userial/
* - Wireless MIDI Guitar system: http://www.ise.pw.edu.pl/~wzab/wireless_guitar_system/
* - XUM1541, a Commodore 64 floppy drive to USB adapter: http://www.root.org/~nate/c64/xum1541/
* - USB Interface for Playstation Portable Devices: http://forums.ps2dev.org/viewtopic.php?t=11001
* - Userial, a USB to Serial converter with SPI, I2C and other protocols: http://www.tty1.net/userial/
* - Wireless MIDI Guitar system: http://www.ise.pw.edu.pl/~wzab/wireless_guitar_system/
* - XUM1541, a Commodore 64 floppy drive to USB adapter: http://www.root.org/~nate/c64/xum1541/
+ * - Zeus, a touch screen computer for music manipulation: http://www.benbengler.com/developments_zeus.html
*
* \section Sec_LUFACommercialProjects Projects Using LUFA (Commercial)
*
*
* \section Sec_LUFACommercialProjects Projects Using LUFA (Commercial)
*
diff --git
a/LUFA/ManPages/MigrationInformation.txt
b/LUFA/ManPages/MigrationInformation.txt
index
c562ccd
..
cb94bad
100644
(file)
--- a/
LUFA/ManPages/MigrationInformation.txt
+++ b/
LUFA/ManPages/MigrationInformation.txt
@@
-32,6
+32,8
@@
* reconfiguring all Endpoints/Pipes in order each time a new Endpoint/Pipe is created. To minimise the compiled program
* size, the new \c ORDERED_EP_CONFIG compile time option may be defined in the project makefile to restrict the ordering
* in exchange for a smaller compiled binary size.
* reconfiguring all Endpoints/Pipes in order each time a new Endpoint/Pipe is created. To minimise the compiled program
* size, the new \c ORDERED_EP_CONFIG compile time option may be defined in the project makefile to restrict the ordering
* in exchange for a smaller compiled binary size.
+ * - The previous F_CLOCK symbol, required in the project makefile, has been renamed to F_USB. This is due to the previous name
+ * being far too generic for use in future architecture ports, where multiple clock domains are used.
*
* <b>Device Mode</b>
* - The Endpoint stream functions now all require a \c BytesProcessed parameter instead of the previous callback parameter.
*
* <b>Device Mode</b>
* - The Endpoint stream functions now all require a \c BytesProcessed parameter instead of the previous callback parameter.
@@
-368,7
+370,7
@@
* \section Sec_Migration090401 Migrating from 090209 to 090401
*
* <b>All</b>
* \section Sec_Migration090401 Migrating from 090209 to 090401
*
* <b>All</b>
- * - LUFA projects must now give the raw input clock frequency (before any prescaling) as a compile time constant \c F_
CLOCK
,
+ * - LUFA projects must now give the raw input clock frequency (before any prescaling) as a compile time constant \c F_
USB
,
* defined in the project makefile and passed to the compiler via the -D switch.
* - The makefile EEPROM programming targets for FLIP and dfu-programmer no longer program in the FLASH data in addition to the
* EEPROM data into the device. If both are to be programmed, both the EEPROM and FLASH programming targets must be called.
* defined in the project makefile and passed to the compiler via the -D switch.
* - The makefile EEPROM programming targets for FLIP and dfu-programmer no longer program in the FLASH data in addition to the
* EEPROM data into the device. If both are to be programmed, both the EEPROM and FLASH programming targets must be called.
diff --git
a/Projects/AVRISP-MKII/makefile
b/Projects/AVRISP-MKII/makefile
index
ecfa0a1
..
de1e225
100644
(file)
--- a/
Projects/AVRISP-MKII/makefile
+++ b/
Projects/AVRISP-MKII/makefile
@@
-79,8
+79,8
@@
BOARD = USBTINYMKII
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 16000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 16000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-207,20
+207,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Projects/Benito/makefile
b/Projects/Benito/makefile
index
9b19f0d
..
152537b
100644
(file)
--- a/
Projects/Benito/makefile
+++ b/
Projects/Benito/makefile
@@
-79,8
+79,8
@@
BOARD = BENITO
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-193,20
+193,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Projects/Incomplete/StandaloneProgrammer/makefile
b/Projects/Incomplete/StandaloneProgrammer/makefile
index
8d6fced
..
de65ad8
100644
(file)
--- a/
Projects/Incomplete/StandaloneProgrammer/makefile
+++ b/
Projects/Incomplete/StandaloneProgrammer/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-193,20
+193,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Projects/LEDNotifier/makefile
b/Projects/LEDNotifier/makefile
index
a29ff54
..
da89b7e
100644
(file)
--- a/
Projects/LEDNotifier/makefile
+++ b/
Projects/LEDNotifier/makefile
@@
-79,8
+79,8
@@
BOARD = BUI
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-184,20
+184,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Projects/MIDIToneGenerator/makefile
b/Projects/MIDIToneGenerator/makefile
index
4ae7862
..
fbabbf7
100644
(file)
--- a/
Projects/MIDIToneGenerator/makefile
+++ b/
Projects/MIDIToneGenerator/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# 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
# 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
# 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
@@
-88,7
+88,7
@@
F_CPU = 8000000
\r
\r
# Input clock frequency.
\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
# 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
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
\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
#
\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
\r
# Output format. (can be srec, ihex, binary)
\r
@@
-184,20
+184,20
@@
CSTANDARD = -std=c99
\r
# Place -D or -U options here for C sources
\r
CDEFS = -DF_CPU=$(F_CPU)UL
\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
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
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
CPPDEFS += -DBOARD=BOARD_$(BOARD)
\r
CPPDEFS += $(LUFA_OPTS)
\r
#CPPDEFS += -D__STDC_LIMIT_MACROS
\r
diff --git
a/Projects/Magstripe/makefile
b/Projects/Magstripe/makefile
index
9e6674f
..
b399dcd
100644
(file)
--- a/
Projects/Magstripe/makefile
+++ b/
Projects/Magstripe/makefile
@@
-79,8
+79,8
@@
BOARD = NONE
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 16000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 16000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-196,20
+196,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Projects/MissileLauncher/makefile
b/Projects/MissileLauncher/makefile
index
e3e550e
..
4931e54
100644
(file)
--- a/
Projects/MissileLauncher/makefile
+++ b/
Projects/MissileLauncher/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-180,20
+180,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Projects/RelayBoard/makefile
b/Projects/RelayBoard/makefile
index
d548ff4
..
9cfc247
100644
(file)
--- a/
Projects/RelayBoard/makefile
+++ b/
Projects/RelayBoard/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-184,20
+184,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Projects/TempDataLogger/makefile
b/Projects/TempDataLogger/makefile
index
6664816
..
3da1c5c
100644
(file)
--- a/
Projects/TempDataLogger/makefile
+++ b/
Projects/TempDataLogger/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-193,20
+193,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Projects/USBtoSerial/makefile
b/Projects/USBtoSerial/makefile
index
01141fd
..
42ed954
100644
(file)
--- a/
Projects/USBtoSerial/makefile
+++ b/
Projects/USBtoSerial/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-185,20
+185,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Projects/Webserver/makefile
b/Projects/Webserver/makefile
index
2091f8d
..
bba6d05
100644
(file)
--- a/
Projects/Webserver/makefile
+++ b/
Projects/Webserver/makefile
@@
-79,8
+79,8
@@
BOARD = USBKEY
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-217,20
+217,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
diff --git
a/Projects/XPLAINBridge/makefile
b/Projects/XPLAINBridge/makefile
index
437d70a
..
7c3b5bc
100644
(file)
--- a/
Projects/XPLAINBridge/makefile
+++ b/
Projects/XPLAINBridge/makefile
@@
-79,8
+79,8
@@
BOARD = XPLAIN
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
-# This will be an integer division of F_
CLOCK
below, as it is sourced by
-# F_
CLOCK
after it has run through any CPU prescalers. Note that this value
+# This will be an integer division of F_
USB
below, as it is sourced by
+# F_
USB
after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
@@
-88,7
+88,7
@@
F_CPU = 8000000
# Input clock frequency.
# Input clock frequency.
-# This will define a symbol, F_
CLOCK
, in all source code files equal to the
+# This will define a symbol, F_
USB
, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
@@
-98,7
+98,7
@@
F_CPU = 8000000
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_
CLOCK
= $(F_CPU)
+F_
USB
= $(F_CPU)
# Output format. (can be srec, ihex, binary)
# Output format. (can be srec, ihex, binary)
@@
-209,20
+209,20
@@
CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
-CDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CDEFS += -DF_
USB=$(F_USB
)UL
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)
# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)
-ADEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+ADEFS += -DF_
USB=$(F_USB
)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
-CPPDEFS += -DF_
CLOCK=$(F_CLOCK
)UL
+CPPDEFS += -DF_
USB=$(F_USB
)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS