diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile index cd0315d8c4..53a83ddad9 100644 --- a/Bootloaders/CDC/makefile +++ b/Bootloaders/CDC/makefile @@ -29,8 +29,8 @@ LD_FLAGS = -Wl,--section-start=.text=$(BOOT_START_OFFSET) $(BOOT_API_LD_FLAG FLASH_SIZE_KB = 128 BOOT_SECTION_SIZE_KB = 8 -# Bootloader address calculation formulas (requires the "bc" unix utility) -# Do not modify these macros, but rather modify the depedant values above. +# Bootloader address calculation formulas +# Do not modify these macros, but rather modify the dependent values above. CALC_ADDRESS_IN_HEX = $(shell printf "0x%X" $$(( $(1) )) ) BOOT_START_OFFSET = $(call CALC_ADDRESS_IN_HEX, ($(FLASH_SIZE_KB) - $(BOOT_SECTION_SIZE_KB)) * 1024 ) BOOT_SEC_OFFSET = $(call CALC_ADDRESS_IN_HEX, ($(FLASH_SIZE_KB) * 1024) - $(strip $(1)) ) diff --git a/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile index 9b26784e07..950e8b6577 100644 --- a/Bootloaders/DFU/makefile +++ b/Bootloaders/DFU/makefile @@ -29,8 +29,8 @@ LD_FLAGS = -Wl,--section-start=.text=$(BOOT_START_OFFSET) $(BOOT_API_LD_FLAG FLASH_SIZE_KB = 128 BOOT_SECTION_SIZE_KB = 8 -# Bootloader address calculation formulas (requires the "bc" unix utility) -# Do not modify these macros, but rather modify the depedant values above. +# Bootloader address calculation formulas +# Do not modify these macros, but rather modify the dependent values above. CALC_ADDRESS_IN_HEX = $(shell printf "0x%X" $$(( $(1) )) ) BOOT_START_OFFSET = $(call CALC_ADDRESS_IN_HEX, ($(FLASH_SIZE_KB) - $(BOOT_SECTION_SIZE_KB)) * 1024 ) BOOT_SEC_OFFSET = $(call CALC_ADDRESS_IN_HEX, ($(FLASH_SIZE_KB) * 1024) - $(strip $(1)) ) @@ -44,7 +44,7 @@ BOOT_API_LD_FLAGS += $(call BOOT_SECTION_LD_FLAG, signatures, Signatures, 8 # Default target all: - + # Include LUFA build script makefiles include $(LUFA_PATH)/Build/lufa_core.mk include $(LUFA_PATH)/Build/lufa_sources.mk diff --git a/Bootloaders/HID/makefile b/Bootloaders/HID/makefile index 7476ec1e88..dc7d179ca2 100644 --- a/Bootloaders/HID/makefile +++ b/Bootloaders/HID/makefile @@ -29,8 +29,8 @@ LD_FLAGS = -Wl,--section-start=.text=$(BOOT_START_OFFSET) FLASH_SIZE_KB := 128 BOOT_SECTION_SIZE_KB := 8 -# Bootloader address calculation formulas (requires the "bc" unix utility) -# Do not modify these macros, but rather modify the depedant values above. +# Bootloader address calculation formulas +# Do not modify these macros, but rather modify the dependent values above. CALC_ADDRESS_IN_HEX = $(shell printf "0x%X" $$(( $(1) )) ) BOOT_START_OFFSET = $(call CALC_ADDRESS_IN_HEX, ($(FLASH_SIZE_KB) - $(BOOT_SECTION_SIZE_KB)) * 1024 ) BOOT_SEC_OFFSET = $(call CALC_ADDRESS_IN_HEX, ($(FLASH_SIZE_KB) * 1024) - $(strip $(1)) ) diff --git a/Demos/Device/ClassDriver/DualVirtualSerial/asf.xml b/Demos/Device/ClassDriver/DualVirtualSerial/asf.xml index 2c49a33510..76f3d0a114 100644 --- a/Demos/Device/ClassDriver/DualVirtualSerial/asf.xml +++ b/Demos/Device/ClassDriver/DualVirtualSerial/asf.xml @@ -27,7 +27,6 @@ - diff --git a/Demos/Device/ClassDriver/Joystick/asf.xml b/Demos/Device/ClassDriver/Joystick/asf.xml index 68b23d09ad..0d7bc1969b 100644 --- a/Demos/Device/ClassDriver/Joystick/asf.xml +++ b/Demos/Device/ClassDriver/Joystick/asf.xml @@ -25,7 +25,6 @@ - diff --git a/Demos/Device/ClassDriver/Keyboard/asf.xml b/Demos/Device/ClassDriver/Keyboard/asf.xml index b77c0264da..759149c02a 100644 --- a/Demos/Device/ClassDriver/Keyboard/asf.xml +++ b/Demos/Device/ClassDriver/Keyboard/asf.xml @@ -25,7 +25,6 @@ - diff --git a/Demos/Device/ClassDriver/KeyboardMouse/asf.xml b/Demos/Device/ClassDriver/KeyboardMouse/asf.xml index c802b547af..3f882bdc47 100644 --- a/Demos/Device/ClassDriver/KeyboardMouse/asf.xml +++ b/Demos/Device/ClassDriver/KeyboardMouse/asf.xml @@ -25,7 +25,6 @@ - diff --git a/Demos/Device/ClassDriver/MIDI/asf.xml b/Demos/Device/ClassDriver/MIDI/asf.xml index d3343843d1..632c5822d0 100644 --- a/Demos/Device/ClassDriver/MIDI/asf.xml +++ b/Demos/Device/ClassDriver/MIDI/asf.xml @@ -25,7 +25,6 @@ - diff --git a/Demos/Device/ClassDriver/Mouse/asf.xml b/Demos/Device/ClassDriver/Mouse/asf.xml index ba444751b2..a0066643dd 100644 --- a/Demos/Device/ClassDriver/Mouse/asf.xml +++ b/Demos/Device/ClassDriver/Mouse/asf.xml @@ -25,7 +25,6 @@ - diff --git a/Demos/Device/ClassDriver/VirtualSerial/asf.xml b/Demos/Device/ClassDriver/VirtualSerial/asf.xml index 4d6277a6b2..0212db1672 100644 --- a/Demos/Device/ClassDriver/VirtualSerial/asf.xml +++ b/Demos/Device/ClassDriver/VirtualSerial/asf.xml @@ -27,7 +27,6 @@ - diff --git a/Demos/Device/LowLevel/AudioInput/asf.xml b/Demos/Device/LowLevel/AudioInput/asf.xml new file mode 100644 index 0000000000..af8c9c2600 --- /dev/null +++ b/Demos/Device/LowLevel/AudioInput/asf.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + Audio 1.0 Input device demo, implementing a basic USB microphone. + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Device/LowLevel/AudioOutput/asf.xml b/Demos/Device/LowLevel/AudioOutput/asf.xml new file mode 100644 index 0000000000..50c26ad442 --- /dev/null +++ b/Demos/Device/LowLevel/AudioOutput/asf.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + Audio 1.0 Output device demo, implementing a basic USB speaker. + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Device/LowLevel/DualVirtualSerial/asf.xml b/Demos/Device/LowLevel/DualVirtualSerial/asf.xml new file mode 100644 index 0000000000..b848280e90 --- /dev/null +++ b/Demos/Device/LowLevel/DualVirtualSerial/asf.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + Dual Virtual Serial (CDC) demo, implementing a pair of virtual serial port interfaces. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Device/LowLevel/GenericHID/asf.xml b/Demos/Device/LowLevel/GenericHID/asf.xml new file mode 100644 index 0000000000..9470d44cfa --- /dev/null +++ b/Demos/Device/LowLevel/GenericHID/asf.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + Generic HID device demo, implementing a device whose LEDs can be controlled via HID messages from the host. + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Device/LowLevel/Joystick/asf.xml b/Demos/Device/LowLevel/Joystick/asf.xml new file mode 100644 index 0000000000..f695dd98c9 --- /dev/null +++ b/Demos/Device/LowLevel/Joystick/asf.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + Joystick HID device demo, implementing a basic USB joystick that can send movement information to the host. + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Device/LowLevel/Keyboard/asf.xml b/Demos/Device/LowLevel/Keyboard/asf.xml new file mode 100644 index 0000000000..3b89b868bd --- /dev/null +++ b/Demos/Device/LowLevel/Keyboard/asf.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + Keyboard HID device demo, implementing a basic USB keyboard that can send key press information to the host. + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Device/LowLevel/KeyboardMouse/asf.xml b/Demos/Device/LowLevel/KeyboardMouse/asf.xml new file mode 100644 index 0000000000..4ff2fb8bf9 --- /dev/null +++ b/Demos/Device/LowLevel/KeyboardMouse/asf.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + Keyboard and Mouse HID device demo, implementing a basic USB keyboard and mouse using a pair of HID interfaces. + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Device/LowLevel/MIDI/asf.xml b/Demos/Device/LowLevel/MIDI/asf.xml new file mode 100644 index 0000000000..e70fd4eeb0 --- /dev/null +++ b/Demos/Device/LowLevel/MIDI/asf.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + MIDI device demo, implementing a basic USB MIDI device that can send messages to the host. + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Device/LowLevel/MassStorage/asf.xml b/Demos/Device/LowLevel/MassStorage/asf.xml new file mode 100644 index 0000000000..689d00a99d --- /dev/null +++ b/Demos/Device/LowLevel/MassStorage/asf.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + Mass Storage device demo, implementing a basic USB storage disk using a Dataflash memory IC. + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Device/LowLevel/Mouse/asf.xml b/Demos/Device/LowLevel/Mouse/asf.xml new file mode 100644 index 0000000000..65f27f9e25 --- /dev/null +++ b/Demos/Device/LowLevel/Mouse/asf.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + Mouse device demo, implementing a basic USB mouse device that can send movement information to the host. + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Device/LowLevel/RNDISEthernet/asf.xml b/Demos/Device/LowLevel/RNDISEthernet/asf.xml new file mode 100644 index 0000000000..c14fe00d3d --- /dev/null +++ b/Demos/Device/LowLevel/RNDISEthernet/asf.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + Microsoft RNDIS Ethernet networking device demo, implementing a basic HTTP webserver. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Device/LowLevel/VirtualSerial/asf.xml b/Demos/Device/LowLevel/VirtualSerial/asf.xml new file mode 100644 index 0000000000..122716ef8c --- /dev/null +++ b/Demos/Device/LowLevel/VirtualSerial/asf.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + Virtual Serial device demo, implementing a virtual serial channel between the host PC and the device. + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Host/ClassDriver/AudioOutputHost/asf.xml b/Demos/Host/ClassDriver/AudioOutputHost/asf.xml index 4e7cc50a59..66276597bb 100644 --- a/Demos/Host/ClassDriver/AudioOutputHost/asf.xml +++ b/Demos/Host/ClassDriver/AudioOutputHost/asf.xml @@ -19,8 +19,8 @@ - - + + diff --git a/Demos/Host/LowLevel/AndroidAccessoryHost/asf.xml b/Demos/Host/LowLevel/AndroidAccessoryHost/asf.xml new file mode 100644 index 0000000000..669632a336 --- /dev/null +++ b/Demos/Host/LowLevel/AndroidAccessoryHost/asf.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + Android Accessory Host demo, implementing a basic USB device whose LEDs can be controlled via an Android device. + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Host/LowLevel/AudioInputHost/asf.xml b/Demos/Host/LowLevel/AudioInputHost/asf.xml new file mode 100644 index 0000000000..8f4c484d92 --- /dev/null +++ b/Demos/Host/LowLevel/AudioInputHost/asf.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + Audio Input Host demo, implementing a basic USB audio sink that can output incoming audio data to a speaker. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Host/LowLevel/AudioOutputHost/asf.xml b/Demos/Host/LowLevel/AudioOutputHost/asf.xml new file mode 100644 index 0000000000..2c0592e51a --- /dev/null +++ b/Demos/Host/LowLevel/AudioOutputHost/asf.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + Audio Output Host demo, implementing a basic USB audio source that can output audio data to an attached device. + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Host/LowLevel/GenericHIDHost/asf.xml b/Demos/Host/LowLevel/GenericHIDHost/asf.xml new file mode 100644 index 0000000000..4c545b919d --- /dev/null +++ b/Demos/Host/LowLevel/GenericHIDHost/asf.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + Generic HID Host demo, implementing a basic USB HID device that can send and receive data to and from an attached device. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Host/LowLevel/JoystickHostWithParser/asf.xml b/Demos/Host/LowLevel/JoystickHostWithParser/asf.xml new file mode 100644 index 0000000000..acd3020066 --- /dev/null +++ b/Demos/Host/LowLevel/JoystickHostWithParser/asf.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + Joystick HID Host demo with HID parser, implementing a basic USB joystick host that can display movement data on the board LEDs. + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Host/LowLevel/KeyboardHost/asf.xml b/Demos/Host/LowLevel/KeyboardHost/asf.xml new file mode 100644 index 0000000000..ab8a66b3f6 --- /dev/null +++ b/Demos/Host/LowLevel/KeyboardHost/asf.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + Keyboard HID Host demo, implementing a basic USB keyboard host that can display key press data on the board LEDs. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Host/LowLevel/KeyboardHostWithParser/asf.xml b/Demos/Host/LowLevel/KeyboardHostWithParser/asf.xml new file mode 100644 index 0000000000..1092a58fdd --- /dev/null +++ b/Demos/Host/LowLevel/KeyboardHostWithParser/asf.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + Keyboard HID Host demo with HID parser, implementing a basic USB keyboard host that can display key press data on the board LEDs. + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Host/LowLevel/MIDIHost/asf.xml b/Demos/Host/LowLevel/MIDIHost/asf.xml new file mode 100644 index 0000000000..d3a982b63d --- /dev/null +++ b/Demos/Host/LowLevel/MIDIHost/asf.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + MIDI Host demo, capable of sending and receiving MIDI messages to and from an attached device. + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Host/LowLevel/MassStorageHost/asf.xml b/Demos/Host/LowLevel/MassStorageHost/asf.xml new file mode 100644 index 0000000000..cb5e20ba53 --- /dev/null +++ b/Demos/Host/LowLevel/MassStorageHost/asf.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + Mass Storage Host demo, capable of reading and writing raw 512 byte segments to the device's serial port. + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Host/LowLevel/MouseHost/asf.xml b/Demos/Host/LowLevel/MouseHost/asf.xml new file mode 100644 index 0000000000..191a5f0e80 --- /dev/null +++ b/Demos/Host/LowLevel/MouseHost/asf.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + Keyboard HID Host demo, implementing a basic USB mouse host that can display movement data on the board LEDs. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Host/LowLevel/MouseHostWithParser/asf.xml b/Demos/Host/LowLevel/MouseHostWithParser/asf.xml new file mode 100644 index 0000000000..579b382f3f --- /dev/null +++ b/Demos/Host/LowLevel/MouseHostWithParser/asf.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + Mouse HID Host demo with HID parser, implementing a basic USB mouse host that can display movement data on the board LEDs. + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Host/LowLevel/PrinterHost/asf.xml b/Demos/Host/LowLevel/PrinterHost/asf.xml new file mode 100644 index 0000000000..70dbd3c8c2 --- /dev/null +++ b/Demos/Host/LowLevel/PrinterHost/asf.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + Printer Host demo, implementing a basic USB printer host that can send raw printer control data to an attached device. + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Host/LowLevel/RNDISEthernetHost/asf.xml b/Demos/Host/LowLevel/RNDISEthernetHost/asf.xml new file mode 100644 index 0000000000..85a40f5b4b --- /dev/null +++ b/Demos/Host/LowLevel/RNDISEthernetHost/asf.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + Microsoft RNDIS Ethernet Host demo, implementing a RNDIS host that can send and receive Ethernet data to and from an attached device. + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Host/LowLevel/StillImageHost/asf.xml b/Demos/Host/LowLevel/StillImageHost/asf.xml new file mode 100644 index 0000000000..b18ab31e0e --- /dev/null +++ b/Demos/Host/LowLevel/StillImageHost/asf.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + Still Image Host demo, implementing a Still Image host that can send and receive PIMA data to and from an attached device. + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/Host/LowLevel/VirtualSerialHost/asf.xml b/Demos/Host/LowLevel/VirtualSerialHost/asf.xml new file mode 100644 index 0000000000..8a43be1289 --- /dev/null +++ b/Demos/Host/LowLevel/VirtualSerialHost/asf.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + Virtual Serial Host demo, implementing a CDC host that can send and receive data to and from an attached device. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/generate_caches.py b/LUFA/StudioIntegration/generate_caches.py index c76c0d8bb7..9c70ebdf1a 100644 --- a/LUFA/StudioIntegration/generate_caches.py +++ b/LUFA/StudioIntegration/generate_caches.py @@ -16,7 +16,7 @@ def main(): from asf_avrstudio5_interface import PythonFacade except ImportError: print "Fatal Error: The ASF project generator is missing." - sys.exit() + return 1 p = PythonFacade(os.path.abspath(__file__)) @@ -29,6 +29,7 @@ def main(): p.generate_extension_cache_files(sys.argv[1]) print "[Project Generator] Cache files created." + return 0 if __name__ == "__main__": diff --git a/Projects/TempDataLogger/asf.xml b/Projects/TempDataLogger/asf.xml index cd0afd443f..8db5591872 100644 --- a/Projects/TempDataLogger/asf.xml +++ b/Projects/TempDataLogger/asf.xml @@ -34,6 +34,7 @@ + diff --git a/Projects/Webserver/asf.xml b/Projects/Webserver/asf.xml index 4013a0ae08..121a9a3328 100644 --- a/Projects/Webserver/asf.xml +++ b/Projects/Webserver/asf.xml @@ -47,6 +47,7 @@ + @@ -54,6 +55,7 @@ +