Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Erik Strand
lufa
Commits
aba7932a
Commit
aba7932a
authored
Mar 21, 2011
by
Dean Camera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
F_CLOCK changed to F_USB to be more descriptive, and applicable on future architecture ports.
parent
c7f4752d
Changes
77
Hide whitespace changes
Inline
Side-by-side
Showing
77 changed files
with
508 additions
and
503 deletions
+508
-503
Bootloaders/CDC/makefile
Bootloaders/CDC/makefile
+7
-7
Bootloaders/DFU/makefile
Bootloaders/DFU/makefile
+7
-7
Bootloaders/HID/makefile
Bootloaders/HID/makefile
+7
-7
Demos/Device/ClassDriver/AudioInput/makefile
Demos/Device/ClassDriver/AudioInput/makefile
+7
-7
Demos/Device/ClassDriver/AudioOutput/makefile
Demos/Device/ClassDriver/AudioOutput/makefile
+7
-7
Demos/Device/ClassDriver/DualVirtualSerial/makefile
Demos/Device/ClassDriver/DualVirtualSerial/makefile
+7
-7
Demos/Device/ClassDriver/GenericHID/makefile
Demos/Device/ClassDriver/GenericHID/makefile
+7
-7
Demos/Device/ClassDriver/Joystick/makefile
Demos/Device/ClassDriver/Joystick/makefile
+7
-7
Demos/Device/ClassDriver/Keyboard/makefile
Demos/Device/ClassDriver/Keyboard/makefile
+7
-7
Demos/Device/ClassDriver/KeyboardMouse/makefile
Demos/Device/ClassDriver/KeyboardMouse/makefile
+7
-7
Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile
Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile
+7
-7
Demos/Device/ClassDriver/MIDI/makefile
Demos/Device/ClassDriver/MIDI/makefile
+7
-7
Demos/Device/ClassDriver/MassStorage/makefile
Demos/Device/ClassDriver/MassStorage/makefile
+7
-7
Demos/Device/ClassDriver/MassStorageKeyboard/makefile
Demos/Device/ClassDriver/MassStorageKeyboard/makefile
+7
-7
Demos/Device/ClassDriver/Mouse/makefile
Demos/Device/ClassDriver/Mouse/makefile
+7
-7
Demos/Device/ClassDriver/RNDISEthernet/makefile
Demos/Device/ClassDriver/RNDISEthernet/makefile
+7
-7
Demos/Device/ClassDriver/VirtualSerial/makefile
Demos/Device/ClassDriver/VirtualSerial/makefile
+7
-7
Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile
Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile
+7
-7
Demos/Device/ClassDriver/VirtualSerialMouse/makefile
Demos/Device/ClassDriver/VirtualSerialMouse/makefile
+7
-7
Demos/Device/Incomplete/Sideshow/makefile
Demos/Device/Incomplete/Sideshow/makefile
+7
-7
Demos/Device/Incomplete/TestAndMeasurement/makefile
Demos/Device/Incomplete/TestAndMeasurement/makefile
+7
-7
Demos/Device/LowLevel/AudioInput/makefile
Demos/Device/LowLevel/AudioInput/makefile
+7
-7
Demos/Device/LowLevel/AudioOutput/makefile
Demos/Device/LowLevel/AudioOutput/makefile
+7
-7
Demos/Device/LowLevel/DualVirtualSerial/makefile
Demos/Device/LowLevel/DualVirtualSerial/makefile
+7
-7
Demos/Device/LowLevel/GenericHID/makefile
Demos/Device/LowLevel/GenericHID/makefile
+7
-7
Demos/Device/LowLevel/Joystick/makefile
Demos/Device/LowLevel/Joystick/makefile
+7
-7
Demos/Device/LowLevel/Keyboard/makefile
Demos/Device/LowLevel/Keyboard/makefile
+7
-7
Demos/Device/LowLevel/KeyboardMouse/makefile
Demos/Device/LowLevel/KeyboardMouse/makefile
+7
-7
Demos/Device/LowLevel/MIDI/makefile
Demos/Device/LowLevel/MIDI/makefile
+7
-7
Demos/Device/LowLevel/MassStorage/makefile
Demos/Device/LowLevel/MassStorage/makefile
+7
-7
Demos/Device/LowLevel/Mouse/makefile
Demos/Device/LowLevel/Mouse/makefile
+7
-7
Demos/Device/LowLevel/RNDISEthernet/makefile
Demos/Device/LowLevel/RNDISEthernet/makefile
+7
-7
Demos/Device/LowLevel/VirtualSerial/makefile
Demos/Device/LowLevel/VirtualSerial/makefile
+7
-7
Demos/DualRole/ClassDriver/MouseHostDevice/makefile
Demos/DualRole/ClassDriver/MouseHostDevice/makefile
+7
-7
Demos/Host/ClassDriver/JoystickHostWithParser/makefile
Demos/Host/ClassDriver/JoystickHostWithParser/makefile
+7
-7
Demos/Host/ClassDriver/KeyboardHost/makefile
Demos/Host/ClassDriver/KeyboardHost/makefile
+7
-7
Demos/Host/ClassDriver/KeyboardHostWithParser/makefile
Demos/Host/ClassDriver/KeyboardHostWithParser/makefile
+7
-7
Demos/Host/ClassDriver/MIDIHost/makefile
Demos/Host/ClassDriver/MIDIHost/makefile
+7
-7
Demos/Host/ClassDriver/MassStorageHost/makefile
Demos/Host/ClassDriver/MassStorageHost/makefile
+7
-7
Demos/Host/ClassDriver/MouseHost/makefile
Demos/Host/ClassDriver/MouseHost/makefile
+7
-7
Demos/Host/ClassDriver/MouseHostWithParser/makefile
Demos/Host/ClassDriver/MouseHostWithParser/makefile
+7
-7
Demos/Host/ClassDriver/PrinterHost/makefile
Demos/Host/ClassDriver/PrinterHost/makefile
+7
-7
Demos/Host/ClassDriver/RNDISEthernetHost/makefile
Demos/Host/ClassDriver/RNDISEthernetHost/makefile
+7
-7
Demos/Host/ClassDriver/StillImageHost/makefile
Demos/Host/ClassDriver/StillImageHost/makefile
+7
-7
Demos/Host/ClassDriver/VirtualSerialHost/makefile
Demos/Host/ClassDriver/VirtualSerialHost/makefile
+7
-7
Demos/Host/Incomplete/BluetoothHost/makefile
Demos/Host/Incomplete/BluetoothHost/makefile
+7
-7
Demos/Host/LowLevel/GenericHIDHost/makefile
Demos/Host/LowLevel/GenericHIDHost/makefile
+7
-7
Demos/Host/LowLevel/JoystickHostWithParser/makefile
Demos/Host/LowLevel/JoystickHostWithParser/makefile
+7
-7
Demos/Host/LowLevel/KeyboardHost/makefile
Demos/Host/LowLevel/KeyboardHost/makefile
+7
-7
Demos/Host/LowLevel/KeyboardHostWithParser/makefile
Demos/Host/LowLevel/KeyboardHostWithParser/makefile
+7
-7
Demos/Host/LowLevel/MIDIHost/makefile
Demos/Host/LowLevel/MIDIHost/makefile
+7
-7
Demos/Host/LowLevel/MassStorageHost/makefile
Demos/Host/LowLevel/MassStorageHost/makefile
+7
-7
Demos/Host/LowLevel/MouseHost/makefile
Demos/Host/LowLevel/MouseHost/makefile
+7
-7
Demos/Host/LowLevel/MouseHostWithParser/makefile
Demos/Host/LowLevel/MouseHostWithParser/makefile
+7
-7
Demos/Host/LowLevel/PrinterHost/makefile
Demos/Host/LowLevel/PrinterHost/makefile
+7
-7
Demos/Host/LowLevel/RNDISEthernetHost/makefile
Demos/Host/LowLevel/RNDISEthernetHost/makefile
+7
-7
Demos/Host/LowLevel/StillImageHost/makefile
Demos/Host/LowLevel/StillImageHost/makefile
+7
-7
Demos/Host/LowLevel/VirtualSerialHost/makefile
Demos/Host/LowLevel/VirtualSerialHost/makefile
+7
-7
LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h
LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h
+5
-5
LUFA/Drivers/USB/Core/HostStandardReq.c
LUFA/Drivers/USB/Core/HostStandardReq.c
+0
-1
LUFA/Drivers/USB/Core/UC3/USBController_UC3.c
LUFA/Drivers/USB/Core/UC3/USBController_UC3.c
+2
-2
LUFA/ManPages/ChangeLog.txt
LUFA/ManPages/ChangeLog.txt
+3
-2
LUFA/ManPages/ConfiguringApps.txt
LUFA/ManPages/ConfiguringApps.txt
+2
-2
LUFA/ManPages/LUFAPoweredProjects.txt
LUFA/ManPages/LUFAPoweredProjects.txt
+3
-0
LUFA/ManPages/MigrationInformation.txt
LUFA/ManPages/MigrationInformation.txt
+3
-1
Projects/AVRISP-MKII/makefile
Projects/AVRISP-MKII/makefile
+7
-7
Projects/Benito/makefile
Projects/Benito/makefile
+7
-7
Projects/Incomplete/StandaloneProgrammer/makefile
Projects/Incomplete/StandaloneProgrammer/makefile
+7
-7
Projects/LEDNotifier/makefile
Projects/LEDNotifier/makefile
+7
-7
Projects/MIDIToneGenerator/makefile
Projects/MIDIToneGenerator/makefile
+7
-7
Projects/Magstripe/makefile
Projects/Magstripe/makefile
+7
-7
Projects/MissileLauncher/makefile
Projects/MissileLauncher/makefile
+7
-7
Projects/RelayBoard/makefile
Projects/RelayBoard/makefile
+7
-7
Projects/TempDataLogger/makefile
Projects/TempDataLogger/makefile
+7
-7
Projects/USBtoSerial/makefile
Projects/USBtoSerial/makefile
+7
-7
Projects/Webserver/makefile
Projects/Webserver/makefile
+7
-7
Projects/XPLAINBridge/makefile
Projects/XPLAINBridge/makefile
+7
-7
No files found.
Bootloaders/CDC/makefile
View file @
aba7932a
...
...
@@ -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.
#
# 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.
...
...
@@ -76,7 +76,7 @@ F_CPU = 8000000
# 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
...
...
@@ -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.
F_
CLOCK
=
$(F_CPU)
F_
USB
=
$(F_CPU)
# 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
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)
...
...
@@ -198,7 +198,7 @@ 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
+=
-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
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)
...
...
Bootloaders/DFU/makefile
View file @
aba7932a
...
...
@@ -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.
#
# 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.
...
...
@@ -76,7 +76,7 @@ F_CPU = 8000000
# 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
...
...
@@ -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.
F_
CLOCK
=
$(F_CPU)
F_
USB
=
$(F_CPU)
# 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
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)
...
...
@@ -193,7 +193,7 @@ 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
+=
-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
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)
...
...
Bootloaders/HID/makefile
View file @
aba7932a
...
...
@@ -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.
#
# 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.
...
...
@@ -76,7 +76,7 @@ F_CPU = 8000000
# 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
...
...
@@ -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.
F_
CLOCK
=
$(F_CPU)
F_
USB
=
$(F_CPU)
# 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
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)
...
...
@@ -193,7 +193,7 @@ 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
+=
-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
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)
...
...
Demos/Device/ClassDriver/AudioInput/makefile
View file @
aba7932a
...
...
@@ -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.
#
# 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.
...
...
@@ -88,7 +88,7 @@ F_CPU = 8000000
# 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
...
...
@@ -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.
F_
CLOCK
=
$(F_CPU)
F_
USB
=
$(F_CPU)
# 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
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)
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
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
...
...
Demos/Device/ClassDriver/AudioOutput/makefile
View file @
aba7932a
...
...
@@ -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.
#
# 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.
...
...
@@ -88,7 +88,7 @@ F_CPU = 8000000
# 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
...
...
@@ -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.
F_
CLOCK
=
$(F_CPU)
F_
USB
=
$(F_CPU)
# 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
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)
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
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
...
...
Demos/Device/ClassDriver/DualVirtualSerial/makefile
View file @
aba7932a
...
...
@@ -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.
#
# 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.
...
...
@@ -88,7 +88,7 @@ F_CPU = 8000000
# 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
...
...
@@ -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.
F_
CLOCK
=
$(F_CPU)
F_
USB
=
$(F_CPU)
# 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
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)
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
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
...
...
Demos/Device/ClassDriver/GenericHID/makefile
View file @
aba7932a
...
...
@@ -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.
#
# 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.
...
...
@@ -88,7 +88,7 @@ F_CPU = 8000000
# 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
...
...
@@ -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.
F_
CLOCK
=
$(F_CPU)
F_
USB
=
$(F_CPU)
# 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
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)
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
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
...
...
Demos/Device/ClassDriver/Joystick/makefile
View file @
aba7932a
...
...
@@ -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.
#
# 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.
...
...
@@ -88,7 +88,7 @@ F_CPU = 8000000
# 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
...
...
@@ -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.
F_
CLOCK
=
$(F_CPU)
F_
USB
=
$(F_CPU)
# 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
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)
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
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
...
...
Demos/Device/ClassDriver/Keyboard/makefile
View file @
aba7932a
...
...
@@ -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.
#
# 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.
...
...
@@ -88,7 +88,7 @@ F_CPU = 8000000
# 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
...
...
@@ -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.
F_
CLOCK
=
$(F_CPU)
F_
USB
=
$(F_CPU)
# 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
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)
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
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
...
...
Demos/Device/ClassDriver/KeyboardMouse/makefile
View file @
aba7932a
...
...
@@ -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.
#
# 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.
...
...
@@ -88,7 +88,7 @@ F_CPU = 8000000
# 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
...
...
@@ -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.
F_
CLOCK
=
$(F_CPU)
F_
USB
=
$(F_CPU)
# 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
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)
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
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
...
...
Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile
View file @
aba7932a
...
...
@@ -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.
#
# 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.
...
...
@@ -88,7 +88,7 @@ F_CPU = 8000000
# 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
...
...
@@ -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.
F_
CLOCK
=
$(F_CPU)
F_
USB
=
$(F_CPU)
# 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
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)
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
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
...
...
Demos/Device/ClassDriver/MIDI/makefile
View file @
aba7932a
...
...
@@ -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.
#
# 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.
...
...
@@ -88,7 +88,7 @@ F_CPU = 8000000
# 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
...
...
@@ -98,7 +98,7 @@ F_CPU = 8000000