From 393fc71d8e82f4be67fac7f7f33538b92555b4f9 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 21 Jun 2012 20:24:29 +0000 Subject: [PATCH] Add HID bootloader build module (thanks to Stefan Hellermann). --- Demos/Device/ClassDriver/AudioInput/makefile | 1 + Demos/Device/ClassDriver/AudioOutput/makefile | 1 + .../ClassDriver/DualVirtualSerial/makefile | 1 + Demos/Device/ClassDriver/GenericHID/makefile | 1 + Demos/Device/ClassDriver/Joystick/makefile | 1 + Demos/Device/ClassDriver/Keyboard/makefile | 1 + .../Device/ClassDriver/KeyboardMouse/makefile | 1 + .../KeyboardMouseMultiReport/makefile | 1 + Demos/Device/ClassDriver/MIDI/makefile | 1 + Demos/Device/ClassDriver/MassStorage/makefile | 1 + .../ClassDriver/MassStorageKeyboard/makefile | 1 + Demos/Device/ClassDriver/Mouse/makefile | 1 + .../Device/ClassDriver/RNDISEthernet/makefile | 1 + .../Device/ClassDriver/VirtualSerial/makefile | 1 + .../VirtualSerialMassStorage/makefile | 1 + .../ClassDriver/VirtualSerialMouse/makefile | 1 + Demos/Device/Incomplete/Sideshow/makefile | 1 + .../Incomplete/TestAndMeasurement/makefile | 1 + Demos/Device/LowLevel/AudioInput/makefile | 1 + Demos/Device/LowLevel/AudioOutput/makefile | 1 + .../LowLevel/DualVirtualSerial/makefile | 1 + Demos/Device/LowLevel/GenericHID/makefile | 1 + Demos/Device/LowLevel/Joystick/makefile | 1 + Demos/Device/LowLevel/Keyboard/makefile | 1 + Demos/Device/LowLevel/KeyboardMouse/makefile | 1 + Demos/Device/LowLevel/MIDI/makefile | 1 + Demos/Device/LowLevel/MassStorage/makefile | 1 + Demos/Device/LowLevel/Mouse/makefile | 1 + Demos/Device/LowLevel/RNDISEthernet/makefile | 1 + Demos/Device/LowLevel/VirtualSerial/makefile | 1 + .../ClassDriver/MouseHostDevice/makefile | 1 + .../ClassDriver/AndroidAccessoryHost/makefile | 1 + .../Host/ClassDriver/AudioInputHost/makefile | 1 + .../Host/ClassDriver/AudioOutputHost/makefile | 1 + .../JoystickHostWithParser/makefile | 1 + Demos/Host/ClassDriver/KeyboardHost/makefile | 1 + .../KeyboardHostWithParser/makefile | 1 + Demos/Host/ClassDriver/MIDIHost/makefile | 1 + .../Host/ClassDriver/MassStorageHost/makefile | 1 + Demos/Host/ClassDriver/MouseHost/makefile | 1 + .../ClassDriver/MouseHostWithParser/makefile | 1 + Demos/Host/ClassDriver/PrinterHost/makefile | 1 + .../ClassDriver/RNDISEthernetHost/makefile | 1 + .../Host/ClassDriver/StillImageHost/makefile | 1 + .../ClassDriver/VirtualSerialHost/makefile | 1 + .../LowLevel/AndroidAccessoryHost/makefile | 1 + Demos/Host/LowLevel/AudioInputHost/makefile | 1 + Demos/Host/LowLevel/AudioOutputHost/makefile | 1 + Demos/Host/LowLevel/GenericHIDHost/makefile | 1 + .../LowLevel/JoystickHostWithParser/makefile | 1 + Demos/Host/LowLevel/KeyboardHost/makefile | 1 + .../LowLevel/KeyboardHostWithParser/makefile | 1 + Demos/Host/LowLevel/MIDIHost/makefile | 1 + Demos/Host/LowLevel/MassStorageHost/makefile | 1 + Demos/Host/LowLevel/MouseHost/makefile | 1 + .../LowLevel/MouseHostWithParser/makefile | 1 + Demos/Host/LowLevel/PrinterHost/makefile | 1 + .../Host/LowLevel/RNDISEthernetHost/makefile | 1 + Demos/Host/LowLevel/StillImageHost/makefile | 1 + .../Host/LowLevel/VirtualSerialHost/makefile | 1 + LUFA.pnproj | 2 +- LUFA/Build/lufa.hid.in | 70 +++++++++++++++++ LUFA/CodeTemplates/makefile_template | 1 + LUFA/DoxygenPages/BuildSystem.txt | 75 ++++++++++++++++++- Projects/AVRISP-MKII/makefile | 1 + Projects/Benito/makefile | 1 + Projects/HIDReportViewer/makefile | 1 + Projects/LEDNotifier/makefile | 1 + Projects/MIDIToneGenerator/makefile | 1 + Projects/Magstripe/makefile | 1 + Projects/MediaController/makefile | 1 + Projects/MissileLauncher/makefile | 1 + Projects/RelayBoard/makefile | 1 + Projects/SerialToLCD/makefile | 1 + Projects/TempDataLogger/makefile | 1 + Projects/USBtoSerial/makefile | 1 + Projects/Webserver/makefile | 1 + Projects/XPLAINBridge/makefile | 1 + 78 files changed, 219 insertions(+), 3 deletions(-) create mode 100644 LUFA/Build/lufa.hid.in diff --git a/Demos/Device/ClassDriver/AudioInput/makefile b/Demos/Device/ClassDriver/AudioInput/makefile index 44f445f3ac..1b251cd500 100644 --- a/Demos/Device/ClassDriver/AudioInput/makefile +++ b/Demos/Device/ClassDriver/AudioInput/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/ClassDriver/AudioOutput/makefile b/Demos/Device/ClassDriver/AudioOutput/makefile index f6f6da0252..904e13684c 100644 --- a/Demos/Device/ClassDriver/AudioOutput/makefile +++ b/Demos/Device/ClassDriver/AudioOutput/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/ClassDriver/DualVirtualSerial/makefile b/Demos/Device/ClassDriver/DualVirtualSerial/makefile index 606c37747d..ce751a8650 100644 --- a/Demos/Device/ClassDriver/DualVirtualSerial/makefile +++ b/Demos/Device/ClassDriver/DualVirtualSerial/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/ClassDriver/GenericHID/makefile b/Demos/Device/ClassDriver/GenericHID/makefile index 2521616eb2..5a4b85bf33 100644 --- a/Demos/Device/ClassDriver/GenericHID/makefile +++ b/Demos/Device/ClassDriver/GenericHID/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/ClassDriver/Joystick/makefile b/Demos/Device/ClassDriver/Joystick/makefile index 2525a7de4c..926a50d81c 100644 --- a/Demos/Device/ClassDriver/Joystick/makefile +++ b/Demos/Device/ClassDriver/Joystick/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/ClassDriver/Keyboard/makefile b/Demos/Device/ClassDriver/Keyboard/makefile index d8d7ce0d6a..346f428dda 100644 --- a/Demos/Device/ClassDriver/Keyboard/makefile +++ b/Demos/Device/ClassDriver/Keyboard/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/ClassDriver/KeyboardMouse/makefile b/Demos/Device/ClassDriver/KeyboardMouse/makefile index 54cc5522fc..4727bb1bf8 100644 --- a/Demos/Device/ClassDriver/KeyboardMouse/makefile +++ b/Demos/Device/ClassDriver/KeyboardMouse/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile b/Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile index 874dc732d1..e27213bd7d 100644 --- a/Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile +++ b/Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/ClassDriver/MIDI/makefile b/Demos/Device/ClassDriver/MIDI/makefile index 94ed2be30d..6e5f7d36ea 100644 --- a/Demos/Device/ClassDriver/MIDI/makefile +++ b/Demos/Device/ClassDriver/MIDI/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/ClassDriver/MassStorage/makefile b/Demos/Device/ClassDriver/MassStorage/makefile index dc13db9ca0..4d2d5d03dd 100644 --- a/Demos/Device/ClassDriver/MassStorage/makefile +++ b/Demos/Device/ClassDriver/MassStorage/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in \ No newline at end of file diff --git a/Demos/Device/ClassDriver/MassStorageKeyboard/makefile b/Demos/Device/ClassDriver/MassStorageKeyboard/makefile index 385e5f6ce4..2e410c8698 100644 --- a/Demos/Device/ClassDriver/MassStorageKeyboard/makefile +++ b/Demos/Device/ClassDriver/MassStorageKeyboard/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/ClassDriver/Mouse/makefile b/Demos/Device/ClassDriver/Mouse/makefile index 8b3ec13b4b..d4781581c8 100644 --- a/Demos/Device/ClassDriver/Mouse/makefile +++ b/Demos/Device/ClassDriver/Mouse/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/ClassDriver/RNDISEthernet/makefile b/Demos/Device/ClassDriver/RNDISEthernet/makefile index 042c4f2418..80242eadc9 100644 --- a/Demos/Device/ClassDriver/RNDISEthernet/makefile +++ b/Demos/Device/ClassDriver/RNDISEthernet/makefile @@ -32,5 +32,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/ClassDriver/VirtualSerial/makefile b/Demos/Device/ClassDriver/VirtualSerial/makefile index ebf002909d..da7c8a38c7 100644 --- a/Demos/Device/ClassDriver/VirtualSerial/makefile +++ b/Demos/Device/ClassDriver/VirtualSerial/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile b/Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile index 9587672b59..0665a7f259 100644 --- a/Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile +++ b/Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/ClassDriver/VirtualSerialMouse/makefile b/Demos/Device/ClassDriver/VirtualSerialMouse/makefile index 386cd65029..67e7e365e4 100644 --- a/Demos/Device/ClassDriver/VirtualSerialMouse/makefile +++ b/Demos/Device/ClassDriver/VirtualSerialMouse/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/Incomplete/Sideshow/makefile b/Demos/Device/Incomplete/Sideshow/makefile index b5a4593867..2f032f394b 100644 --- a/Demos/Device/Incomplete/Sideshow/makefile +++ b/Demos/Device/Incomplete/Sideshow/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/Incomplete/TestAndMeasurement/makefile b/Demos/Device/Incomplete/TestAndMeasurement/makefile index cbd43194e4..f59981dc43 100644 --- a/Demos/Device/Incomplete/TestAndMeasurement/makefile +++ b/Demos/Device/Incomplete/TestAndMeasurement/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/LowLevel/AudioInput/makefile b/Demos/Device/LowLevel/AudioInput/makefile index 9748d897ca..477221cb45 100644 --- a/Demos/Device/LowLevel/AudioInput/makefile +++ b/Demos/Device/LowLevel/AudioInput/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/LowLevel/AudioOutput/makefile b/Demos/Device/LowLevel/AudioOutput/makefile index 9fa01dd604..38fb012d2e 100644 --- a/Demos/Device/LowLevel/AudioOutput/makefile +++ b/Demos/Device/LowLevel/AudioOutput/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/LowLevel/DualVirtualSerial/makefile b/Demos/Device/LowLevel/DualVirtualSerial/makefile index 81add683c0..4cb9057d7c 100644 --- a/Demos/Device/LowLevel/DualVirtualSerial/makefile +++ b/Demos/Device/LowLevel/DualVirtualSerial/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/LowLevel/GenericHID/makefile b/Demos/Device/LowLevel/GenericHID/makefile index 17f61929f9..9a35c6d2e4 100644 --- a/Demos/Device/LowLevel/GenericHID/makefile +++ b/Demos/Device/LowLevel/GenericHID/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/LowLevel/Joystick/makefile b/Demos/Device/LowLevel/Joystick/makefile index 1623286527..1e2e6ee453 100644 --- a/Demos/Device/LowLevel/Joystick/makefile +++ b/Demos/Device/LowLevel/Joystick/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/LowLevel/Keyboard/makefile b/Demos/Device/LowLevel/Keyboard/makefile index c1fe9720b2..af67b625af 100644 --- a/Demos/Device/LowLevel/Keyboard/makefile +++ b/Demos/Device/LowLevel/Keyboard/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/LowLevel/KeyboardMouse/makefile b/Demos/Device/LowLevel/KeyboardMouse/makefile index b89c33d1cc..3485e7f839 100644 --- a/Demos/Device/LowLevel/KeyboardMouse/makefile +++ b/Demos/Device/LowLevel/KeyboardMouse/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/LowLevel/MIDI/makefile b/Demos/Device/LowLevel/MIDI/makefile index f8c258ff61..5290fe6657 100644 --- a/Demos/Device/LowLevel/MIDI/makefile +++ b/Demos/Device/LowLevel/MIDI/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/LowLevel/MassStorage/makefile b/Demos/Device/LowLevel/MassStorage/makefile index 22bc7eef4c..7ea0abfc57 100644 --- a/Demos/Device/LowLevel/MassStorage/makefile +++ b/Demos/Device/LowLevel/MassStorage/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/LowLevel/Mouse/makefile b/Demos/Device/LowLevel/Mouse/makefile index ace12363f6..5552aee5ae 100644 --- a/Demos/Device/LowLevel/Mouse/makefile +++ b/Demos/Device/LowLevel/Mouse/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/LowLevel/RNDISEthernet/makefile b/Demos/Device/LowLevel/RNDISEthernet/makefile index fe9256774c..c6c867be84 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/makefile +++ b/Demos/Device/LowLevel/RNDISEthernet/makefile @@ -32,5 +32,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Device/LowLevel/VirtualSerial/makefile b/Demos/Device/LowLevel/VirtualSerial/makefile index 930c1d2024..8ab7f5278d 100644 --- a/Demos/Device/LowLevel/VirtualSerial/makefile +++ b/Demos/Device/LowLevel/VirtualSerial/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/DualRole/ClassDriver/MouseHostDevice/makefile b/Demos/DualRole/ClassDriver/MouseHostDevice/makefile index 3458943d4f..c30b35361c 100644 --- a/Demos/DualRole/ClassDriver/MouseHostDevice/makefile +++ b/Demos/DualRole/ClassDriver/MouseHostDevice/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/ClassDriver/AndroidAccessoryHost/makefile b/Demos/Host/ClassDriver/AndroidAccessoryHost/makefile index d8d255c4f9..2f11b854c8 100644 --- a/Demos/Host/ClassDriver/AndroidAccessoryHost/makefile +++ b/Demos/Host/ClassDriver/AndroidAccessoryHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/ClassDriver/AudioInputHost/makefile b/Demos/Host/ClassDriver/AudioInputHost/makefile index f51574bdcf..46916fcc35 100644 --- a/Demos/Host/ClassDriver/AudioInputHost/makefile +++ b/Demos/Host/ClassDriver/AudioInputHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/ClassDriver/AudioOutputHost/makefile b/Demos/Host/ClassDriver/AudioOutputHost/makefile index 20d2d85d23..ea54c2e5f8 100644 --- a/Demos/Host/ClassDriver/AudioOutputHost/makefile +++ b/Demos/Host/ClassDriver/AudioOutputHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/ClassDriver/JoystickHostWithParser/makefile b/Demos/Host/ClassDriver/JoystickHostWithParser/makefile index 6da44b02ed..a170830e5b 100644 --- a/Demos/Host/ClassDriver/JoystickHostWithParser/makefile +++ b/Demos/Host/ClassDriver/JoystickHostWithParser/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/ClassDriver/KeyboardHost/makefile b/Demos/Host/ClassDriver/KeyboardHost/makefile index 21e61af22c..fb74d48eeb 100644 --- a/Demos/Host/ClassDriver/KeyboardHost/makefile +++ b/Demos/Host/ClassDriver/KeyboardHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile b/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile index 3a2d75084c..005a796414 100644 --- a/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile +++ b/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/ClassDriver/MIDIHost/makefile b/Demos/Host/ClassDriver/MIDIHost/makefile index 98c3caef41..998972556a 100644 --- a/Demos/Host/ClassDriver/MIDIHost/makefile +++ b/Demos/Host/ClassDriver/MIDIHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/ClassDriver/MassStorageHost/makefile b/Demos/Host/ClassDriver/MassStorageHost/makefile index 93a2eb2728..e2835d243a 100644 --- a/Demos/Host/ClassDriver/MassStorageHost/makefile +++ b/Demos/Host/ClassDriver/MassStorageHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/ClassDriver/MouseHost/makefile b/Demos/Host/ClassDriver/MouseHost/makefile index 0935b8d4d9..a20d59d3c8 100644 --- a/Demos/Host/ClassDriver/MouseHost/makefile +++ b/Demos/Host/ClassDriver/MouseHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/ClassDriver/MouseHostWithParser/makefile b/Demos/Host/ClassDriver/MouseHostWithParser/makefile index c342fa1fbe..6bf3ee3bfa 100644 --- a/Demos/Host/ClassDriver/MouseHostWithParser/makefile +++ b/Demos/Host/ClassDriver/MouseHostWithParser/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/ClassDriver/PrinterHost/makefile b/Demos/Host/ClassDriver/PrinterHost/makefile index c83749c913..f4531fcf46 100644 --- a/Demos/Host/ClassDriver/PrinterHost/makefile +++ b/Demos/Host/ClassDriver/PrinterHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/ClassDriver/RNDISEthernetHost/makefile b/Demos/Host/ClassDriver/RNDISEthernetHost/makefile index 1565f773fe..30e6bfcea4 100644 --- a/Demos/Host/ClassDriver/RNDISEthernetHost/makefile +++ b/Demos/Host/ClassDriver/RNDISEthernetHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/ClassDriver/StillImageHost/makefile b/Demos/Host/ClassDriver/StillImageHost/makefile index 29a07dc4c7..118778a86d 100644 --- a/Demos/Host/ClassDriver/StillImageHost/makefile +++ b/Demos/Host/ClassDriver/StillImageHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/ClassDriver/VirtualSerialHost/makefile b/Demos/Host/ClassDriver/VirtualSerialHost/makefile index e074f8413e..6bd3fbe7a2 100644 --- a/Demos/Host/ClassDriver/VirtualSerialHost/makefile +++ b/Demos/Host/ClassDriver/VirtualSerialHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/LowLevel/AndroidAccessoryHost/makefile b/Demos/Host/LowLevel/AndroidAccessoryHost/makefile index bd51e8f53d..c8da7e08f7 100644 --- a/Demos/Host/LowLevel/AndroidAccessoryHost/makefile +++ b/Demos/Host/LowLevel/AndroidAccessoryHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/LowLevel/AudioInputHost/makefile b/Demos/Host/LowLevel/AudioInputHost/makefile index d271e2e461..4f9e8dfae6 100644 --- a/Demos/Host/LowLevel/AudioInputHost/makefile +++ b/Demos/Host/LowLevel/AudioInputHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/LowLevel/AudioOutputHost/makefile b/Demos/Host/LowLevel/AudioOutputHost/makefile index 8185200d72..bb73504efa 100644 --- a/Demos/Host/LowLevel/AudioOutputHost/makefile +++ b/Demos/Host/LowLevel/AudioOutputHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/LowLevel/GenericHIDHost/makefile b/Demos/Host/LowLevel/GenericHIDHost/makefile index 15fb5ec11a..cbec54a4c9 100644 --- a/Demos/Host/LowLevel/GenericHIDHost/makefile +++ b/Demos/Host/LowLevel/GenericHIDHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/LowLevel/JoystickHostWithParser/makefile b/Demos/Host/LowLevel/JoystickHostWithParser/makefile index a3ec3ecf86..6ad0288474 100644 --- a/Demos/Host/LowLevel/JoystickHostWithParser/makefile +++ b/Demos/Host/LowLevel/JoystickHostWithParser/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/LowLevel/KeyboardHost/makefile b/Demos/Host/LowLevel/KeyboardHost/makefile index 4b98db4af3..fe27ca1964 100644 --- a/Demos/Host/LowLevel/KeyboardHost/makefile +++ b/Demos/Host/LowLevel/KeyboardHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/LowLevel/KeyboardHostWithParser/makefile b/Demos/Host/LowLevel/KeyboardHostWithParser/makefile index 05c7e3fa88..4cc47619dd 100644 --- a/Demos/Host/LowLevel/KeyboardHostWithParser/makefile +++ b/Demos/Host/LowLevel/KeyboardHostWithParser/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/LowLevel/MIDIHost/makefile b/Demos/Host/LowLevel/MIDIHost/makefile index 4feb225719..a4a3471751 100644 --- a/Demos/Host/LowLevel/MIDIHost/makefile +++ b/Demos/Host/LowLevel/MIDIHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/LowLevel/MassStorageHost/makefile b/Demos/Host/LowLevel/MassStorageHost/makefile index 3085cd8ff2..0d55202631 100644 --- a/Demos/Host/LowLevel/MassStorageHost/makefile +++ b/Demos/Host/LowLevel/MassStorageHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/LowLevel/MouseHost/makefile b/Demos/Host/LowLevel/MouseHost/makefile index cad2b1c265..dc8c671e41 100644 --- a/Demos/Host/LowLevel/MouseHost/makefile +++ b/Demos/Host/LowLevel/MouseHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/LowLevel/MouseHostWithParser/makefile b/Demos/Host/LowLevel/MouseHostWithParser/makefile index 332bd58eb6..d32a20ac70 100644 --- a/Demos/Host/LowLevel/MouseHostWithParser/makefile +++ b/Demos/Host/LowLevel/MouseHostWithParser/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/LowLevel/PrinterHost/makefile b/Demos/Host/LowLevel/PrinterHost/makefile index 54e3cf67ba..7269e122bf 100644 --- a/Demos/Host/LowLevel/PrinterHost/makefile +++ b/Demos/Host/LowLevel/PrinterHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/LowLevel/RNDISEthernetHost/makefile b/Demos/Host/LowLevel/RNDISEthernetHost/makefile index e9a152a2aa..defb5b2e07 100644 --- a/Demos/Host/LowLevel/RNDISEthernetHost/makefile +++ b/Demos/Host/LowLevel/RNDISEthernetHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/LowLevel/StillImageHost/makefile b/Demos/Host/LowLevel/StillImageHost/makefile index 7aaa7beeee..67537f0364 100644 --- a/Demos/Host/LowLevel/StillImageHost/makefile +++ b/Demos/Host/LowLevel/StillImageHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Demos/Host/LowLevel/VirtualSerialHost/makefile b/Demos/Host/LowLevel/VirtualSerialHost/makefile index 1f2fcbf9f2..8346c8d557 100644 --- a/Demos/Host/LowLevel/VirtualSerialHost/makefile +++ b/Demos/Host/LowLevel/VirtualSerialHost/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/LUFA.pnproj b/LUFA.pnproj index 1bdc23af41..df32a1d532 100644 --- a/LUFA.pnproj +++ b/LUFA.pnproj @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/LUFA/Build/lufa.hid.in b/LUFA/Build/lufa.hid.in new file mode 100644 index 0000000000..2dd1d463b5 --- /dev/null +++ b/LUFA/Build/lufa.hid.in @@ -0,0 +1,70 @@ +# +# LUFA Library +# Copyright (C) Dean Camera, 2012. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# + +LUFA_BUILD_MODULES += HID +LUFA_BUILD_TARGETS += hid hid-teensy +LUFA_BUILD_MANDATORY_VARS += MCU TARGET +LUFA_BUILD_OPTIONAL_VARS += +LUFA_BUILD_PROVIDED_VARS += +LUFA_BUILD_PROVIDED_MACROS += + +# ----------------------------------------------------------------------------- +# LUFA HID Bootloader Buildsystem Makefile Module. +# ----------------------------------------------------------------------------- +# DESCRIPTION: +# Provides a set of targets to re-program a device currently running a HID +# class bootloader with a project's FLASH files. +# ----------------------------------------------------------------------------- +# TARGETS: +# +# hid - Program FLASH into target via +# hid_bootloader_cli +# hid-teensy - Program FLASH into target via +# teensy_loader_cli +# +# MANDATORY PARAMETERS: +# +# MCU - Microcontroller device model name +# TARGET - Application name +# +# OPTIONAL PARAMETERS: +# +# (None) +# +# PROVIDED VARIABLES: +# +# (None) +# +# PROVIDED MACROS: +# +# (None) +# +# ----------------------------------------------------------------------------- + +ERROR_IF_UNSET ?= $(if $(filter undefined, $(origin $(strip $(1)))), $(error Makefile $(strip $(1)) value not set)) +ERROR_IF_EMPTY ?= $(if $(strip $($(strip $(1)))), , $(error Makefile $(strip $(1)) option cannot be blank)) +ERROR_IF_NONBOOL ?= $(if $(filter Y N, $($(strip $(1)))), , $(error Makefile $(strip $(1)) option must be Y or N)) + +# Sanity-check values of mandatory user-supplied variables +$(foreach MANDATORY_VAR, $(LUFA_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) +$(call ERROR_IF_EMPTY, MCU) +$(call ERROR_IF_EMPTY, TARGET) + +# Output Messages +MSG_HID_BOOTLOADER_CMD := ' [HID] :' + +hid: $(TARGET).hex $(MAKEFILE_LIST) + @echo $(MSG_HID_BOOTLOADER_CMD) Programming FLASH with hid_bootloader_cli using \"$<\" + hid_bootloader_cli -mmcu=$(MCU) -v $< + +hid-teensy: $(TARGET).hex $(MAKEFILE_LIST) + @echo $(MSG_HID_BOOTLOADER_CMD) Programming FLASH with teensy_loader_cli using \"$<\" + teensy_loader_cli -mmcu=$(MCU) -v $< + +# Phony build targets for this module +.PHONY: hid hid-teensy diff --git a/LUFA/CodeTemplates/makefile_template b/LUFA/CodeTemplates/makefile_template index fd53e37065..cf2b6737cd 100644 --- a/LUFA/CodeTemplates/makefile_template +++ b/LUFA/CodeTemplates/makefile_template @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/LUFA/DoxygenPages/BuildSystem.txt b/LUFA/DoxygenPages/BuildSystem.txt index 61087a5ce2..0d7d6be741 100644 --- a/LUFA/DoxygenPages/BuildSystem.txt +++ b/LUFA/DoxygenPages/BuildSystem.txt @@ -38,6 +38,7 @@ * \li \subpage Page_BuildModule_CPPCHECK - Static Code Analysis * \li \subpage Page_BuildModule_DFU - Device Programming * \li \subpage Page_BuildModule_DOXYGEN - Automated Source Code Documentation + * \li \subpage Page_BuildModule_HID - Device Programming * \li \subpage Page_BuildModule_SOURCES - LUFA Module Source Code Variables */ @@ -512,11 +513,12 @@ * * The DFU programming utility LUFA build system module, providing targets to reprogram an * Atmel processor FLASH and EEPROM memories with a project's compiled binary output files. - * This module requires a DFU class bootloader to be running in the target. + * This module requires a DFU class bootloader to be running in the target, compatible with + * the DFU bootloader protocol as published by Atmel. * * To use this module in your application makefile, add the following code: * \code - * include $(LUFA_PATH)/Build/lufa.dfu.in + * include $(LUFA_PATH)/Build/lufa.dfu.in * \endcode * * \section SSec_BuildModule_DFU_Requirements Requirements @@ -653,6 +655,75 @@ * */ + /** \page Page_BuildModule_HID The HID build module + * + * The HID programming utility LUFA build system module, providing targets to reprogram an + * Atmel processor's FLASH memory with a project's compiled binary output file. This module + * requires a HID class bootloader to be running in the target, using a protocol compatible + * with the PJRC "HalfKay" protocol (http://www.pjrc.com/teensy/halfkay_protocol.html). + * + * To use this module in your application makefile, add the following code: + * \code + * include $(LUFA_PATH)/Build/lufa.hid.in + * \endcode + * + * \section SSec_BuildModule_HID_Requirements Requirements + * This module requires either the hid_bootloader_cli utility from the included LUFA HID + * class bootloader API subdirectory, or the teensy_loader_cli utility from PJRC + * (http://www.pjrc.com/teensy/loader_cli.html) to be available in your system's PATH + * variable. + * + * \section SSec_BuildModule_HID_Targets Targets + * + * + * + * + * + * + * + * + * + * + *
hidProgram the device FLASH memory with the application's executable data using hid_bootloader_cli.
hid-teensyProgram the device EEPROM memory with the application's executable data using teensy_loader_cli.
+ * + * \section SSec_BuildModule_HID_MandatoryParams Mandatory Parameters + * + * + * + * + * + * + * + * + * + * + *
MCUName of the Atmel processor model (e.g. at90usb1287).
TARGETName of the application output file prefix (e.g. TestApplication).
+ * + * \section SSec_BuildModule_HID_OptionalParams Optional Parameters + * + * + * + * + * + *
None
+ * + * \section SSec_BuildModule_HID_ProvideVariables Module Provided Variables + * + * + * + * + * + *
None
+ * + * \section SSec_BuildModule_HID_ProvidedMacros Module Provided Macros + * + * + * + * + * + *
None
+ */ + /** \page Page_BuildModule_SOURCES The SOURCES build module * * The SOURCES LUFA build system module, providing variables listing the various LUFA source files diff --git a/Projects/AVRISP-MKII/makefile b/Projects/AVRISP-MKII/makefile index 25cd179527..a24ced9746 100644 --- a/Projects/AVRISP-MKII/makefile +++ b/Projects/AVRISP-MKII/makefile @@ -32,5 +32,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Projects/Benito/makefile b/Projects/Benito/makefile index b7ec8a9cae..333f2f6a53 100644 --- a/Projects/Benito/makefile +++ b/Projects/Benito/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Projects/HIDReportViewer/makefile b/Projects/HIDReportViewer/makefile index b56e72f6c6..ecb4989c16 100644 --- a/Projects/HIDReportViewer/makefile +++ b/Projects/HIDReportViewer/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Projects/LEDNotifier/makefile b/Projects/LEDNotifier/makefile index 1c8e0a744d..fa5f9ff460 100644 --- a/Projects/LEDNotifier/makefile +++ b/Projects/LEDNotifier/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Projects/MIDIToneGenerator/makefile b/Projects/MIDIToneGenerator/makefile index 157a651be5..0166c62e07 100644 --- a/Projects/MIDIToneGenerator/makefile +++ b/Projects/MIDIToneGenerator/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Projects/Magstripe/makefile b/Projects/Magstripe/makefile index 7e92c15961..94504a0fe0 100644 --- a/Projects/Magstripe/makefile +++ b/Projects/Magstripe/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Projects/MediaController/makefile b/Projects/MediaController/makefile index 774e47f26d..a87c5574c6 100644 --- a/Projects/MediaController/makefile +++ b/Projects/MediaController/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Projects/MissileLauncher/makefile b/Projects/MissileLauncher/makefile index 7e9433c48d..de4ec444b1 100644 --- a/Projects/MissileLauncher/makefile +++ b/Projects/MissileLauncher/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Projects/RelayBoard/makefile b/Projects/RelayBoard/makefile index 6e680a3dd4..5538105000 100644 --- a/Projects/RelayBoard/makefile +++ b/Projects/RelayBoard/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Projects/SerialToLCD/makefile b/Projects/SerialToLCD/makefile index 2c74f5fbc4..3b4d5aefef 100644 --- a/Projects/SerialToLCD/makefile +++ b/Projects/SerialToLCD/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Projects/TempDataLogger/makefile b/Projects/TempDataLogger/makefile index f5d5bf19b9..d851cee5bf 100644 --- a/Projects/TempDataLogger/makefile +++ b/Projects/TempDataLogger/makefile @@ -32,5 +32,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Projects/USBtoSerial/makefile b/Projects/USBtoSerial/makefile index 270e9b663b..0c837d08b9 100644 --- a/Projects/USBtoSerial/makefile +++ b/Projects/USBtoSerial/makefile @@ -31,5 +31,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Projects/Webserver/makefile b/Projects/Webserver/makefile index d3765ce705..0ef40a5269 100644 --- a/Projects/Webserver/makefile +++ b/Projects/Webserver/makefile @@ -34,5 +34,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in diff --git a/Projects/XPLAINBridge/makefile b/Projects/XPLAINBridge/makefile index 6d6c289c59..304649849b 100644 --- a/Projects/XPLAINBridge/makefile +++ b/Projects/XPLAINBridge/makefile @@ -37,5 +37,6 @@ include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa.dfu.in +include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa.atprogram.in