├── README.md ├── anykey ├── Anykey.c ├── Anykey.h ├── Descriptors.c ├── Descriptors.h ├── Makefile ├── anykey_bootloader.hex ├── boards_example.txt ├── bootprep.sh ├── firmware_dumper.sh ├── flash_anykey_bootloader.sh ├── flash_factory.sh └── license.txt ├── avrdude ├── avrdude.conf └── flash_bootloader.sh ├── caterina ├── CDC-AVR8-atmega32u2-BOARD_NONE-BOOT_4KB-16MHz.hex ├── Caterina-AnyKey.hex ├── Caterina-Circuitplay32u4.hex ├── Caterina-Esplora.hex ├── Caterina-Esplora.txt ├── Caterina-Genuino-Micro.hex ├── Caterina-Genuino-Micro.txt ├── Caterina-Industrial101.hex ├── Caterina-Leonardo.dump ├── Caterina-Leonardo.hex ├── Caterina-Leonardo.txt ├── Caterina-LeonardoEthernet.hex ├── Caterina-LininoOne.hex ├── Caterina-Micro.hex ├── Caterina-Micro.txt ├── Caterina-Yun-noblink.hex ├── Caterina-Yun.hex ├── Caterina-YunMini.hex ├── Caterina.c ├── Caterina.h ├── Caterina.hex ├── Descriptors.c ├── Descriptors.h ├── Esplora-prod-firmware-2012-12-10.hex ├── Esplora-prod-firmware-2012-12-10.txt ├── Leonardo-prod-firmware-2012-04-26.hex ├── Leonardo-prod-firmware-2012-04-26.txt ├── Leonardo-prod-firmware-2012-12-10.hex ├── Leonardo-prod-firmware-2012-12-10.txt ├── Makefile ├── Micro-prod-firmware-2012-11-23.hex ├── Micro-prod-firmware-2012-11-23.txt ├── Micro-prod-firmware-2012-12-10.hex └── Micro-prod-firmware-2012-12-10.txt ├── examples ├── ArduinoISP_bootlock_example │ └── ArduinoISP_bootlock_example.ino └── anykey_boot_lock.JPG ├── lufa-LUFA-111009 ├── Bootloaders │ ├── CDC │ │ ├── BootloaderCDC.aps │ │ ├── BootloaderCDC.c │ │ ├── BootloaderCDC.h │ │ ├── BootloaderCDC.txt │ │ ├── Descriptors.c │ │ ├── Descriptors.h │ │ ├── Doxygen.conf │ │ ├── LUFA CDC Bootloader.inf │ │ └── makefile │ ├── DFU │ │ ├── BootloaderDFU.aps │ │ ├── BootloaderDFU.c │ │ ├── BootloaderDFU.h │ │ ├── BootloaderDFU.txt │ │ ├── Descriptors.c │ │ ├── Descriptors.h │ │ ├── Doxygen.conf │ │ └── makefile │ ├── HID │ │ ├── BootloaderHID.aps │ │ ├── BootloaderHID.c │ │ ├── BootloaderHID.h │ │ ├── BootloaderHID.txt │ │ ├── Descriptors.c │ │ ├── Descriptors.h │ │ ├── Doxygen.conf │ │ ├── HostLoaderApp │ │ │ ├── Makefile │ │ │ ├── Makefile.bsd │ │ │ ├── gpl3.txt │ │ │ └── hid_bootloader_cli.c │ │ └── makefile │ └── makefile ├── Demos │ ├── Device │ │ ├── ClassDriver │ │ │ ├── AudioInput │ │ │ │ ├── AudioInput.aps │ │ │ │ ├── AudioInput.c │ │ │ │ ├── AudioInput.h │ │ │ │ ├── AudioInput.txt │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ └── makefile │ │ │ ├── AudioOutput │ │ │ │ ├── AudioOutput.aps │ │ │ │ ├── AudioOutput.c │ │ │ │ ├── AudioOutput.h │ │ │ │ ├── AudioOutput.txt │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ └── makefile │ │ │ ├── DualVirtualSerial │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── DualVirtualSerial.aps │ │ │ │ ├── DualVirtualSerial.c │ │ │ │ ├── DualVirtualSerial.h │ │ │ │ ├── DualVirtualSerial.txt │ │ │ │ ├── LUFA DualVirtualSerial.inf │ │ │ │ └── makefile │ │ │ ├── GenericHID │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── GenericHID.aps │ │ │ │ ├── GenericHID.c │ │ │ │ ├── GenericHID.h │ │ │ │ ├── GenericHID.txt │ │ │ │ └── makefile │ │ │ ├── Joystick │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── Joystick.aps │ │ │ │ ├── Joystick.c │ │ │ │ ├── Joystick.h │ │ │ │ ├── Joystick.txt │ │ │ │ └── makefile │ │ │ ├── Keyboard │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── Keyboard.aps │ │ │ │ ├── Keyboard.c │ │ │ │ ├── Keyboard.h │ │ │ │ ├── Keyboard.txt │ │ │ │ └── makefile │ │ │ ├── KeyboardMouse │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── KeyboardMouse.aps │ │ │ │ ├── KeyboardMouse.c │ │ │ │ ├── KeyboardMouse.h │ │ │ │ ├── KeyboardMouse.txt │ │ │ │ └── makefile │ │ │ ├── KeyboardMouseMultiReport │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── KeyboardMouseMultiReport.aps │ │ │ │ ├── KeyboardMouseMultiReport.c │ │ │ │ ├── KeyboardMouseMultiReport.h │ │ │ │ ├── KeyboardMouseMultiReport.txt │ │ │ │ └── makefile │ │ │ ├── MIDI │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── MIDI.aps │ │ │ │ ├── MIDI.c │ │ │ │ ├── MIDI.h │ │ │ │ ├── MIDI.txt │ │ │ │ └── makefile │ │ │ ├── MassStorage │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── Lib │ │ │ │ │ ├── DataflashManager.c │ │ │ │ │ ├── DataflashManager.h │ │ │ │ │ ├── SCSI.c │ │ │ │ │ └── SCSI.h │ │ │ │ ├── MassStorage.aps │ │ │ │ ├── MassStorage.c │ │ │ │ ├── MassStorage.h │ │ │ │ ├── MassStorage.txt │ │ │ │ └── makefile │ │ │ ├── MassStorageKeyboard │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── Lib │ │ │ │ │ ├── DataflashManager.c │ │ │ │ │ ├── DataflashManager.h │ │ │ │ │ ├── SCSI.c │ │ │ │ │ └── SCSI.h │ │ │ │ ├── MassStorageKeyboard.aps │ │ │ │ ├── MassStorageKeyboard.c │ │ │ │ ├── MassStorageKeyboard.h │ │ │ │ ├── MassStorageKeyboard.txt │ │ │ │ └── makefile │ │ │ ├── Mouse │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── Mouse.aps │ │ │ │ ├── Mouse.c │ │ │ │ ├── Mouse.h │ │ │ │ ├── Mouse.txt │ │ │ │ └── makefile │ │ │ ├── RNDISEthernet │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── LUFA RNDIS.inf │ │ │ │ ├── Lib │ │ │ │ │ ├── ARP.c │ │ │ │ │ ├── ARP.h │ │ │ │ │ ├── DHCP.c │ │ │ │ │ ├── DHCP.h │ │ │ │ │ ├── Ethernet.c │ │ │ │ │ ├── Ethernet.h │ │ │ │ │ ├── EthernetProtocols.h │ │ │ │ │ ├── ICMP.c │ │ │ │ │ ├── ICMP.h │ │ │ │ │ ├── IP.c │ │ │ │ │ ├── IP.h │ │ │ │ │ ├── ProtocolDecoders.c │ │ │ │ │ ├── ProtocolDecoders.h │ │ │ │ │ ├── TCP.c │ │ │ │ │ ├── TCP.h │ │ │ │ │ ├── UDP.c │ │ │ │ │ ├── UDP.h │ │ │ │ │ ├── Webserver.c │ │ │ │ │ └── Webserver.h │ │ │ │ ├── RNDISEthernet.aps │ │ │ │ ├── RNDISEthernet.c │ │ │ │ ├── RNDISEthernet.h │ │ │ │ ├── RNDISEthernet.txt │ │ │ │ └── makefile │ │ │ ├── VirtualSerial │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── LUFA VirtualSerial.inf │ │ │ │ ├── VirtualSerial.aps │ │ │ │ ├── VirtualSerial.c │ │ │ │ ├── VirtualSerial.h │ │ │ │ ├── VirtualSerial.txt │ │ │ │ └── makefile │ │ │ ├── VirtualSerialMassStorage │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── LUFA VirtualSerialMassStorage.inf │ │ │ │ ├── Lib │ │ │ │ │ ├── DataflashManager.c │ │ │ │ │ ├── DataflashManager.h │ │ │ │ │ ├── SCSI.c │ │ │ │ │ └── SCSI.h │ │ │ │ ├── VirtualSerialMassStorage.aps │ │ │ │ ├── VirtualSerialMassStorage.c │ │ │ │ ├── VirtualSerialMassStorage.h │ │ │ │ ├── VirtualSerialMassStorage.txt │ │ │ │ └── makefile │ │ │ ├── VirtualSerialMouse │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── LUFA VirtualSerialMouse.inf │ │ │ │ ├── VirtualSerialMouse.aps │ │ │ │ ├── VirtualSerialMouse.c │ │ │ │ ├── VirtualSerialMouse.h │ │ │ │ ├── VirtualSerialMouse.txt │ │ │ │ └── makefile │ │ │ └── makefile │ │ ├── Incomplete │ │ │ ├── Sideshow │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Lib │ │ │ │ │ ├── SideshowApplications.c │ │ │ │ │ ├── SideshowApplications.h │ │ │ │ │ ├── SideshowCommands.c │ │ │ │ │ ├── SideshowCommands.h │ │ │ │ │ ├── SideshowCommon.c │ │ │ │ │ ├── SideshowCommon.h │ │ │ │ │ ├── SideshowContent.c │ │ │ │ │ └── SideshowContent.h │ │ │ │ ├── Sideshow.c │ │ │ │ ├── Sideshow.h │ │ │ │ └── makefile │ │ │ └── TestAndMeasurement │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── TestAndMeasurement.c │ │ │ │ ├── TestAndMeasurement.h │ │ │ │ └── makefile │ │ ├── LowLevel │ │ │ ├── AudioInput │ │ │ │ ├── AudioInput.aps │ │ │ │ ├── AudioInput.c │ │ │ │ ├── AudioInput.h │ │ │ │ ├── AudioInput.txt │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ └── makefile │ │ │ ├── AudioOutput │ │ │ │ ├── AudioOutput.aps │ │ │ │ ├── AudioOutput.c │ │ │ │ ├── AudioOutput.h │ │ │ │ ├── AudioOutput.txt │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ └── makefile │ │ │ ├── DualVirtualSerial │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── DualVirtualSerial.aps │ │ │ │ ├── DualVirtualSerial.c │ │ │ │ ├── DualVirtualSerial.h │ │ │ │ ├── DualVirtualSerial.txt │ │ │ │ ├── LUFA DualVirtualSerial.inf │ │ │ │ └── makefile │ │ │ ├── GenericHID │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── GenericHID.aps │ │ │ │ ├── GenericHID.c │ │ │ │ ├── GenericHID.h │ │ │ │ ├── GenericHID.txt │ │ │ │ └── makefile │ │ │ ├── Joystick │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── Joystick.aps │ │ │ │ ├── Joystick.c │ │ │ │ ├── Joystick.h │ │ │ │ ├── Joystick.txt │ │ │ │ └── makefile │ │ │ ├── Keyboard │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── Keyboard.aps │ │ │ │ ├── Keyboard.c │ │ │ │ ├── Keyboard.h │ │ │ │ ├── Keyboard.txt │ │ │ │ └── makefile │ │ │ ├── KeyboardMouse │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── KeyboardMouse.aps │ │ │ │ ├── KeyboardMouse.c │ │ │ │ ├── KeyboardMouse.h │ │ │ │ ├── KeyboardMouse.txt │ │ │ │ └── makefile │ │ │ ├── MIDI │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── MIDI.aps │ │ │ │ ├── MIDI.c │ │ │ │ ├── MIDI.h │ │ │ │ ├── MIDI.txt │ │ │ │ └── makefile │ │ │ ├── MassStorage │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── Lib │ │ │ │ │ ├── DataflashManager.c │ │ │ │ │ ├── DataflashManager.h │ │ │ │ │ ├── SCSI.c │ │ │ │ │ └── SCSI.h │ │ │ │ ├── MassStorage.aps │ │ │ │ ├── MassStorage.c │ │ │ │ ├── MassStorage.h │ │ │ │ ├── MassStorage.txt │ │ │ │ └── makefile │ │ │ ├── Mouse │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── Mouse.aps │ │ │ │ ├── Mouse.c │ │ │ │ ├── Mouse.h │ │ │ │ ├── Mouse.txt │ │ │ │ └── makefile │ │ │ ├── RNDISEthernet │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── LUFA RNDIS.inf │ │ │ │ ├── Lib │ │ │ │ │ ├── ARP.c │ │ │ │ │ ├── ARP.h │ │ │ │ │ ├── DHCP.c │ │ │ │ │ ├── DHCP.h │ │ │ │ │ ├── Ethernet.c │ │ │ │ │ ├── Ethernet.h │ │ │ │ │ ├── EthernetProtocols.h │ │ │ │ │ ├── ICMP.c │ │ │ │ │ ├── ICMP.h │ │ │ │ │ ├── IP.c │ │ │ │ │ ├── IP.h │ │ │ │ │ ├── ProtocolDecoders.c │ │ │ │ │ ├── ProtocolDecoders.h │ │ │ │ │ ├── RNDIS.c │ │ │ │ │ ├── RNDIS.h │ │ │ │ │ ├── TCP.c │ │ │ │ │ ├── TCP.h │ │ │ │ │ ├── UDP.c │ │ │ │ │ ├── UDP.h │ │ │ │ │ ├── Webserver.c │ │ │ │ │ └── Webserver.h │ │ │ │ ├── RNDISEthernet.aps │ │ │ │ ├── RNDISEthernet.c │ │ │ │ ├── RNDISEthernet.h │ │ │ │ ├── RNDISEthernet.txt │ │ │ │ └── makefile │ │ │ ├── VirtualSerial │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── LUFA VirtualSerial.inf │ │ │ │ ├── VirtualSerial.aps │ │ │ │ ├── VirtualSerial.c │ │ │ │ ├── VirtualSerial.h │ │ │ │ ├── VirtualSerial.txt │ │ │ │ └── makefile │ │ │ └── makefile │ │ └── makefile │ ├── DualRole │ │ ├── ClassDriver │ │ │ ├── MouseHostDevice │ │ │ │ ├── Descriptors.c │ │ │ │ ├── Descriptors.h │ │ │ │ ├── DeviceFunctions.c │ │ │ │ ├── DeviceFunctions.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── HostFunctions.c │ │ │ │ ├── HostFunctions.h │ │ │ │ ├── MouseHostDevice.aps │ │ │ │ ├── MouseHostDevice.c │ │ │ │ ├── MouseHostDevice.h │ │ │ │ ├── MouseHostDevice.txt │ │ │ │ └── makefile │ │ │ └── makefile │ │ └── makefile │ ├── Host │ │ ├── ClassDriver │ │ │ ├── AudioInputHost │ │ │ │ ├── AudioInputHost.aps │ │ │ │ ├── AudioInputHost.c │ │ │ │ ├── AudioInputHost.h │ │ │ │ ├── AudioInputHost.txt │ │ │ │ ├── Doxygen.conf │ │ │ │ └── makefile │ │ │ ├── AudioOutputHost │ │ │ │ ├── AudioOutputHost.aps │ │ │ │ ├── AudioOutputHost.c │ │ │ │ ├── AudioOutputHost.h │ │ │ │ ├── AudioOutputHost.txt │ │ │ │ ├── Doxygen.conf │ │ │ │ └── makefile │ │ │ ├── JoystickHostWithParser │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── JoystickHostWithParser.aps │ │ │ │ ├── JoystickHostWithParser.c │ │ │ │ ├── JoystickHostWithParser.h │ │ │ │ ├── JoystickHostWithParser.txt │ │ │ │ └── makefile │ │ │ ├── KeyboardHost │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── KeyboardHost.aps │ │ │ │ ├── KeyboardHost.c │ │ │ │ ├── KeyboardHost.h │ │ │ │ ├── KeyboardHost.txt │ │ │ │ └── makefile │ │ │ ├── KeyboardHostWithParser │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── KeyboardHostWithParser.aps │ │ │ │ ├── KeyboardHostWithParser.c │ │ │ │ ├── KeyboardHostWithParser.h │ │ │ │ ├── KeyboardHostWithParser.txt │ │ │ │ └── makefile │ │ │ ├── MIDIHost │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── MIDIHost.aps │ │ │ │ ├── MIDIHost.c │ │ │ │ ├── MIDIHost.h │ │ │ │ ├── MIDIHost.txt │ │ │ │ └── makefile │ │ │ ├── MassStorageHost │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── MassStorageHost.aps │ │ │ │ ├── MassStorageHost.c │ │ │ │ ├── MassStorageHost.h │ │ │ │ ├── MassStorageHost.txt │ │ │ │ └── makefile │ │ │ ├── MouseHost │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── MouseHost.aps │ │ │ │ ├── MouseHost.c │ │ │ │ ├── MouseHost.h │ │ │ │ ├── MouseHost.txt │ │ │ │ └── makefile │ │ │ ├── MouseHostWithParser │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── MouseHostWithParser.aps │ │ │ │ ├── MouseHostWithParser.c │ │ │ │ ├── MouseHostWithParser.h │ │ │ │ ├── MouseHostWithParser.txt │ │ │ │ └── makefile │ │ │ ├── PrinterHost │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── PrinterHost.aps │ │ │ │ ├── PrinterHost.c │ │ │ │ ├── PrinterHost.h │ │ │ │ ├── PrinterHost.txt │ │ │ │ └── makefile │ │ │ ├── RNDISEthernetHost │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── RNDISEthernetHost.aps │ │ │ │ ├── RNDISEthernetHost.c │ │ │ │ ├── RNDISEthernetHost.h │ │ │ │ ├── RNDISEthernetHost.txt │ │ │ │ └── makefile │ │ │ ├── StillImageHost │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── StillImageHost.aps │ │ │ │ ├── StillImageHost.c │ │ │ │ ├── StillImageHost.h │ │ │ │ ├── StillImageHost.txt │ │ │ │ └── makefile │ │ │ ├── VirtualSerialHost │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── VirtualSerialHost.aps │ │ │ │ ├── VirtualSerialHost.c │ │ │ │ ├── VirtualSerialHost.h │ │ │ │ ├── VirtualSerialHost.txt │ │ │ │ └── makefile │ │ │ └── makefile │ │ ├── Incomplete │ │ │ ├── AndroidAccessoryHost │ │ │ │ ├── AndroidAccessoryHost.c │ │ │ │ ├── AndroidAccessoryHost.h │ │ │ │ ├── ConfigDescriptor.c │ │ │ │ ├── ConfigDescriptor.h │ │ │ │ ├── DeviceDescriptor.c │ │ │ │ ├── DeviceDescriptor.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── Lib │ │ │ │ │ ├── AndroidAccessoryCommands.c │ │ │ │ │ └── AndroidAccessoryCommands.h │ │ │ │ └── makefile │ │ │ └── BluetoothHost │ │ │ │ ├── BluetoothEvents.c │ │ │ │ ├── BluetoothEvents.h │ │ │ │ ├── BluetoothHost.c │ │ │ │ ├── BluetoothHost.h │ │ │ │ ├── ConfigDescriptor.c │ │ │ │ ├── ConfigDescriptor.h │ │ │ │ ├── DeviceDescriptor.c │ │ │ │ ├── DeviceDescriptor.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── Lib │ │ │ │ ├── BluetoothACLPackets.c │ │ │ │ ├── BluetoothACLPackets.h │ │ │ │ ├── BluetoothClassCodes.h │ │ │ │ ├── BluetoothHCICommands.c │ │ │ │ ├── BluetoothHCICommands.h │ │ │ │ ├── BluetoothStack.c │ │ │ │ ├── BluetoothStack.h │ │ │ │ ├── RFCOMM.c │ │ │ │ ├── RFCOMM.h │ │ │ │ ├── RFCOMMControl.c │ │ │ │ ├── RFCOMMControl.h │ │ │ │ ├── SDP.c │ │ │ │ ├── SDP.h │ │ │ │ ├── SDPServices.c │ │ │ │ └── SDPServices.h │ │ │ │ └── makefile │ │ ├── LowLevel │ │ │ ├── AudioInputHost │ │ │ │ ├── AudioInputHost.aps │ │ │ │ ├── AudioInputHost.c │ │ │ │ ├── AudioInputHost.h │ │ │ │ ├── AudioInputHost.txt │ │ │ │ ├── ConfigDescriptor.c │ │ │ │ ├── ConfigDescriptor.h │ │ │ │ ├── Doxygen.conf │ │ │ │ └── makefile │ │ │ ├── AudioOutputHost │ │ │ │ ├── AudioOutputHost.aps │ │ │ │ ├── AudioOutputHost.c │ │ │ │ ├── AudioOutputHost.h │ │ │ │ ├── AudioOutputHost.txt │ │ │ │ ├── ConfigDescriptor.c │ │ │ │ ├── ConfigDescriptor.h │ │ │ │ ├── Doxygen.conf │ │ │ │ └── makefile │ │ │ ├── GenericHIDHost │ │ │ │ ├── ConfigDescriptor.c │ │ │ │ ├── ConfigDescriptor.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── GenericHIDHost.aps │ │ │ │ ├── GenericHIDHost.c │ │ │ │ ├── GenericHIDHost.h │ │ │ │ ├── GenericHIDHost.txt │ │ │ │ └── makefile │ │ │ ├── JoystickHostWithParser │ │ │ │ ├── ConfigDescriptor.c │ │ │ │ ├── ConfigDescriptor.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── HIDReport.c │ │ │ │ ├── HIDReport.h │ │ │ │ ├── JoystickHostWithParser.aps │ │ │ │ ├── JoystickHostWithParser.c │ │ │ │ ├── JoystickHostWithParser.h │ │ │ │ ├── JoystickHostWithParser.txt │ │ │ │ └── makefile │ │ │ ├── KeyboardHost │ │ │ │ ├── ConfigDescriptor.c │ │ │ │ ├── ConfigDescriptor.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── KeyboardHost.aps │ │ │ │ ├── KeyboardHost.c │ │ │ │ ├── KeyboardHost.h │ │ │ │ ├── KeyboardHost.txt │ │ │ │ └── makefile │ │ │ ├── KeyboardHostWithParser │ │ │ │ ├── ConfigDescriptor.c │ │ │ │ ├── ConfigDescriptor.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── HIDReport.c │ │ │ │ ├── HIDReport.h │ │ │ │ ├── KeyboardHostWithParser.aps │ │ │ │ ├── KeyboardHostWithParser.c │ │ │ │ ├── KeyboardHostWithParser.h │ │ │ │ ├── KeyboardHostWithParser.txt │ │ │ │ └── makefile │ │ │ ├── MIDIHost │ │ │ │ ├── ConfigDescriptor.c │ │ │ │ ├── ConfigDescriptor.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── MIDIHost.aps │ │ │ │ ├── MIDIHost.c │ │ │ │ ├── MIDIHost.h │ │ │ │ ├── MIDIHost.txt │ │ │ │ └── makefile │ │ │ ├── MassStorageHost │ │ │ │ ├── ConfigDescriptor.c │ │ │ │ ├── ConfigDescriptor.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── Lib │ │ │ │ │ ├── MassStoreCommands.c │ │ │ │ │ └── MassStoreCommands.h │ │ │ │ ├── MassStorageHost.aps │ │ │ │ ├── MassStorageHost.c │ │ │ │ ├── MassStorageHost.h │ │ │ │ ├── MassStorageHost.txt │ │ │ │ └── makefile │ │ │ ├── MouseHost │ │ │ │ ├── ConfigDescriptor.c │ │ │ │ ├── ConfigDescriptor.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── MouseHost.aps │ │ │ │ ├── MouseHost.c │ │ │ │ ├── MouseHost.h │ │ │ │ ├── MouseHost.txt │ │ │ │ └── makefile │ │ │ ├── MouseHostWithParser │ │ │ │ ├── ConfigDescriptor.c │ │ │ │ ├── ConfigDescriptor.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── HIDReport.c │ │ │ │ ├── HIDReport.h │ │ │ │ ├── MouseHostWithParser.aps │ │ │ │ ├── MouseHostWithParser.c │ │ │ │ ├── MouseHostWithParser.h │ │ │ │ ├── MouseHostWithParser.txt │ │ │ │ └── makefile │ │ │ ├── PrinterHost │ │ │ │ ├── ConfigDescriptor.c │ │ │ │ ├── ConfigDescriptor.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── Lib │ │ │ │ │ ├── PrinterCommands.c │ │ │ │ │ └── PrinterCommands.h │ │ │ │ ├── PrinterHost.aps │ │ │ │ ├── PrinterHost.c │ │ │ │ ├── PrinterHost.h │ │ │ │ ├── PrinterHost.txt │ │ │ │ └── makefile │ │ │ ├── RNDISEthernetHost │ │ │ │ ├── ConfigDescriptor.c │ │ │ │ ├── ConfigDescriptor.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── Lib │ │ │ │ │ ├── RNDISCommands.c │ │ │ │ │ └── RNDISCommands.h │ │ │ │ ├── RNDISEthernetHost.aps │ │ │ │ ├── RNDISEthernetHost.c │ │ │ │ ├── RNDISEthernetHost.h │ │ │ │ ├── RNDISHost.txt │ │ │ │ └── makefile │ │ │ ├── StillImageHost │ │ │ │ ├── ConfigDescriptor.c │ │ │ │ ├── ConfigDescriptor.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── Lib │ │ │ │ │ ├── PIMACodes.h │ │ │ │ │ ├── StillImageCommands.c │ │ │ │ │ └── StillImageCommands.h │ │ │ │ ├── StillImageHost.aps │ │ │ │ ├── StillImageHost.c │ │ │ │ ├── StillImageHost.h │ │ │ │ ├── StillImageHost.txt │ │ │ │ └── makefile │ │ │ ├── VirtualSerialHost │ │ │ │ ├── ConfigDescriptor.c │ │ │ │ ├── ConfigDescriptor.h │ │ │ │ ├── Doxygen.conf │ │ │ │ ├── VirtualSerialHost.aps │ │ │ │ ├── VirtualSerialHost.c │ │ │ │ ├── VirtualSerialHost.h │ │ │ │ ├── VirtualSerialHost.txt │ │ │ │ └── makefile │ │ │ └── makefile │ │ └── makefile │ └── makefile ├── LUFA.pnproj ├── LUFA │ ├── CodeTemplates │ │ ├── DriverStubs │ │ │ ├── Buttons.h │ │ │ ├── Dataflash.h │ │ │ ├── Joystick.h │ │ │ └── LEDs.h │ │ ├── LUFAConfig.h │ │ ├── makefile_template.avr8 │ │ ├── makefile_template.uc3 │ │ └── makefile_template.xmega │ ├── Common │ │ ├── ArchitectureSpecific.h │ │ ├── Architectures.h │ │ ├── Attributes.h │ │ ├── BoardTypes.h │ │ ├── Common.h │ │ ├── CompilerSpecific.h │ │ └── Endianness.h │ ├── Doxygen.conf │ ├── Drivers │ │ ├── Board │ │ │ ├── AVR8 │ │ │ │ ├── ADAFRUITU4 │ │ │ │ │ └── LEDs.h │ │ │ │ ├── ATAVRUSBRF01 │ │ │ │ │ ├── Buttons.h │ │ │ │ │ └── LEDs.h │ │ │ │ ├── BENITO │ │ │ │ │ ├── Buttons.h │ │ │ │ │ └── LEDs.h │ │ │ │ ├── BLACKCAT │ │ │ │ │ └── LEDs.h │ │ │ │ ├── BUI │ │ │ │ │ └── LEDs.h │ │ │ │ ├── BUMBLEB │ │ │ │ │ ├── Buttons.h │ │ │ │ │ ├── Joystick.h │ │ │ │ │ └── LEDs.h │ │ │ │ ├── CULV3 │ │ │ │ │ ├── Buttons.h │ │ │ │ │ └── LEDs.h │ │ │ │ ├── EVK527 │ │ │ │ │ ├── Buttons.h │ │ │ │ │ ├── Dataflash.h │ │ │ │ │ ├── Joystick.h │ │ │ │ │ └── LEDs.h │ │ │ │ ├── JMDBU2 │ │ │ │ │ ├── Buttons.h │ │ │ │ │ └── LEDs.h │ │ │ │ ├── MAXIMUS │ │ │ │ │ └── LEDs.h │ │ │ │ ├── MICROSIN162 │ │ │ │ │ ├── Buttons.h │ │ │ │ │ └── LEDs.h │ │ │ │ ├── MINIMUS │ │ │ │ │ ├── Buttons.h │ │ │ │ │ └── LEDs.h │ │ │ │ ├── OLIMEX162 │ │ │ │ │ ├── Buttons.h │ │ │ │ │ └── LEDs.h │ │ │ │ ├── RZUSBSTICK │ │ │ │ │ └── LEDs.h │ │ │ │ ├── SPARKFUN8U2 │ │ │ │ │ └── LEDs.h │ │ │ │ ├── STK525 │ │ │ │ │ ├── Buttons.h │ │ │ │ │ ├── Dataflash.h │ │ │ │ │ ├── Joystick.h │ │ │ │ │ └── LEDs.h │ │ │ │ ├── STK526 │ │ │ │ │ ├── Buttons.h │ │ │ │ │ ├── Dataflash.h │ │ │ │ │ ├── Joystick.h │ │ │ │ │ └── LEDs.h │ │ │ │ ├── TEENSY │ │ │ │ │ └── LEDs.h │ │ │ │ ├── TUL │ │ │ │ │ ├── Buttons.h │ │ │ │ │ └── LEDs.h │ │ │ │ ├── UDIP │ │ │ │ │ ├── Buttons.h │ │ │ │ │ └── LEDs.h │ │ │ │ ├── UNO │ │ │ │ │ └── LEDs.h │ │ │ │ ├── USBFOO │ │ │ │ │ ├── Buttons.h │ │ │ │ │ └── LEDs.h │ │ │ │ ├── USBKEY │ │ │ │ │ ├── Buttons.h │ │ │ │ │ ├── Dataflash.h │ │ │ │ │ ├── Joystick.h │ │ │ │ │ └── LEDs.h │ │ │ │ ├── USBTINYMKII │ │ │ │ │ ├── Buttons.h │ │ │ │ │ └── LEDs.h │ │ │ │ └── XPLAIN │ │ │ │ │ ├── Dataflash.h │ │ │ │ │ └── LEDs.h │ │ │ ├── Buttons.h │ │ │ ├── Dataflash.h │ │ │ ├── Joystick.h │ │ │ ├── LEDs.h │ │ │ ├── Temperature.c │ │ │ ├── Temperature.h │ │ │ └── UC3 │ │ │ │ ├── EVK1100 │ │ │ │ ├── Buttons.h │ │ │ │ ├── Joystick.h │ │ │ │ └── LEDs.h │ │ │ │ ├── EVK1101 │ │ │ │ ├── Buttons.h │ │ │ │ ├── Joystick.h │ │ │ │ └── LEDs.h │ │ │ │ └── EVK1104 │ │ │ │ ├── Buttons.h │ │ │ │ └── LEDs.h │ │ ├── Misc │ │ │ ├── AT45DB321C.h │ │ │ ├── AT45DB642D.h │ │ │ ├── RingBuffer.h │ │ │ └── TerminalCodes.h │ │ ├── Peripheral │ │ │ ├── ADC.h │ │ │ ├── AVR8 │ │ │ │ ├── ADC_AVR8.h │ │ │ │ ├── SPI_AVR8.h │ │ │ │ ├── Serial_AVR8.c │ │ │ │ ├── Serial_AVR8.h │ │ │ │ ├── TWI_AVR8.c │ │ │ │ └── TWI_AVR8.h │ │ │ ├── SPI.h │ │ │ ├── Serial.h │ │ │ └── TWI.h │ │ └── USB │ │ │ ├── Class │ │ │ ├── Audio.h │ │ │ ├── CDC.h │ │ │ ├── Common │ │ │ │ ├── Audio.h │ │ │ │ ├── CDC.h │ │ │ │ ├── HID.h │ │ │ │ ├── HIDParser.c │ │ │ │ ├── HIDParser.h │ │ │ │ ├── HIDReportData.h │ │ │ │ ├── MIDI.h │ │ │ │ ├── MassStorage.h │ │ │ │ ├── Printer.h │ │ │ │ ├── RNDIS.h │ │ │ │ └── StillImage.h │ │ │ ├── Device │ │ │ │ ├── Audio.c │ │ │ │ ├── Audio.h │ │ │ │ ├── CDC.c │ │ │ │ ├── CDC.h │ │ │ │ ├── HID.c │ │ │ │ ├── HID.h │ │ │ │ ├── MIDI.c │ │ │ │ ├── MIDI.h │ │ │ │ ├── MassStorage.c │ │ │ │ ├── MassStorage.h │ │ │ │ ├── RNDIS.c │ │ │ │ └── RNDIS.h │ │ │ ├── HID.h │ │ │ ├── Host │ │ │ │ ├── Audio.c │ │ │ │ ├── Audio.h │ │ │ │ ├── CDC.c │ │ │ │ ├── CDC.h │ │ │ │ ├── HID.c │ │ │ │ ├── HID.h │ │ │ │ ├── MIDI.c │ │ │ │ ├── MIDI.h │ │ │ │ ├── MassStorage.c │ │ │ │ ├── MassStorage.h │ │ │ │ ├── Printer.c │ │ │ │ ├── Printer.h │ │ │ │ ├── RNDIS.c │ │ │ │ ├── RNDIS.h │ │ │ │ ├── StillImage.c │ │ │ │ └── StillImage.h │ │ │ ├── MIDI.h │ │ │ ├── MassStorage.h │ │ │ ├── Printer.h │ │ │ ├── RNDIS.h │ │ │ └── StillImage.h │ │ │ ├── Core │ │ │ ├── AVR8 │ │ │ │ ├── Device_AVR8.c │ │ │ │ ├── Device_AVR8.h │ │ │ │ ├── EndpointStream_AVR8.c │ │ │ │ ├── EndpointStream_AVR8.h │ │ │ │ ├── Endpoint_AVR8.c │ │ │ │ ├── Endpoint_AVR8.h │ │ │ │ ├── Host_AVR8.c │ │ │ │ ├── Host_AVR8.h │ │ │ │ ├── OTG_AVR8.h │ │ │ │ ├── PipeStream_AVR8.c │ │ │ │ ├── PipeStream_AVR8.h │ │ │ │ ├── Pipe_AVR8.c │ │ │ │ ├── Pipe_AVR8.h │ │ │ │ ├── Template │ │ │ │ │ ├── Template_Endpoint_Control_R.c │ │ │ │ │ ├── Template_Endpoint_Control_W.c │ │ │ │ │ ├── Template_Endpoint_RW.c │ │ │ │ │ └── Template_Pipe_RW.c │ │ │ │ ├── USBController_AVR8.c │ │ │ │ ├── USBController_AVR8.h │ │ │ │ ├── USBInterrupt_AVR8.c │ │ │ │ └── USBInterrupt_AVR8.h │ │ │ ├── ConfigDescriptor.c │ │ │ ├── ConfigDescriptor.h │ │ │ ├── Device.h │ │ │ ├── DeviceStandardReq.c │ │ │ ├── DeviceStandardReq.h │ │ │ ├── Endpoint.h │ │ │ ├── EndpointStream.h │ │ │ ├── Events.c │ │ │ ├── Events.h │ │ │ ├── Host.h │ │ │ ├── HostStandardReq.c │ │ │ ├── HostStandardReq.h │ │ │ ├── OTG.h │ │ │ ├── Pipe.h │ │ │ ├── PipeStream.h │ │ │ ├── StdDescriptors.h │ │ │ ├── StdRequestType.h │ │ │ ├── UC3 │ │ │ │ ├── Device_UC3.c │ │ │ │ ├── Device_UC3.h │ │ │ │ ├── EndpointStream_UC3.c │ │ │ │ ├── EndpointStream_UC3.h │ │ │ │ ├── Endpoint_UC3.c │ │ │ │ ├── Endpoint_UC3.h │ │ │ │ ├── Host_UC3.c │ │ │ │ ├── Host_UC3.h │ │ │ │ ├── PipeStream_UC3.c │ │ │ │ ├── PipeStream_UC3.h │ │ │ │ ├── Pipe_UC3.c │ │ │ │ ├── Pipe_UC3.h │ │ │ │ ├── Template │ │ │ │ │ ├── Template_Endpoint_Control_R.c │ │ │ │ │ ├── Template_Endpoint_Control_W.c │ │ │ │ │ ├── Template_Endpoint_RW.c │ │ │ │ │ └── Template_Pipe_RW.c │ │ │ │ ├── USBController_UC3.c │ │ │ │ ├── USBController_UC3.h │ │ │ │ ├── USBInterrupt_UC3.c │ │ │ │ └── USBInterrupt_UC3.h │ │ │ ├── USBController.h │ │ │ ├── USBInterrupt.h │ │ │ ├── USBMode.h │ │ │ ├── USBTask.c │ │ │ ├── USBTask.h │ │ │ └── XMEGA │ │ │ │ ├── Device_XMEGA.c │ │ │ │ ├── Device_XMEGA.h │ │ │ │ ├── EndpointStream_XMEGA.c │ │ │ │ ├── EndpointStream_XMEGA.h │ │ │ │ ├── Endpoint_XMEGA.c │ │ │ │ ├── Endpoint_XMEGA.h │ │ │ │ ├── Host_XMEGA.c │ │ │ │ ├── PipeStream_XMEGA.c │ │ │ │ ├── Pipe_XMEGA.c │ │ │ │ ├── Template │ │ │ │ ├── Template_Endpoint_Control_R.c │ │ │ │ ├── Template_Endpoint_Control_W.c │ │ │ │ └── Template_Endpoint_RW.c │ │ │ │ ├── USBController_XMEGA.c │ │ │ │ ├── USBController_XMEGA.h │ │ │ │ ├── USBInterrupt_XMEGA.c │ │ │ │ └── USBInterrupt_XMEGA.h │ │ │ └── USB.h │ ├── License.txt │ ├── ManPages │ │ ├── AboutLUFA.txt │ │ ├── AlternativeStacks.txt │ │ ├── Author.jpg │ │ ├── BuildingLinkableLibraries.txt │ │ ├── ChangeLog.txt │ │ ├── CompileTimeTokens.txt │ │ ├── CompilingApps.txt │ │ ├── ConfiguringApps.txt │ │ ├── DevelopingWithLUFA.txt │ │ ├── DeviceSupport.txt │ │ ├── DirectorySummaries.txt │ │ ├── Donating.txt │ │ ├── FutureChanges.txt │ │ ├── GettingStarted.txt │ │ ├── Groups.txt │ │ ├── LUFA.png │ │ ├── LUFAPoweredProjects.txt │ │ ├── LUFA_thumb.png │ │ ├── LUFAvsAtmelStack.txt │ │ ├── LibraryApps.txt │ │ ├── LibraryResources.txt │ │ ├── LicenseInfo.txt │ │ ├── MainPage.txt │ │ ├── MigrationInformation.txt │ │ ├── ProgrammingApps.txt │ │ ├── SoftwareBootloaderJump.txt │ │ ├── VIDAndPIDValues.txt │ │ ├── WhyUseLUFA.txt │ │ ├── WritingBoardDrivers.txt │ │ └── footer.htm │ ├── Platform │ │ ├── UC3 │ │ │ ├── ClockManagement.h │ │ │ ├── Exception.S │ │ │ ├── InterruptManagement.c │ │ │ └── InterruptManagement.h │ │ └── XMEGA │ │ │ └── ClockManagement.h │ ├── Scheduler │ │ ├── Scheduler.c │ │ └── Scheduler.h │ ├── Version.h │ └── makefile ├── Projects │ ├── AVRISP-MKII │ │ ├── AVRISP-MKII.aps │ │ ├── AVRISP-MKII.c │ │ ├── AVRISP-MKII.h │ │ ├── AVRISP-MKII.txt │ │ ├── Descriptors.c │ │ ├── Descriptors.h │ │ ├── Doxygen.conf │ │ ├── Lib │ │ │ ├── ISP │ │ │ │ ├── ISPProtocol.c │ │ │ │ ├── ISPProtocol.h │ │ │ │ ├── ISPTarget.c │ │ │ │ └── ISPTarget.h │ │ │ ├── V2Protocol.c │ │ │ ├── V2Protocol.h │ │ │ ├── V2ProtocolConstants.h │ │ │ ├── V2ProtocolParams.c │ │ │ ├── V2ProtocolParams.h │ │ │ └── XPROG │ │ │ │ ├── TINYNVM.c │ │ │ │ ├── TINYNVM.h │ │ │ │ ├── XMEGANVM.c │ │ │ │ ├── XMEGANVM.h │ │ │ │ ├── XPROGProtocol.c │ │ │ │ ├── XPROGProtocol.h │ │ │ │ ├── XPROGTarget.c │ │ │ │ └── XPROGTarget.h │ │ └── makefile │ ├── Benito │ │ ├── Benito Programmer.inf │ │ ├── Benito.aps │ │ ├── Benito.c │ │ ├── Benito.h │ │ ├── Benito.txt │ │ ├── Descriptors.c │ │ ├── Descriptors.h │ │ ├── Doxygen.conf │ │ └── makefile │ ├── HIDReportViewer │ │ ├── Doxygen.conf │ │ ├── HIDReportViewer.aps │ │ ├── HIDReportViewer.c │ │ ├── HIDReportViewer.h │ │ ├── HIDReportViewer.txt │ │ └── makefile │ ├── Incomplete │ │ └── StandaloneProgrammer │ │ │ ├── Descriptors.c │ │ │ ├── Descriptors.h │ │ │ ├── DiskDevice.c │ │ │ ├── DiskDevice.h │ │ │ ├── DiskHost.c │ │ │ ├── DiskHost.h │ │ │ ├── Lib │ │ │ ├── DataflashManager.c │ │ │ ├── DataflashManager.h │ │ │ ├── PetiteFATFs │ │ │ │ ├── 00readme.txt │ │ │ │ ├── diskio.c │ │ │ │ ├── diskio.h │ │ │ │ ├── integer.h │ │ │ │ ├── pff.c │ │ │ │ └── pff.h │ │ │ ├── ProgrammerConfig.c │ │ │ ├── ProgrammerConfig.h │ │ │ ├── SCSI.c │ │ │ └── SCSI.h │ │ │ ├── Standalone Programmer.inf │ │ │ ├── StandaloneProgrammer.c │ │ │ ├── StandaloneProgrammer.h │ │ │ └── makefile │ ├── LEDNotifier │ │ ├── CPUUsageApp │ │ │ ├── CPUMonitor.Designer.cs │ │ │ ├── CPUMonitor.cs │ │ │ ├── CPUMonitor.csproj │ │ │ ├── CPUMonitor.resx │ │ │ ├── Program.cs │ │ │ └── Properties │ │ │ │ ├── AssemblyInfo.cs │ │ │ │ ├── Resources.Designer.cs │ │ │ │ ├── Resources.resx │ │ │ │ ├── Settings.Designer.cs │ │ │ │ └── Settings.settings │ │ ├── Descriptors.c │ │ ├── Descriptors.h │ │ ├── Doxygen.conf │ │ ├── HotmailNotifierApp │ │ │ ├── MailNotifier.Designer.cs │ │ │ ├── MailNotifier.cs │ │ │ ├── MailNotifier.csproj │ │ │ ├── MailNotifier.resx │ │ │ ├── Program.cs │ │ │ └── Properties │ │ │ │ ├── AssemblyInfo.cs │ │ │ │ ├── Resources.Designer.cs │ │ │ │ ├── Resources.resx │ │ │ │ ├── Settings.Designer.cs │ │ │ │ └── Settings.settings │ │ ├── LEDMixerApp │ │ │ ├── LEDMixer.Designer.cs │ │ │ ├── LEDMixer.cs │ │ │ ├── LEDMixer.csproj │ │ │ ├── LEDMixer.resx │ │ │ ├── Program.cs │ │ │ └── Properties │ │ │ │ ├── AssemblyInfo.cs │ │ │ │ ├── Resources.Designer.cs │ │ │ │ ├── Resources.resx │ │ │ │ ├── Settings.Designer.cs │ │ │ │ └── Settings.settings │ │ ├── LEDNotifier.aps │ │ ├── LEDNotifier.c │ │ ├── LEDNotifier.h │ │ ├── LEDNotifier.txt │ │ ├── LUFA LED Notifier.inf │ │ └── makefile │ ├── MIDIToneGenerator │ │ ├── Descriptors.c │ │ ├── Descriptors.h │ │ ├── Doxygen.conf │ │ ├── MIDIToneGenerator.aps │ │ ├── MIDIToneGenerator.c │ │ ├── MIDIToneGenerator.h │ │ ├── MIDIToneGenerator.txt │ │ └── makefile │ ├── Magstripe │ │ ├── Descriptors.c │ │ ├── Descriptors.h │ │ ├── Doxygen.conf │ │ ├── Lib │ │ │ ├── CircularBitBuffer.c │ │ │ ├── CircularBitBuffer.h │ │ │ └── MagstripeHW.h │ │ ├── Magstripe.aps │ │ ├── Magstripe.c │ │ ├── Magstripe.h │ │ ├── Magstripe.txt │ │ └── makefile │ ├── MediaController │ │ ├── Descriptors.c │ │ ├── Descriptors.h │ │ ├── Doxygen.conf │ │ ├── MediaController.aps │ │ ├── MediaController.c │ │ ├── MediaController.h │ │ ├── MediaController.txt │ │ └── makefile │ ├── MissileLauncher │ │ ├── ConfigDescriptor.c │ │ ├── ConfigDescriptor.h │ │ ├── Doxygen.conf │ │ ├── MissileLauncher.aps │ │ ├── MissileLauncher.c │ │ ├── MissileLauncher.h │ │ ├── MissileLauncher.txt │ │ └── makefile │ ├── RelayBoard │ │ ├── Descriptors.c │ │ ├── Descriptors.h │ │ ├── Doxygen.conf │ │ ├── RelayBoard.aps │ │ ├── RelayBoard.c │ │ ├── RelayBoard.h │ │ ├── RelayBoard.txt │ │ └── makefile │ ├── TempDataLogger │ │ ├── Descriptors.c │ │ ├── Descriptors.h │ │ ├── Doxygen.conf │ │ ├── Lib │ │ │ ├── DS1307.c │ │ │ ├── DS1307.h │ │ │ ├── DataflashManager.c │ │ │ ├── DataflashManager.h │ │ │ ├── FATFs │ │ │ │ ├── 00readme.txt │ │ │ │ ├── diskio.c │ │ │ │ ├── diskio.h │ │ │ │ ├── ff.c │ │ │ │ ├── ff.h │ │ │ │ ├── ffconf.h │ │ │ │ └── integer.h │ │ │ ├── SCSI.c │ │ │ └── SCSI.h │ │ ├── TempDataLogger.aps │ │ ├── TempDataLogger.c │ │ ├── TempDataLogger.h │ │ ├── TempLogHostApp │ │ │ ├── COPYING.LESSER.txt │ │ │ ├── COPYING.txt │ │ │ ├── DataLoggerSettings.Designer.cs │ │ │ ├── DataLoggerSettings.cs │ │ │ ├── DataLoggerSettings.resx │ │ │ ├── Hid.Linux.dll │ │ │ ├── Hid.Net.dll │ │ │ ├── Hid.Win32.dll │ │ │ ├── Program.cs │ │ │ ├── README.txt │ │ │ └── TempLoggerHostApp.csproj │ │ ├── TemperatureDataLogger.txt │ │ └── makefile │ ├── USBtoSerial │ │ ├── Descriptors.c │ │ ├── Descriptors.h │ │ ├── Doxygen.conf │ │ ├── LUFA USBtoSerial.inf │ │ ├── USBtoSerial.aps │ │ ├── USBtoSerial.c │ │ ├── USBtoSerial.h │ │ ├── USBtoSerial.txt │ │ └── makefile │ ├── Webserver │ │ ├── Descriptors.c │ │ ├── Descriptors.h │ │ ├── Doxygen.conf │ │ ├── LUFA Webserver RNDIS.inf │ │ ├── Lib │ │ │ ├── DHCPClientApp.c │ │ │ ├── DHCPClientApp.h │ │ │ ├── DHCPCommon.c │ │ │ ├── DHCPCommon.h │ │ │ ├── DHCPServerApp.c │ │ │ ├── DHCPServerApp.h │ │ │ ├── DataflashManager.c │ │ │ ├── DataflashManager.h │ │ │ ├── FATFs │ │ │ │ ├── 00readme.txt │ │ │ │ ├── diskio.c │ │ │ │ ├── diskio.h │ │ │ │ ├── ff.c │ │ │ │ ├── ff.h │ │ │ │ ├── ffconf.h │ │ │ │ └── integer.h │ │ │ ├── HTTPServerApp.c │ │ │ ├── HTTPServerApp.h │ │ │ ├── SCSI.c │ │ │ ├── SCSI.h │ │ │ ├── TELNETServerApp.c │ │ │ ├── TELNETServerApp.h │ │ │ ├── uIPManagement.c │ │ │ ├── uIPManagement.h │ │ │ └── uip │ │ │ │ ├── clock.c │ │ │ │ ├── clock.h │ │ │ │ ├── timer.c │ │ │ │ ├── timer.h │ │ │ │ ├── uip-split.c │ │ │ │ ├── uip-split.h │ │ │ │ ├── uip.c │ │ │ │ ├── uip.h │ │ │ │ ├── uip_arp.c │ │ │ │ ├── uip_arp.h │ │ │ │ └── uipopt.h │ │ ├── USBDeviceMode.c │ │ ├── USBDeviceMode.h │ │ ├── USBHostMode.c │ │ ├── USBHostMode.h │ │ ├── Webserver.aps │ │ ├── Webserver.c │ │ ├── Webserver.h │ │ ├── Webserver.txt │ │ └── makefile │ ├── XPLAINBridge │ │ ├── AVRISPDescriptors.c │ │ ├── AVRISPDescriptors.h │ │ ├── Doxygen.conf │ │ ├── LUFA XPLAIN Bridge.inf │ │ ├── Lib │ │ │ ├── SoftUART.c │ │ │ └── SoftUART.h │ │ ├── USARTDescriptors.c │ │ ├── USARTDescriptors.h │ │ ├── XPLAINBridge.aps │ │ ├── XPLAINBridge.c │ │ ├── XPLAINBridge.h │ │ ├── XPLAINBridge.txt │ │ └── makefile │ └── makefile ├── README.txt └── makefile ├── windows_firmware_installer.zip └── windows_firmware_installer ├── anykey_bootloader.hex ├── anykey_testing_sketch └── anykey_testing_sketch.ino ├── avrdude.conf ├── avrdude.exe ├── flash_firmware_arduino.bat ├── flash_firmware_usbasp.bat └── screenshots ├── anykey_firmware_validate.png ├── anykey_firmware_validate2.PNG ├── flash1.png ├── flash2.png ├── flash3.png ├── flash_batch_scripts.PNG ├── full_unlock.PNG ├── lock_command.PNG └── v_command.PNG /anykey/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/anykey/Makefile -------------------------------------------------------------------------------- /anykey/boards_example.txt: -------------------------------------------------------------------------------- 1 | 2 | ############################### 3 | # edit following file and add an entry for anykey bootloader to have it available in Arduino IDE: 4 | # /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/boards.txt 5 | anykey.name=AnyKey 6 | anykey.vid.0=0x2341 7 | anykey.pid.0=0x0036 8 | 9 | 10 | anykey.upload.tool=avrdude 11 | anykey.upload.protocol=avr109 12 | anykey.upload.maximum_size=28672 13 | anykey.upload.maximum_data_size=2560 14 | anykey.upload.speed=57600 15 | anykey.upload.disable_flushing=true 16 | anykey.upload.use_1200bps_touch=true 17 | anykey.upload.wait_for_upload_port=true 18 | 19 | anykey.bootloader.tool=avrdude 20 | anykey.bootloader.low_fuses=0xff 21 | anykey.bootloader.high_fuses=0xd8 22 | anykey.bootloader.extended_fuses=0xcb 23 | anykey.bootloader.file=anykey/anykey_bootloader.hex 24 | anykey.bootloader.unlock_bits=0x3F 25 | anykey.bootloader.lock_bits=0x2F 26 | 27 | anykey.build.mcu=atmega32u4 28 | anykey.build.f_cpu=16000000L 29 | anykey.build.vid=0x2341 30 | anykey.build.pid=0x8036 31 | anykey.build.usb_product="AnyKey " 32 | anykey.build.board=AVR_LEONARDO 33 | anykey.build.core=arduino 34 | anykey.build.variant=leonardo 35 | anykey.build.extra_flags={build.usb_flags} 36 | 37 | 38 | -------------------------------------------------------------------------------- /anykey/bootprep.sh: -------------------------------------------------------------------------------- 1 | ../../IntelHexParser/hexconvert Anykey.hex > anykey_bootprep.hex 2 | 3 | -------------------------------------------------------------------------------- /anykey/firmware_dumper.sh: -------------------------------------------------------------------------------- 1 | echo "Resetting anykey leonardo style..." 2 | 3 | echo "RESETTING ANYKEY..." 4 | #use resetlegacy or resetarduino for other resets 5 | #DEVICE=`anykey_save -resetlegacy` 6 | #DEVICE=`ls -1 /dev/*modem*` 7 | DEVICE=`anykey_save -reset` 8 | echo "READING firmware.hex from DEVICE=: $DEVICE" 9 | 10 | avrdude -C./avrdude.conf -F -v -patmega32u4 -cavr109 -P$DEVICE -b19200 -D -Uflash:r:firmware.hex:i 11 | 12 | #echo "done. now making firmware.dump..." 13 | #avr-objdump -s -m avr35 firmware.hex > firmware.dump 14 | # 15 | #echo "done now making firmware.asm" 16 | ## we target atmega32u4 (list of architectures here: http://www.nongnu.org/avr-libc/user-manual/using_tools.html) 17 | #avr-objdump -j .sec1 -m avr35 -d firmware.hex > firmware.asm 18 | 19 | echo "done wrote firmware.hex" 20 | -------------------------------------------------------------------------------- /anykey/flash_anykey_bootloader.sh: -------------------------------------------------------------------------------- 1 | DEVICE=`ls -1 /dev/cu.usbmodem*` 2 | avrdude -carduino -patmega32u4 -P$DEVICE -Uflash:w:anykey_bootloader.hex:i 3 | 4 | -------------------------------------------------------------------------------- /anykey/flash_factory.sh: -------------------------------------------------------------------------------- 1 | #this is without chiperase, not recommended 2 | # avrdude -carduino -patmega32u4 -P/dev/cu.usbmodem14301 -D -Uflash:w:Anykey.hex:i 3 | #avrdude -carduino -patmega32u4 -P/dev/cu.usbmodem14301 -b 57600 -Uflash:w:anykey_bootloader.hex:i 4 | # makes no difference 115200 or 57600 all same speed as 19200 so take that one to be more reliable 5 | 6 | #avrdude -carduino -patmega32u4 -P/dev/cu.usbmodem14301 -b 19200 -Uflash:w:anykey_bootloader.hex:i 7 | DEVICE=`ls -1 /dev/cu.usb*` 8 | avrdude -v -carduino -patmega32u4 -P$DEVICE -b 19200 -Uflash:w:anykey_bootloader.hex:i -U lfuse:w:0xFF:m -U hfuse:w:0xD8:m -U efuse:w:0xCB:m 9 | 10 | #set lock bits 11 | avrdude -q -patmega32u4 -carduino -D -U lock:w:0xFC:m -P $DEVICE 12 | echo "if its 0x3C instead this is also good" 13 | 14 | 15 | echo "now read out lockbits" 16 | avrdude -q -patmega32u4 -carduino -P $DEVICE -D -U hfuse:r:-:h -U lock:r:-:h 17 | 18 | -------------------------------------------------------------------------------- /anykey/license.txt: -------------------------------------------------------------------------------- 1 | Copyright 2019 Walter Schreppers 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /avrdude/flash_bootloader.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | DEVICE=`ls -1 /dev/*usbmodem* | head -n 1` 4 | echo "FLASHING BOOTLOADER TO ANYKEY DEV: $DEVICE" 5 | avrdude -C./avrdude.conf -v -patmega32u4 -cavr109 -P$DEVICE -b19200 -D -Uflash:w:anykey_blank.hex:i 6 | -------------------------------------------------------------------------------- /caterina/Caterina-Esplora.txt: -------------------------------------------------------------------------------- 1 | LUFA: 111009 2 | make: 3.81 3 | avrdude: 5.11.1 4 | avr-libc: 1.6.7 5 | binutils-avr: 2.19 6 | gcc-avr 4.3.3 7 | -------------------------------------------------------------------------------- /caterina/Caterina-Genuino-Micro.txt: -------------------------------------------------------------------------------- 1 | GENUINO MICRO PRODUCTION FIRMWARES 2 | ================================== 3 | 4 | Bootloader: 5 | ----------- 6 | 7 | Name: Caterina-Genuino-Micro.hex 8 | 9 | Notes: 10 | Builds against LUFA version 111009 11 | make version 3.81 12 | avrdude version 5.11 13 | 14 | All AVR tools except avrdude were installed by CrossPack 20100115: 15 | avr-gcc version 4.3.3 (GCC) 16 | Thread model: single 17 | Configured with: ../configure —prefix=/usr/local/CrossPack-AVR-20100115 —disable-dependency-tracking —disable-nls —disable-werror —target=avr —enable-languages=c,c++ —disable-nls —disable-libssp —with-dwarf2 18 | avr-libc version 1.6.7 19 | binutils version 2.19 20 | -------------------------------------------------------------------------------- /caterina/Caterina-Leonardo.txt: -------------------------------------------------------------------------------- 1 | Builds against LUFA version 111009 2 | make version 3.81 3 | avrdude version 5.11 4 | 5 | All AVR tools except avrdude were installed by CrossPack 20100115: 6 | avr-gcc version 4.3.3 (GCC) 7 | Thread model: single 8 | Configured with: ../configure —prefix=/usr/local/CrossPack-AVR-20100115 —disable-dependency-tracking —disable-nls —disable-werror —target=avr —enable-languages=c,c++ —disable-nls —disable-libssp —with-dwarf2 9 | avr-libc version 1.6.7 10 | binutils version 2.19 11 | 12 | -------------------------------------------------------------------------------- /caterina/Caterina-Micro.txt: -------------------------------------------------------------------------------- 1 | Builds against LUFA version 111009 2 | make version 3.81 3 | avrdude version 5.11 4 | 5 | All AVR tools except avrdude were installed by CrossPack 20100115: 6 | avr-gcc version 4.3.3 (GCC) 7 | Thread model: single 8 | Configured with: ../configure —prefix=/usr/local/CrossPack-AVR-20100115 —disable-dependency-tracking —disable-nls —disable-werror —target=avr —enable-languages=c,c++ —disable-nls —disable-libssp —with-dwarf2 9 | avr-libc version 1.6.7 10 | binutils version 2.19 11 | 12 | -------------------------------------------------------------------------------- /caterina/Esplora-prod-firmware-2012-12-10.txt: -------------------------------------------------------------------------------- 1 | LUFA: 111009 2 | make: 3.81 3 | avrdude: 5.11.1 4 | avr-libc: 1.6.7 5 | binutils-avr: 2.19 6 | gcc-avr 4.3.3 7 | -------------------------------------------------------------------------------- /caterina/Leonardo-prod-firmware-2012-04-26.txt: -------------------------------------------------------------------------------- 1 | Builds against LUFA version 111009 2 | make version 3.81 3 | avrdude version 5.11 4 | 5 | All AVR tools except avrdude were installed by CrossPack 20100115: 6 | avr-gcc version 4.3.3 (GCC) 7 | Thread model: single 8 | Configured with: ../configure —prefix=/usr/local/CrossPack-AVR-20100115 —disable-dependency-tracking —disable-nls —disable-werror —target=avr —enable-languages=c,c++ —disable-nls —disable-libssp —with-dwarf2 9 | avr-libc version 1.6.7 10 | binutils version 2.19 11 | 12 | -------------------------------------------------------------------------------- /caterina/Leonardo-prod-firmware-2012-12-10.txt: -------------------------------------------------------------------------------- 1 | Builds against LUFA version 111009 2 | make version 3.81 3 | avrdude version 5.11 4 | 5 | All AVR tools except avrdude were installed by CrossPack 20100115: 6 | avr-gcc version 4.3.3 (GCC) 7 | Thread model: single 8 | Configured with: ../configure —prefix=/usr/local/CrossPack-AVR-20100115 —disable-dependency-tracking —disable-nls —disable-werror —target=avr —enable-languages=c,c++ —disable-nls —disable-libssp —with-dwarf2 9 | avr-libc version 1.6.7 10 | binutils version 2.19 11 | 12 | -------------------------------------------------------------------------------- /caterina/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/caterina/Makefile -------------------------------------------------------------------------------- /caterina/Micro-prod-firmware-2012-11-23.txt: -------------------------------------------------------------------------------- 1 | Builds against LUFA version 111009 2 | make version 3.81 3 | avrdude version 5.11 4 | 5 | All AVR tools except avrdude were installed by CrossPack 20100115: 6 | avr-gcc version 4.3.3 (GCC) 7 | Thread model: single 8 | Configured with: ../configure —prefix=/usr/local/CrossPack-AVR-20100115 —disable-dependency-tracking —disable-nls —disable-werror —target=avr —enable-languages=c,c++ —disable-nls —disable-libssp —with-dwarf2 9 | avr-libc version 1.6.7 10 | binutils version 2.19 11 | 12 | -------------------------------------------------------------------------------- /caterina/Micro-prod-firmware-2012-12-10.txt: -------------------------------------------------------------------------------- 1 | Builds against LUFA version 111009 2 | make version 3.81 3 | avrdude version 5.11 4 | 5 | All AVR tools except avrdude were installed by CrossPack 20100115: 6 | avr-gcc version 4.3.3 (GCC) 7 | Thread model: single 8 | Configured with: ../configure —prefix=/usr/local/CrossPack-AVR-20100115 —disable-dependency-tracking —disable-nls —disable-werror —target=avr —enable-languages=c,c++ —disable-nls —disable-libssp —with-dwarf2 9 | avr-libc version 1.6.7 10 | binutils version 2.19 11 | 12 | -------------------------------------------------------------------------------- /examples/anykey_boot_lock.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/examples/anykey_boot_lock.JPG -------------------------------------------------------------------------------- /lufa-LUFA-111009/Bootloaders/CDC/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Bootloaders/CDC/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Bootloaders/DFU/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Bootloaders/DFU/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Bootloaders/HID/BootloaderHID.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | /** \file 32 | * 33 | * Header file for TeensyHID.c. 34 | */ 35 | 36 | #ifndef _TEENSYHID_H_ 37 | #define _TEENSYHID_H_ 38 | 39 | /* Includes: */ 40 | #include 41 | #include 42 | #include 43 | #include 44 | #include 45 | #include 46 | 47 | #include "Descriptors.h" 48 | 49 | #include 50 | 51 | /* Macros: */ 52 | /** Bootloader special address to start the user application */ 53 | #define COMMAND_STARTAPPLICATION 0xFFFF 54 | 55 | /* Function Prototypes: */ 56 | void SetupHardware(void); 57 | 58 | void EVENT_USB_Device_ConfigurationChanged(void); 59 | void EVENT_USB_Device_UnhandledControlRequest(void); 60 | 61 | #endif 62 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Bootloaders/HID/HostLoaderApp/Makefile: -------------------------------------------------------------------------------- 1 | OS ?= LINUX 2 | #OS ?= WINDOWS 3 | #OS ?= MACOSX 4 | #OS ?= BSD 5 | 6 | ifeq ($(OS), LINUX) # also works on FreeBSD 7 | CC ?= gcc 8 | CFLAGS ?= -O2 -Wall 9 | hid_bootloader_cli: hid_bootloader_cli.c 10 | $(CC) $(CFLAGS) -s -DUSE_LIBUSB -o hid_bootloader_cli hid_bootloader_cli.c -lusb 11 | 12 | 13 | else ifeq ($(OS), WINDOWS) 14 | CC = i586-mingw32msvc-gcc 15 | CFLAGS ?= -O2 -Wall 16 | hid_bootloader_cli.exe: hid_bootloader_cli.c 17 | $(CC) $(CFLAGS) -s -DUSE_WIN32 -o hid_bootloader_cli.exe hid_bootloader_cli.c -lhid -lsetupapi 18 | 19 | 20 | else ifeq ($(OS), MACOSX) 21 | CC ?= gcc 22 | SDK ?= /Developer/SDKs/MacOSX10.5.sdk 23 | CFLAGS ?= -O2 -Wall 24 | hid_bootloader_cli: hid_bootloader_cli.c 25 | $(CC) $(CFLAGS) -DUSE_APPLE_IOKIT -isysroot $(SDK) -o hid_bootloader_cli hid_bootloader_cli.c -Wl,-syslibroot,$(SDK) -framework IOKit -framework CoreFoundation 26 | 27 | 28 | else ifeq ($(OS), BSD) # works on NetBSD and OpenBSD 29 | CC ?= gcct 30 | CFLAGS ?= -O2 -Wall 31 | hid_bootloader_cli: hid_bootloader_cli.c 32 | $(CC) $(CFLAGS) -s -DUSE_UHID -o hid_bootloader_cli hid_bootloader_cli.c 33 | 34 | 35 | endif 36 | 37 | 38 | clean: 39 | rm -f hid_bootloader_cli hid_bootloader_cli.exe 40 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Bootloaders/HID/HostLoaderApp/Makefile.bsd: -------------------------------------------------------------------------------- 1 | OS ?= FreeBSD 2 | #OS ?= NetBSD 3 | #OS ?= OpenBSD 4 | 5 | CFLAGS ?= -O2 -Wall 6 | CC ?= gcc 7 | 8 | .if $(OS) == "FreeBSD" 9 | CFLAGS += -DUSE_LIBUSB 10 | LIBS = -lusb 11 | .elif $(OS) == "NetBSD" || $(OS) == "OpenBSD" 12 | CFLAGS += -DUSE_UHID 13 | LIBS = 14 | .endif 15 | 16 | 17 | hid_bootloader_cli: hid_bootloader_cli.c 18 | $(CC) $(CFLAGS) -s -o hid_bootloader_cli hid_bootloader_cli.c $(LIBS) 19 | 20 | clean: 21 | rm -f hid_bootloader_cli 22 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Bootloaders/HID/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Bootloaders/HID/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Bootloaders/makefile: -------------------------------------------------------------------------------- 1 | # 2 | # LUFA Library 3 | # Copyright (C) Dean Camera, 2011. 4 | # 5 | # dean [at] fourwalledcubicle [dot] com 6 | # www.lufa-lib.org 7 | # 8 | 9 | # Makefile to build all the LUFA USB Bootloaders. Call with "make all" to 10 | # rebuild all bootloaders. 11 | 12 | # Bootloaders are pre-cleaned before each one is built, to ensure any 13 | # custom LUFA library build options are reflected in the compiled 14 | # code. 15 | 16 | all: 17 | $(MAKE) -C CDC clean 18 | $(MAKE) -C CDC all 19 | 20 | $(MAKE) -C HID clean 21 | $(MAKE) -C HID all 22 | 23 | $(MAKE) -C DFU clean 24 | $(MAKE) -C DFU all 25 | 26 | %: 27 | $(MAKE) -C CDC $@ 28 | $(MAKE) -C DFU $@ 29 | $(MAKE) -C HID $@ 30 | 31 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/AudioInput/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/ClassDriver/AudioInput/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/AudioOutput/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/ClassDriver/AudioOutput/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/DualVirtualSerial/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/ClassDriver/DualVirtualSerial/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/GenericHID/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/ClassDriver/GenericHID/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/Joystick/Joystick.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage Joystick Device Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * - Series 6 USB AVRs (AT90USBxxx6) 15 | * - Series 4 USB AVRs (ATMEGAxxU4) 16 | * - Series 2 USB AVRs (AT90USBxx2, ATMEGAxxU2) 17 | * 18 | * \section Sec_Info USB Information: 19 | * 20 | * The following table gives a rundown of the USB utilization of this demo. 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 35 | * 36 | * 37 | * 39 | * 40 | * 41 | * 42 | * 44 | * 45 | *
USB Mode:Device
USB Class:Human Interface Device (HID)
USB Subclass:N/A
Relevant Standards:USBIF HID Specification \n 38 | * USBIF HID Usage Tables
Usable Speeds:Low Speed Mode \n 43 | * Full Speed Mode
46 | * 47 | * \section Sec_Description Project Description: 48 | * 49 | * Joystick demonstration application. This gives a simple reference 50 | * application for implementing a USB Keyboard device, for USB Joysticks 51 | * using the standard Keyboard HID profile. 52 | * 53 | * This device will show up as a generic joystick device, with two buttons. 54 | * Pressing the joystick inwards is the first button, and the HWB button 55 | * is the second. 56 | * 57 | * Moving the joystick on the selected board moves the joystick location on 58 | * the host computer. 59 | * 60 | * Currently only single interface joysticks are supported. 61 | * 62 | * \section Sec_Options Project Options 63 | * 64 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 65 | * 66 | * 67 | * 68 | * 71 | * 72 | *
69 | * None 70 | *
73 | */ 74 | 75 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/Joystick/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/ClassDriver/Joystick/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/Keyboard/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/ClassDriver/Keyboard/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/KeyboardMouse/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/ClassDriver/KeyboardMouse/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/MIDI/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/ClassDriver/MIDI/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/MassStorage/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/ClassDriver/MassStorage/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/MassStorageKeyboard/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/ClassDriver/MassStorageKeyboard/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/Mouse/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/ClassDriver/Mouse/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/RNDISEthernet/LUFA RNDIS.inf: -------------------------------------------------------------------------------- 1 | ; Windows LUFA RNDIS Setup File 2 | ; Copyright (c) 2000 Microsoft Corporation 3 | 4 | [Version] 5 | Signature = "$Windows NT$" 6 | Class = Net 7 | ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} 8 | Provider = %COMPANY% 9 | DriverVer = 06/21/2006,6.0.6000.16384 10 | ;CatalogFile = device.cat 11 | 12 | [Manufacturer] 13 | %COMPANY% = RndisDevices,NTx86,NTamd64,NTia64 14 | 15 | ; Decoration for x86 architecture 16 | [RndisDevices.NTx86] 17 | %RNDISDEV% = RNDIS.NT.5.1, USB\VID_03EB&PID_204C 18 | 19 | ; Decoration for x64 architecture 20 | [RndisDevices.NTamd64] 21 | %RNDISDEV% = RNDIS.NT.5.1, USB\VID_03EB&PID_204C 22 | 23 | ; Decoration for ia64 architecture 24 | [RndisDevices.NTia64] 25 | %RNDISDEV% = RNDIS.NT.5.1, USB\VID_03EB&PID_204C 26 | 27 | ;@@@ This is the common setting for setup 28 | [ControlFlags] 29 | ExcludeFromSelect=* 30 | 31 | ; DDInstall section 32 | ; References the in-build Netrndis.inf 33 | [RNDIS.NT.5.1] 34 | Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI 35 | BusType = 15 36 | ; NEVER REMOVE THE FOLLOWING REFERENCE FOR NETRNDIS.INF 37 | include = netrndis.inf 38 | needs = Usb_Rndis.ndi 39 | AddReg = Rndis_AddReg_Vista 40 | 41 | ; DDInstal.Services section 42 | [RNDIS.NT.5.1.Services] 43 | include = netrndis.inf 44 | needs = Usb_Rndis.ndi.Services 45 | 46 | ; No sys copyfiles - the sys files are already in-build 47 | ; (part of the operating system). 48 | 49 | ; Modify these strings for your device as needed. 50 | [Strings] 51 | COMPANY="LUFA Library" 52 | RNDISDEV="LUFA USB RNDIS Demo" -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | /** \file 32 | * 33 | * Header file for ProtocolDecoders.c. 34 | */ 35 | 36 | #ifndef _PROTOCOL_DECODERS_H_ 37 | #define _PROTOCOL_DECODERS_H_ 38 | 39 | /* Includes: */ 40 | #include 41 | #include 42 | #include 43 | 44 | #include 45 | 46 | #include "EthernetProtocols.h" 47 | #include "Ethernet.h" 48 | 49 | /* Function Prototypes: */ 50 | void DecodeEthernetFrameHeader(void* InDataStart); 51 | void DecodeARPHeader(void* InDataStart); 52 | void DecodeIPHeader(void* InDataStart); 53 | void DecodeICMPHeader(void* InDataStart); 54 | void DecodeTCPHeader(void* InDataStart); 55 | void DecodeUDPHeader(void* InDataStart); 56 | void DecodeDHCPHeader(void* InDataStart); 57 | 58 | #endif 59 | 60 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/RNDISEthernet/Lib/Webserver.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | /** \file 32 | * 33 | * Header file for Webserver.c. 34 | */ 35 | 36 | #ifndef _WEBSERVER_H_ 37 | #define _WEBSERVER_H_ 38 | 39 | /* Includes: */ 40 | #include 41 | #include 42 | 43 | #include 44 | 45 | #include "TCP.h" 46 | 47 | /* Macros: */ 48 | /** Maximum size of a HTTP response per transmission */ 49 | #define HTTP_REPLY_BLOCK_SIZE 128 50 | 51 | /* Function Prototypes: */ 52 | void Webserver_Init(void); 53 | void Webserver_ApplicationCallback(TCP_ConnectionState_t* const ConnectionState, 54 | TCP_ConnectionBuffer_t* const Buffer); 55 | 56 | #endif 57 | 58 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/RNDISEthernet/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/ClassDriver/RNDISEthernet/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/VirtualSerial/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/ClassDriver/VirtualSerial/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/VirtualSerialMouse/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/ClassDriver/VirtualSerialMouse/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/ClassDriver/makefile: -------------------------------------------------------------------------------- 1 | # 2 | # LUFA Library 3 | # Copyright (C) Dean Camera, 2011. 4 | # 5 | # dean [at] fourwalledcubicle [dot] com 6 | # www.lufa-lib.org 7 | # 8 | 9 | # Makefile to build all the LUFA Device Demos. Call with "make all" to 10 | # rebuild all Device demos. 11 | 12 | # Projects are pre-cleaned before each one is built, to ensure any 13 | # custom LUFA library build options are reflected in the compiled 14 | # code. 15 | 16 | all: 17 | $(MAKE) -C AudioInput clean 18 | $(MAKE) -C AudioInput all 19 | 20 | $(MAKE) -C AudioOutput clean 21 | $(MAKE) -C AudioOutput all 22 | 23 | $(MAKE) -C DualVirtualSerial clean 24 | $(MAKE) -C DualVirtualSerial all 25 | 26 | $(MAKE) -C GenericHID clean 27 | $(MAKE) -C GenericHID all 28 | 29 | $(MAKE) -C Joystick clean 30 | $(MAKE) -C Joystick all 31 | 32 | $(MAKE) -C Keyboard clean 33 | $(MAKE) -C Keyboard all 34 | 35 | $(MAKE) -C KeyboardMouse clean 36 | $(MAKE) -C KeyboardMouse all 37 | 38 | $(MAKE) -C KeyboardMouseMultiReport clean 39 | $(MAKE) -C KeyboardMouseMultiReport all 40 | 41 | $(MAKE) -C MassStorage clean 42 | $(MAKE) -C MassStorage all 43 | 44 | $(MAKE) -C MassStorageKeyboard clean 45 | $(MAKE) -C MassStorageKeyboard all 46 | 47 | $(MAKE) -C MIDI clean 48 | $(MAKE) -C MIDI all 49 | 50 | $(MAKE) -C Mouse clean 51 | $(MAKE) -C Mouse all 52 | 53 | $(MAKE) -C RNDISEthernet clean 54 | $(MAKE) -C RNDISEthernet all 55 | 56 | $(MAKE) -C VirtualSerial clean 57 | $(MAKE) -C VirtualSerial all 58 | 59 | $(MAKE) -C VirtualSerialMouse clean 60 | $(MAKE) -C VirtualSerialMouse all 61 | 62 | $(MAKE) -C VirtualSerialMassStorage clean 63 | $(MAKE) -C VirtualSerialMassStorage all 64 | 65 | %: 66 | $(MAKE) -C AudioInput $@ 67 | $(MAKE) -C AudioOutput $@ 68 | $(MAKE) -C DualVirtualSerial $@ 69 | $(MAKE) -C GenericHID $@ 70 | $(MAKE) -C Joystick $@ 71 | $(MAKE) -C Keyboard $@ 72 | $(MAKE) -C KeyboardMouse $@ 73 | $(MAKE) -C KeyboardMouseMultiReport $@ 74 | $(MAKE) -C MassStorage $@ 75 | $(MAKE) -C MassStorageKeyboard $@ 76 | $(MAKE) -C MIDI $@ 77 | $(MAKE) -C Mouse $@ 78 | $(MAKE) -C RNDISEthernet $@ 79 | $(MAKE) -C VirtualSerial $@ 80 | $(MAKE) -C VirtualSerialMouse $@ 81 | $(MAKE) -C VirtualSerialMassStorage $@ 82 | 83 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/Incomplete/Sideshow/Lib/SideshowApplications.c: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | #include "SideshowApplications.h" 32 | 33 | SideShow_Application_t InstalledApplications[MAX_APPLICATIONS]; 34 | 35 | 36 | SideShow_Application_t* SideShow_GetFreeApplication(void) 37 | { 38 | for (uint8_t App = 0; App < ARRAY_ELEMENTS(InstalledApplications); App++) 39 | { 40 | if (!(InstalledApplications[App].InUse)) 41 | return &InstalledApplications[App]; 42 | } 43 | 44 | return NULL; 45 | } 46 | 47 | SideShow_Application_t* SideShow_GetApplicationFromGUID(GUID_t* const GUID) 48 | { 49 | for (uint8_t App = 0; App < ARRAY_ELEMENTS(InstalledApplications); App++) 50 | { 51 | if (InstalledApplications[App].InUse) 52 | { 53 | if (GUID_COMPARE(&InstalledApplications[App].ApplicationID, GUID)) 54 | return &InstalledApplications[App]; 55 | } 56 | } 57 | 58 | return NULL; 59 | } 60 | 61 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/Incomplete/Sideshow/Lib/SideshowApplications.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | #ifndef _SIDESHOW_APPLICATIONS_H_ 32 | #define _SIDESHOW_APPLICATIONS_H_ 33 | 34 | /* Includes: */ 35 | #include 36 | #include 37 | #include 38 | 39 | #include "SideshowCommon.h" 40 | 41 | /* Type Defines: */ 42 | typedef struct 43 | { 44 | bool InUse; 45 | GUID_t ApplicationID; 46 | GUID_t EndpointID; 47 | UNICODE_STRING_t(50) ApplicationName; 48 | uint32_t CachePolicy; 49 | uint32_t OnlineOnly; 50 | bool HaveContent; 51 | uint32_t CurrentContentID; 52 | uint8_t CurrentContent[MAX_CONTENTBUFFER_PER_APP]; 53 | } SideShow_Application_t; 54 | 55 | /* External Variables: */ 56 | extern SideShow_Application_t InstalledApplications[MAX_APPLICATIONS]; 57 | 58 | /* Function Prototypes: */ 59 | SideShow_Application_t* SideShow_GetFreeApplication(void); 60 | SideShow_Application_t* SideShow_GetApplicationFromGUID(GUID_t* const GUID); 61 | 62 | #endif 63 | 64 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/Incomplete/Sideshow/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/Incomplete/Sideshow/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/Incomplete/TestAndMeasurement/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/Incomplete/TestAndMeasurement/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/AudioInput/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/LowLevel/AudioInput/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/AudioOutput/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/LowLevel/AudioOutput/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/DualVirtualSerial/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/LowLevel/DualVirtualSerial/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/GenericHID/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/LowLevel/GenericHID/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/Joystick/Joystick.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage Joystick Device Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * - Series 6 USB AVRs (AT90USBxxx6) 15 | * - Series 4 USB AVRs (ATMEGAxxU4) 16 | * - Series 2 USB AVRs (AT90USBxx2, ATMEGAxxU2) 17 | * 18 | * \section Sec_Info USB Information: 19 | * 20 | * The following table gives a rundown of the USB utilization of this demo. 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 35 | * 36 | * 37 | * 39 | * 40 | * 41 | * 42 | * 44 | * 45 | *
USB Mode:Device
USB Class:Human Interface Device (HID)
USB Subclass:N/A
Relevant Standards:USBIF HID Specification \n 38 | * USBIF HID Usage Tables
Usable Speeds:Low Speed Mode \n 43 | * Full Speed Mode
46 | * 47 | * \section Sec_Description Project Description: 48 | * 49 | * Joystick demonstration application. This gives a simple reference 50 | * application for implementing a USB Keyboard device, for USB Joysticks 51 | * using the standard Keyboard HID profile. 52 | * 53 | * This device will show up as a generic joystick device, with two buttons. 54 | * Pressing the joystick inwards is the first button, and the HWB button 55 | * is the second. 56 | * 57 | * Moving the joystick on the selected board moves the joystick location on 58 | * the host computer. 59 | * 60 | * Currently only single interface joysticks are supported. 61 | * 62 | * \section Sec_Options Project Options 63 | * 64 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 65 | * 66 | * 67 | * 68 | * 71 | * 72 | *
69 | * None 70 | *
73 | */ 74 | 75 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/Joystick/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/LowLevel/Joystick/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/Keyboard/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/LowLevel/Keyboard/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/KeyboardMouse/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/LowLevel/KeyboardMouse/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/MIDI/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/LowLevel/MIDI/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/MassStorage/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/LowLevel/MassStorage/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/Mouse/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/LowLevel/Mouse/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/RNDISEthernet/LUFA RNDIS.inf: -------------------------------------------------------------------------------- 1 | ; Windows LUFA RNDIS Setup File 2 | ; Copyright (c) 2000 Microsoft Corporation 3 | 4 | [Version] 5 | Signature = "$Windows NT$" 6 | Class = Net 7 | ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} 8 | Provider = %COMPANY% 9 | DriverVer = 06/21/2006,6.0.6000.16384 10 | ;CatalogFile = device.cat 11 | 12 | [Manufacturer] 13 | %COMPANY% = RndisDevices,NTx86,NTamd64,NTia64 14 | 15 | ; Decoration for x86 architecture 16 | [RndisDevices.NTx86] 17 | %RNDISDEV% = RNDIS.NT.5.1, USB\VID_03EB&PID_204C 18 | 19 | ; Decoration for x64 architecture 20 | [RndisDevices.NTamd64] 21 | %RNDISDEV% = RNDIS.NT.5.1, USB\VID_03EB&PID_204C 22 | 23 | ; Decoration for ia64 architecture 24 | [RndisDevices.NTia64] 25 | %RNDISDEV% = RNDIS.NT.5.1, USB\VID_03EB&PID_204C 26 | 27 | ;@@@ This is the common setting for setup 28 | [ControlFlags] 29 | ExcludeFromSelect=* 30 | 31 | ; DDInstall section 32 | ; References the in-build Netrndis.inf 33 | [RNDIS.NT.5.1] 34 | Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI 35 | BusType = 15 36 | ; NEVER REMOVE THE FOLLOWING REFERENCE FOR NETRNDIS.INF 37 | include = netrndis.inf 38 | needs = Usb_Rndis.ndi 39 | AddReg = Rndis_AddReg_Vista 40 | 41 | ; DDInstal.Services section 42 | [RNDIS.NT.5.1.Services] 43 | include = netrndis.inf 44 | needs = Usb_Rndis.ndi.Services 45 | 46 | ; No sys copyfiles - the sys files are already in-build 47 | ; (part of the operating system). 48 | 49 | ; Modify these strings for your device as needed. 50 | [Strings] 51 | COMPANY="LUFA Library" 52 | RNDISDEV="LUFA USB RNDIS Demo" -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | /** \file 32 | * 33 | * Header file for ProtocolDecoders.c. 34 | */ 35 | 36 | #ifndef _PROTOCOL_DECODERS_H_ 37 | #define _PROTOCOL_DECODERS_H_ 38 | 39 | /* Includes: */ 40 | #include 41 | #include 42 | #include 43 | 44 | #include 45 | 46 | #include "EthernetProtocols.h" 47 | #include "Ethernet.h" 48 | 49 | /* Function Prototypes: */ 50 | void DecodeEthernetFrameHeader(void* InDataStart); 51 | void DecodeARPHeader(void* InDataStart); 52 | void DecodeIPHeader(void* InDataStart); 53 | void DecodeICMPHeader(void* InDataStart); 54 | void DecodeTCPHeader(void* InDataStart); 55 | void DecodeUDPHeader(void* InDataStart); 56 | void DecodeDHCPHeader(void* InDataStart); 57 | 58 | #endif 59 | 60 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/RNDISEthernet/Lib/Webserver.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | /** \file 32 | * 33 | * Header file for Webserver.c. 34 | */ 35 | 36 | #ifndef _WEBSERVER_H_ 37 | #define _WEBSERVER_H_ 38 | 39 | /* Includes: */ 40 | #include 41 | #include 42 | 43 | #include 44 | 45 | #include "TCP.h" 46 | 47 | /* Macros: */ 48 | /** Maximum size of a HTTP response per transmission */ 49 | #define HTTP_REPLY_BLOCK_SIZE 128 50 | 51 | /* Function Prototypes: */ 52 | void Webserver_Init(void); 53 | void Webserver_ApplicationCallback(TCP_ConnectionState_t* const ConnectionState, 54 | TCP_ConnectionBuffer_t* const Buffer); 55 | 56 | #endif 57 | 58 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/RNDISEthernet/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/LowLevel/RNDISEthernet/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/VirtualSerial/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Device/LowLevel/VirtualSerial/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/LowLevel/makefile: -------------------------------------------------------------------------------- 1 | # 2 | # LUFA Library 3 | # Copyright (C) Dean Camera, 2011. 4 | # 5 | # dean [at] fourwalledcubicle [dot] com 6 | # www.lufa-lib.org 7 | # 8 | 9 | # Makefile to build all the LUFA Device Demos. Call with "make all" to 10 | # rebuild all Device demos. 11 | 12 | # Projects are pre-cleaned before each one is built, to ensure any 13 | # custom LUFA library build options are reflected in the compiled 14 | # code. 15 | 16 | all: 17 | $(MAKE) -C AudioInput clean 18 | $(MAKE) -C AudioInput all 19 | 20 | $(MAKE) -C AudioOutput clean 21 | $(MAKE) -C AudioOutput all 22 | 23 | $(MAKE) -C DualVirtualSerial clean 24 | $(MAKE) -C DualVirtualSerial all 25 | 26 | $(MAKE) -C GenericHID clean 27 | $(MAKE) -C GenericHID all 28 | 29 | $(MAKE) -C Joystick clean 30 | $(MAKE) -C Joystick all 31 | 32 | $(MAKE) -C Keyboard clean 33 | $(MAKE) -C Keyboard all 34 | 35 | $(MAKE) -C KeyboardMouse clean 36 | $(MAKE) -C KeyboardMouse all 37 | 38 | $(MAKE) -C MassStorage clean 39 | $(MAKE) -C MassStorage all 40 | 41 | $(MAKE) -C MIDI clean 42 | $(MAKE) -C MIDI all 43 | 44 | $(MAKE) -C Mouse clean 45 | $(MAKE) -C Mouse all 46 | 47 | $(MAKE) -C RNDISEthernet clean 48 | $(MAKE) -C RNDISEthernet all 49 | 50 | $(MAKE) -C VirtualSerial clean 51 | $(MAKE) -C VirtualSerial all 52 | 53 | %: 54 | $(MAKE) -C AudioInput $@ 55 | $(MAKE) -C AudioOutput $@ 56 | $(MAKE) -C DualVirtualSerial $@ 57 | $(MAKE) -C GenericHID $@ 58 | $(MAKE) -C Joystick $@ 59 | $(MAKE) -C Keyboard $@ 60 | $(MAKE) -C KeyboardMouse $@ 61 | $(MAKE) -C MassStorage $@ 62 | $(MAKE) -C MIDI $@ 63 | $(MAKE) -C Mouse $@ 64 | $(MAKE) -C RNDISEthernet $@ 65 | $(MAKE) -C VirtualSerial $@ 66 | 67 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Device/makefile: -------------------------------------------------------------------------------- 1 | # 2 | # LUFA Library 3 | # Copyright (C) Dean Camera, 2011. 4 | # 5 | # dean [at] fourwalledcubicle [dot] com 6 | # www.lufa-lib.org 7 | # 8 | 9 | # Makefile to build all the LUFA Class Driver and Low Level Demos. Call with 10 | # "make all" to rebuild all demos of both types. 11 | 12 | # Projects are pre-cleaned before each one is built, to ensure any 13 | # custom LUFA library build options are reflected in the compiled 14 | # code. 15 | 16 | all: 17 | 18 | %: 19 | $(MAKE) -C ClassDriver $@ 20 | $(MAKE) -C LowLevel $@ 21 | 22 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | /** \file 32 | * 33 | * Header file for HostFunctions.c. 34 | */ 35 | 36 | #ifndef _MOUSE_HOST_FUNCTIONS_H_ 37 | #define _MOUSE_HOST_FUNCTIONS_H_ 38 | 39 | /* Includes: */ 40 | #include "MouseHostDevice.h" 41 | 42 | /* External Variables: */ 43 | extern USB_ClassInfo_HID_Host_t Mouse_HID_Host_Interface; 44 | 45 | /* Function Prototypes: */ 46 | void MouseHost_Task(void); 47 | 48 | void EVENT_USB_Host_HostError(const uint8_t ErrorCode); 49 | void EVENT_USB_Host_DeviceAttached(void); 50 | void EVENT_USB_Host_DeviceUnattached(void); 51 | void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, 52 | const uint8_t SubErrorCode); 53 | void EVENT_USB_Host_DeviceEnumerationComplete(void); 54 | 55 | #endif 56 | 57 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/DualRole/ClassDriver/MouseHostDevice/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/DualRole/ClassDriver/MouseHostDevice/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/DualRole/ClassDriver/makefile: -------------------------------------------------------------------------------- 1 | # 2 | # LUFA Library 3 | # Copyright (C) Dean Camera, 2011. 4 | # 5 | # dean [at] fourwalledcubicle [dot] com 6 | # www.lufa-lib.org 7 | # 8 | 9 | # Makefile to build all the LUFA Dual Role Demos. Call with "make all" to 10 | # rebuild all Dual Role demos. 11 | 12 | # Projects are pre-cleaned before each one is built, to ensure any 13 | # custom LUFA library build options are reflected in the compiled 14 | # code. 15 | 16 | all: 17 | $(MAKE) -C MouseHostDevice clean 18 | $(MAKE) -C MouseHostDevice all 19 | 20 | %: 21 | $(MAKE) -C MouseHostDevice $@ 22 | 23 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/DualRole/makefile: -------------------------------------------------------------------------------- 1 | # 2 | # LUFA Library 3 | # Copyright (C) Dean Camera, 2011. 4 | # 5 | # dean [at] fourwalledcubicle [dot] com 6 | # www.lufa-lib.org 7 | # 8 | 9 | # Makefile to build all the LUFA Class Driver and Low Level Demos. Call with 10 | # "make all" to rebuild all demos of both types. 11 | 12 | # Projects are pre-cleaned before each one is built, to ensure any 13 | # custom LUFA library build options are reflected in the compiled 14 | # code. 15 | 16 | all: 17 | 18 | %: 19 | $(MAKE) -C ClassDriver/ $@ 20 | 21 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/AudioInputHost/AudioInputHost.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage Audio Input Host Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 37 | * 38 | * 39 | * 40 | * 41 | * 42 | *
USB Mode:Host
USB Class:Audio Class
USB Subclass:Standard Audio Device
Relevant Standards:USBIF Audio 1.0 Class Specification \n 35 | * USBIF Audio 1.0 Class Terminal Types Specification \n 36 | * USBIF Audio 1.0 Data Formats Specification
Usable Speeds:Full Speed Mode
43 | * 44 | * \section Sec_Description Project Description: 45 | * 46 | * Audio Input host demonstration application. This gives a simple reference 47 | * application for implementing a USB Audio host, for USB Audio devices using 48 | * the USB Audio 1.0 class profile. 49 | * 50 | * Incoming audio will output in 8-bit PWM onto the timer 3 output compare 51 | * channel A, and will also be indicated on the board LEDs. Decouple the PWM 52 | * output with a capacitor and attach to a speaker to hear the audio. 53 | * 54 | * \section Sec_Options Project Options 55 | * 56 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 57 | * 58 | * 59 | * 60 | * 63 | * 64 | *
61 | * None 62 | *
65 | */ 66 | 67 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/AudioInputHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/ClassDriver/AudioInputHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/AudioOutputHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/ClassDriver/AudioOutputHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/JoystickHostWithParser/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/ClassDriver/JoystickHostWithParser/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage Keyboard Host Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 35 | * 36 | * 37 | * 38 | * 39 | * 40 | *
USB Mode:Host
USB Class:Human Interface Device (HID)
USB Subclass:N/A
Relevant Standards:USBIF HID Specification, USBIF HID Usage Tables
Usable Speeds:Low Speed Mode, Full Speed Mode
41 | * 42 | * \section Sec_Description Project Description: 43 | * 44 | * Keyboard host demonstration application. This gives a simple reference 45 | * application for implementing a USB keyboard host, for USB keyboards using 46 | * the standard keyboard HID profile. 47 | * 48 | * Pressed alpha-numeric, enter or space key is transmitted through the serial 49 | * USART at serial settings 9600, 8, N, 1. 50 | * 51 | * This uses a naive method where the keyboard is set to Boot Protocol mode, so 52 | * that the report structure is fixed and known. A better implementation 53 | * uses the HID report parser for correct report data processing across 54 | * all compatible mice with advanced characteristics, as shown in the 55 | * KeyboardHostWithParser demo application. 56 | * 57 | * Currently only single interface keyboards are supported. 58 | * 59 | * \section Sec_Options Project Options 60 | * 61 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 62 | * 63 | * 64 | * 65 | * 68 | * 69 | *
66 | * None 67 | *
70 | */ 71 | 72 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/KeyboardHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/ClassDriver/KeyboardHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/MIDIHost/MIDIHost.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage MIDI Host Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 35 | * 36 | * 37 | * 38 | * 39 | * 40 | *
USB Mode:Host
USB Class:Audio Class Device
USB Subclass:MIDI Subclass
Relevant Standards:USBIF USB MIDI Audio Class Standard
Usable Speeds:Full Speed Mode
41 | * 42 | * \section Sec_Description Project Description: 43 | * 44 | * MIDI host demonstration application. This demo will enumerate an attached USB-MIDI device, and print incoming MIDI note 45 | * on and off messages on any channel to the serial port. Pressing the board joystick will send note on and off messages to 46 | * the attached MIDI device, with the board HWB controlling the note channel. 47 | * 48 | * \section Sec_Options Project Options 49 | * 50 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 51 | * 52 | * 53 | * 54 | * 57 | * 58 | *
55 | * None 56 | *
59 | */ 60 | 61 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/MIDIHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/ClassDriver/MIDIHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage Mass Storage Host Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 38 | * 39 | * 40 | * 41 | * 42 | * 43 | *
USB Mode:Host
USB Class:Mass Storage Device
USB Subclass:Bulk Only
Relevant Standards:USBIF Mass Storage Standard \n 35 | * USB Bulk-Only Transport Standard \n 36 | * SCSI Primary Commands Specification \n 37 | * SCSI Block Commands Specification
Usable Speeds:Full Speed Mode
44 | * 45 | * \section Sec_Description Project Description: 46 | * 47 | * Mass Storage host demonstration application. This gives a simple reference 48 | * application for implementing a USB Mass Storage host, for USB storage devices 49 | * using the standard Mass Storage USB profile. 50 | * 51 | * The first 512 bytes (boot sector) of an attached disk's memory will be dumped 52 | * out of the serial port in HEX and ASCII form when it is attached to the AT90USB1287 53 | * AVR. The device will then wait for HWB to be pressed, whereupon the entire ASCII contents 54 | * of the disk will be dumped to the serial port. 55 | * 56 | * \section Sec_Options Project Options 57 | * 58 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 59 | * 60 | * 61 | * 62 | * 65 | * 66 | *
63 | * None 64 | *
67 | */ 68 | 69 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/MassStorageHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/ClassDriver/MassStorageHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/MouseHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/ClassDriver/MouseHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage Mouse Host With HID Descriptor Parser Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 36 | * 37 | * 38 | * 39 | * 41 | * 42 | *
USB Mode:Host
USB Class:Human Interface Device (HID)
USB Subclass:N/A
Relevant Standards:USBIF HID Specification \n 35 | * USBIF HID Usage Tables
Usable Speeds:Low Speed Mode \n 40 | * Full Speed Mode
43 | * 44 | * \section Sec_Description Project Description: 45 | * 46 | * Mouse host demonstration application. This gives a simple reference 47 | * application for implementing a USB Mouse host, for USB mice using 48 | * the standard mouse HID profile. It uses a HID parser for the HID 49 | * reports, allowing for correct operation across all USB mice. This 50 | * demo supports mice with a single HID report. 51 | * 52 | * Mouse and scroll wheel movement and button presses are displayed 53 | * on the board LEDs. On connection to a USB mouse, the report items 54 | * will be processed and printed as a formatted list through the USART 55 | * before the mouse is fully enumerated. 56 | * 57 | * Currently only single interface mice are supported. 58 | * 59 | * \section Sec_Options Project Options 60 | * 61 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 62 | * 63 | * 64 | * 65 | * 68 | * 69 | *
66 | * None 67 | *
70 | */ 71 | 72 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/MouseHostWithParser/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/ClassDriver/MouseHostWithParser/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/PrinterHost/PrinterHost.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage Printer Host Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 36 | * 37 | * 38 | * 39 | * 41 | * 42 | *
USB Mode:Host
USB Class:Printer Device
USB Subclass:Bidirectional Protocol
Relevant Standards:USBIF Printer Class Specification \n 35 | * PCL Language Specification
Usable Speeds:Low Speed Mode \n 40 | * Full Speed Mode
43 | * 44 | * \section Sec_Description Project Description: 45 | * 46 | * Printer host demonstration application. This gives a simple reference 47 | * application for implementing a USB Printer host, for USB printers using 48 | * the bidirectional data encapsulation protocol and PCL language. 49 | * 50 | * Upon connection of a compatible printer, the printer's device ID is sent 51 | * to the AVR's serial port, and a simple test page is printed using the PCL 52 | * printer language. 53 | * 54 | * \section Sec_Options Project Options 55 | * 56 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 57 | * 58 | * 59 | * 60 | * 63 | * 64 | *
61 | * None 62 | *
65 | */ 66 | 67 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/PrinterHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/ClassDriver/PrinterHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/RNDISEthernetHost/RNDISEthernetHost.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage RNDIS Host Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 35 | * 36 | * 37 | * 38 | * 39 | * 40 | *
USB Mode:Host
USB Class:Communications Device Class (CDC)
USB Subclass:Remote NDIS (Microsoft Proprietary CDC Class Networking Standard)
Relevant Standards:Microsoft RNDIS Specification
Usable Speeds:Full Speed Mode
41 | * 42 | * \section Sec_Description Project Description: 43 | * 44 | * RNDIS host demonstration application. This gives a simple reference 45 | * application for implementing a RNDIS Ethernet host, for USB devices such as 46 | * modems. 47 | * 48 | * This demo will enumerate an attached USB RNDIS device, print out its vendor ID 49 | * and any received packets in raw form through the serial USART. 50 | * 51 | * \section Sec_Options Project Options 52 | * 53 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 54 | * 55 | * 56 | * 57 | * 60 | * 61 | *
58 | * None 59 | *
62 | */ 63 | 64 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/RNDISEthernetHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/ClassDriver/RNDISEthernetHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/StillImageHost/StillImageHost.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage Still Image Host Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 36 | * 37 | * 38 | * 39 | * 40 | * 41 | *
USB Mode:Host
USB Class:Still Image Device
USB Subclass:N/A
Relevant Standards:USBIF Still Image Class Specification \n 35 | * PIMA 15740 Specification
Usable Speeds:Full Speed Mode
42 | * 43 | * \section Sec_Description Project Description: 44 | * 45 | * Still Image host demonstration application. This gives a simple reference 46 | * application for implementing a Still Image host, for USB devices such as 47 | * digital cameras. 48 | * 49 | * This demo will enumerate an attached USB Still Image device, print out its 50 | * information structure, open a session with the device and finally close the 51 | * session. 52 | * 53 | * \section Sec_Options Project Options 54 | * 55 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 56 | * 57 | * 58 | * 59 | * 62 | * 63 | *
60 | * None 61 | *
64 | */ 65 | 66 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/StillImageHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/ClassDriver/StillImageHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/VirtualSerialHost/VirtualSerialHost.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage CDC Host Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 35 | * 36 | * 37 | * 38 | * 39 | * 40 | *
USB Mode:Host
USB Class:Communications Device Class (CDC)
USB Subclass:Abstract Control Model (ACM)
Relevant Standards:USBIF CDC Class Standard
Usable Speeds:Full Speed Mode
41 | * 42 | * \section Sec_Description Project Description: 43 | * 44 | * CDC host demonstration application. This gives a simple reference application 45 | * for implementing a USB CDC host, for CDC devices using the standard ACM profile. 46 | * 47 | * This demo prints out received CDC data through the serial port. 48 | * 49 | * Note that this demo is only compatible with devices which report the correct CDC 50 | * and ACM class, subclass and protocol values. Most USB-Serial cables have vendor 51 | * specific features, thus use vendor-specific class/subclass/protocol codes to force 52 | * the user to use specialized drivers. This demo is not compatible with such devices. 53 | * 54 | * \section Sec_Options Project Options 55 | * 56 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 57 | * 58 | * 59 | * 60 | * 63 | * 64 | *
61 | * None 62 | *
65 | */ 66 | 67 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/VirtualSerialHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/ClassDriver/VirtualSerialHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/ClassDriver/makefile: -------------------------------------------------------------------------------- 1 | # 2 | # LUFA Library 3 | # Copyright (C) Dean Camera, 2011. 4 | # 5 | # dean [at] fourwalledcubicle [dot] com 6 | # www.lufa-lib.org 7 | # 8 | 9 | # Makefile to build all the LUFA Host Demos. Call with "make all" to 10 | # rebuild all Host demos. 11 | 12 | # Projects are pre-cleaned before each one is built, to ensure any 13 | # custom LUFA library build options are reflected in the compiled 14 | # code. 15 | 16 | all: 17 | $(MAKE) -C AudioInputHost clean 18 | $(MAKE) -C AudioInputHost all 19 | 20 | $(MAKE) -C AudioOutputHost clean 21 | $(MAKE) -C AudioOutputHost all 22 | 23 | $(MAKE) -C JoystickHostWithParser clean 24 | $(MAKE) -C JoystickHostWithParser all 25 | 26 | $(MAKE) -C KeyboardHost clean 27 | $(MAKE) -C KeyboardHost all 28 | 29 | $(MAKE) -C KeyboardHostWithParser clean 30 | $(MAKE) -C KeyboardHostWithParser all 31 | 32 | $(MAKE) -C MassStorageHost clean 33 | $(MAKE) -C MassStorageHost all 34 | 35 | $(MAKE) -C MIDIHost clean 36 | $(MAKE) -C MIDIHost all 37 | 38 | $(MAKE) -C MouseHost clean 39 | $(MAKE) -C MouseHost all 40 | 41 | $(MAKE) -C MouseHostWithParser clean 42 | $(MAKE) -C MouseHostWithParser all 43 | 44 | $(MAKE) -C PrinterHost clean 45 | $(MAKE) -C PrinterHost all 46 | 47 | $(MAKE) -C RNDISEthernetHost clean 48 | $(MAKE) -C RNDISEthernetHost all 49 | 50 | $(MAKE) -C StillImageHost clean 51 | $(MAKE) -C StillImageHost all 52 | 53 | $(MAKE) -C VirtualSerialHost clean 54 | $(MAKE) -C VirtualSerialHost all 55 | 56 | %: 57 | $(MAKE) -C AudioInputHost $@ 58 | $(MAKE) -C AudioOutputHost $@ 59 | $(MAKE) -C JoystickHostWithParser $@ 60 | $(MAKE) -C KeyboardHost $@ 61 | $(MAKE) -C KeyboardHostWithParser $@ 62 | $(MAKE) -C MassStorageHost $@ 63 | $(MAKE) -C MIDIHost $@ 64 | $(MAKE) -C MouseHost $@ 65 | $(MAKE) -C MouseHostWithParser $@ 66 | $(MAKE) -C PrinterHost $@ 67 | $(MAKE) -C RNDISEthernetHost $@ 68 | $(MAKE) -C StillImageHost $@ 69 | $(MAKE) -C VirtualSerialHost $@ 70 | 71 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/Incomplete/AndroidAccessoryHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/Incomplete/AndroidAccessoryHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/Incomplete/BluetoothHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/Incomplete/BluetoothHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/AudioInputHost/AudioInputHost.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage Audio Input Host Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 37 | * 38 | * 39 | * 40 | * 41 | * 42 | *
USB Mode:Host
USB Class:Audio Class
USB Subclass:Standard Audio Device
Relevant Standards:USBIF Audio 1.0 Class Specification \n 35 | * USBIF Audio 1.0 Class Terminal Types Specification \n 36 | * USBIF Audio 1.0 Data Formats Specification
Usable Speeds:Full Speed Mode
43 | * 44 | * \section Sec_Description Project Description: 45 | * 46 | * Audio Input host demonstration application. This gives a simple reference 47 | * application for implementing a USB Audio host, for USB Audio devices using 48 | * the USB Audio 1.0 class profile. 49 | * 50 | * Incoming audio will output in 8-bit PWM onto the timer 3 output compare 51 | * channel A, and will also be indicated on the board LEDs. Decouple the PWM 52 | * output with a capacitor and attach to a speaker to hear the audio. 53 | * 54 | * \section Sec_Options Project Options 55 | * 56 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 57 | * 58 | * 59 | * 60 | * 63 | * 64 | *
61 | * None 62 | *
65 | */ 66 | 67 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/AudioInputHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/LowLevel/AudioInputHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/AudioOutputHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/LowLevel/AudioOutputHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage Generic HID Host Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 36 | * 37 | * 38 | * 39 | * 41 | * 42 | *
USB Mode:Host
USB Class:Human Interface Device (HID)
USB Subclass:N/A
Relevant Standards:USBIF HID Specification \n 35 | * USBIF HID Usage Tables
Usable Speeds:Low Speed Mode \n 40 | * Full Speed Mode
43 | * 44 | * \section Sec_Description Project Description: 45 | * 46 | * Generic HID host demonstration application. This gives a simple reference 47 | * application for implementing a Generic HID USB host, for any device implementing 48 | * the HID profile. 49 | * 50 | * Received reports from the attached device are printed to the serial port. 51 | * 52 | * \section Sec_Options Project Options 53 | * 54 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 55 | * 56 | * 57 | * 58 | * 61 | * 62 | *
59 | * None 60 | *
63 | */ 64 | 65 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/GenericHIDHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/LowLevel/GenericHIDHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/JoystickHostWithParser/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/LowLevel/JoystickHostWithParser/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/KeyboardHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/LowLevel/KeyboardHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/KeyboardHostWithParser/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/LowLevel/KeyboardHostWithParser/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/MIDIHost/MIDIHost.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage MIDI Host Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 35 | * 36 | * 37 | * 38 | * 39 | * 40 | *
USB Mode:Host
USB Class:Audio Class Device
USB Subclass:MIDI Subclass
Relevant Standards:USBIF USB MIDI Audio Class Standard
Usable Speeds:Full Speed Mode
41 | * 42 | * \section Sec_Description Project Description: 43 | * 44 | * MIDI host demonstration application. This demo will enumerate an attached USB-MIDI device, and print incoming MIDI note 45 | * on and off messages on any channel to the serial port. Pressing the board joystick will send note on and off messages to 46 | * the attached MIDI device, with the board HWB controlling the note channel. 47 | * 48 | * \section Sec_Options Project Options 49 | * 50 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 51 | * 52 | * 53 | * 54 | * 57 | * 58 | *
55 | * None 56 | *
59 | */ 60 | 61 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/MIDIHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/LowLevel/MIDIHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage Mass Storage Host Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 38 | * 39 | * 40 | * 41 | * 42 | * 43 | *
USB Mode:Host
USB Class:Mass Storage Device
USB Subclass:Bulk Only
Relevant Standards:USBIF Mass Storage Standard \n 35 | * USB Bulk-Only Transport Standard \n 36 | * SCSI Primary Commands Specification \n 37 | * SCSI Block Commands Specification
Usable Speeds:Full Speed Mode
44 | * 45 | * \section Sec_Description Project Description: 46 | * 47 | * Mass Storage host demonstration application. This gives a simple reference 48 | * application for implementing a USB Mass Storage host, for USB storage devices 49 | * using the standard Mass Storage USB profile. 50 | * 51 | * The first 512 bytes (boot sector) of an attached disk's memory will be dumped 52 | * out of the serial port in HEX and ASCII form when it is attached to the AT90USB1287 53 | * AVR. The device will then wait for HWB to be pressed, whereupon the entire ASCII contents 54 | * of the disk will be dumped to the serial port. 55 | * 56 | * \section Sec_Options Project Options 57 | * 58 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 59 | * 60 | * 61 | * 62 | * 65 | * 66 | *
63 | * None 64 | *
67 | */ 68 | 69 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/MassStorageHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/LowLevel/MassStorageHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/MouseHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/LowLevel/MouseHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage Mouse Host With HID Descriptor Parser Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 36 | * 37 | * 38 | * 39 | * 41 | * 42 | *
USB Mode:Host
USB Class:Human Interface Device (HID)
USB Subclass:N/A
Relevant Standards:USBIF HID Specification \n 35 | * USBIF HID Usage Tables
Usable Speeds:Low Speed Mode \n 40 | * Full Speed Mode
43 | * 44 | * \section Sec_Description Project Description: 45 | * 46 | * Mouse host demonstration application. This gives a simple reference 47 | * application for implementing a USB Mouse host, for USB mice using 48 | * the standard mouse HID profile. It uses a HID parser for the HID 49 | * reports, allowing for correct operation across all USB mice. This 50 | * demo supports mice with a single HID report. 51 | * 52 | * Mouse and scroll wheel movement and button presses are displayed 53 | * on the board LEDs. On connection to a USB mouse, the report items 54 | * will be processed and printed as a formatted list through the USART 55 | * before the mouse is fully enumerated. 56 | * 57 | * Currently only single interface mice are supported. 58 | * 59 | * \section Sec_Options Project Options 60 | * 61 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 62 | * 63 | * 64 | * 65 | * 68 | * 69 | *
66 | * None 67 | *
70 | */ 71 | 72 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/MouseHostWithParser/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/LowLevel/MouseHostWithParser/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | /** \file 32 | * 33 | * Header file for PrinterCommands.c. 34 | */ 35 | 36 | #ifndef _PRINTER_COMMANDS_H_ 37 | #define _PRINTER_COMMANDS_H_ 38 | 39 | /* Includes: */ 40 | #include 41 | #include 42 | 43 | #include 44 | 45 | #include "../PrinterHost.h" 46 | 47 | /* Function Prototypes: */ 48 | uint8_t Printer_SendData(const void* const PrinterCommands, 49 | const uint16_t CommandSize); 50 | uint8_t Printer_GetDeviceID(char* DeviceIDString, 51 | const uint16_t BufferSize); 52 | uint8_t Printer_GetPortStatus(uint8_t* const PortStatus); 53 | uint8_t Printer_SoftReset(void); 54 | 55 | #endif 56 | 57 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/PrinterHost/PrinterHost.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage Printer Host Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 36 | * 37 | * 39 | *
USB Mode:Host
USB Class:Printer Device
USB Subclass:Bidirectional Protocol
Relevant Standards:USBIF Printer Class Specification \n 35 | * PCL Language Specification
Low Speed Mode \n 38 | * Full Speed Mode
40 | * 41 | * \section Sec_Description Project Description: 42 | * 43 | * Printer host demonstration application. This gives a simple reference 44 | * application for implementing a USB Printer host, for USB printers using 45 | * the bidirectional data encapsulation protocol and PCL language. 46 | * 47 | * Upon connection of a compatible printer, the printer's device ID is sent 48 | * to the AVR's serial port, and a simple test page is printed using the PCL 49 | * printer language. 50 | * 51 | * \section Sec_Options Project Options 52 | * 53 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 54 | * 55 | * 56 | * 57 | * 60 | * 61 | *
58 | * None 59 | *
62 | */ 63 | 64 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/PrinterHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/LowLevel/PrinterHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/RNDISEthernetHost/RNDISHost.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage RNDIS Host Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 35 | * 36 | * 37 | * 38 | * 39 | * 40 | *
USB Mode:Host
USB Class:Communications Device Class (CDC)
USB Subclass:Remote NDIS (Microsoft Proprietary CDC Class Networking Standard)
Relevant Standards:Microsoft RNDIS Specification
Usable Speeds:Full Speed Mode
41 | * 42 | * \section Sec_Description Project Description: 43 | * 44 | * RNDIS host demonstration application. This gives a simple reference 45 | * application for implementing a RNDIS Ethernet host, for USB devices such as 46 | * modems. 47 | * 48 | * This demo will enumerate an attached USB RNDIS device, print out its vendor ID 49 | * and any received packets in raw form through the serial USART. 50 | * 51 | * \section Sec_Options Project Options 52 | * 53 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 54 | * 55 | * 56 | * 57 | * 60 | * 61 | *
58 | * None 59 | *
62 | */ 63 | 64 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/RNDISEthernetHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/LowLevel/RNDISEthernetHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/StillImageHost/Lib/PIMACodes.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | /** \file 32 | * 33 | * Header containing macros for possible PIMA commands. Refer to the PIMA standard 34 | * documentation for more information on each PIMA command. 35 | */ 36 | 37 | #ifndef _PIMA_CODES_H_ 38 | 39 | /* Macros: */ 40 | #define PIMA_OPERATION_GETDEVICEINFO 0x1001 41 | #define PIMA_OPERATION_OPENSESSION 0x1002 42 | #define PIMA_OPERATION_CLOSESESSION 0x1003 43 | 44 | #endif 45 | 46 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/StillImageHost/StillImageHost.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage Still Image Host Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 36 | * 37 | * 38 | * 39 | * 40 | * 41 | *
USB Mode:Host
USB Class:Still Image Device
USB Subclass:N/A
Relevant Standards:USBIF Still Image Class Specification \n 35 | * PIMA 15740 Specification
Usable Speeds:Full Speed Mode
42 | * 43 | * \section Sec_Description Project Description: 44 | * 45 | * Still Image host demonstration application. This gives a simple reference 46 | * application for implementing a Still Image host, for USB devices such as 47 | * digital cameras. 48 | * 49 | * This demo will enumerate an attached USB Still Image device, print out its 50 | * information structure, open a session with the device and finally close the 51 | * session. 52 | * 53 | * \section Sec_Options Project Options 54 | * 55 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 56 | * 57 | * 58 | * 59 | * 62 | * 63 | *
60 | * None 61 | *
64 | */ 65 | 66 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/StillImageHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/LowLevel/StillImageHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/VirtualSerialHost/VirtualSerialHost.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage CDC Host Demo 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 35 | * 36 | * 37 | * 38 | * 39 | * 40 | *
USB Mode:Host
USB Class:Communications Device Class (CDC)
USB Subclass:Abstract Control Model (ACM)
Relevant Standards:USBIF CDC Class Standard
Usable Speeds:Full Speed Mode
41 | * 42 | * \section Sec_Description Project Description: 43 | * 44 | * CDC host demonstration application. This gives a simple reference application 45 | * for implementing a USB CDC host, for CDC devices using the standard ACM profile. 46 | * 47 | * This demo prints out received CDC data through the serial port. 48 | * 49 | * Note that this demo is only compatible with devices which report the correct CDC 50 | * and ACM class, subclass and protocol values. Most USB-Serial cables have vendor 51 | * specific features, thus use vendor-specific class/subclass/protocol codes to force 52 | * the user to use specialized drivers. This demo is not compatible with such devices. 53 | * 54 | * \section Sec_Options Project Options 55 | * 56 | * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. 57 | * 58 | * 59 | * 60 | * 63 | * 64 | *
61 | * None 62 | *
65 | */ 66 | 67 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/VirtualSerialHost/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Demos/Host/LowLevel/VirtualSerialHost/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/LowLevel/makefile: -------------------------------------------------------------------------------- 1 | # 2 | # LUFA Library 3 | # Copyright (C) Dean Camera, 2011. 4 | # 5 | # dean [at] fourwalledcubicle [dot] com 6 | # www.lufa-lib.org 7 | # 8 | 9 | # Makefile to build all the LUFA Host Demos. Call with "make all" to 10 | # rebuild all Host demos. 11 | 12 | # Projects are pre-cleaned before each one is built, to ensure any 13 | # custom LUFA library build options are reflected in the compiled 14 | # code. 15 | 16 | all: 17 | $(MAKE) -C AudioInputHost clean 18 | $(MAKE) -C AudioInputHost all 19 | 20 | $(MAKE) -C AudioOutputHost clean 21 | $(MAKE) -C AudioOutputHost all 22 | 23 | $(MAKE) -C GenericHIDHost clean 24 | $(MAKE) -C GenericHIDHost all 25 | 26 | $(MAKE) -C JoystickHostWithParser clean 27 | $(MAKE) -C JoystickHostWithParser all 28 | 29 | $(MAKE) -C KeyboardHost clean 30 | $(MAKE) -C KeyboardHost all 31 | 32 | $(MAKE) -C MassStorageHost clean 33 | $(MAKE) -C MassStorageHost all 34 | 35 | $(MAKE) -C MIDIHost clean 36 | $(MAKE) -C MIDIHost all 37 | 38 | $(MAKE) -C MouseHost clean 39 | $(MAKE) -C MouseHost all 40 | 41 | $(MAKE) -C MouseHostWithParser clean 42 | $(MAKE) -C MouseHostWithParser all 43 | 44 | $(MAKE) -C PrinterHost clean 45 | $(MAKE) -C PrinterHost all 46 | 47 | $(MAKE) -C RNDISEthernetHost clean 48 | $(MAKE) -C RNDISEthernetHost all 49 | 50 | $(MAKE) -C StillImageHost clean 51 | $(MAKE) -C StillImageHost all 52 | 53 | $(MAKE) -C VirtualSerialHost clean 54 | $(MAKE) -C VirtualSerialHost all 55 | 56 | %: 57 | $(MAKE) -C AudioInputHost $@ 58 | $(MAKE) -C AudioOutputHost $@ 59 | $(MAKE) -C GenericHIDHost $@ 60 | $(MAKE) -C JoystickHostWithParser $@ 61 | $(MAKE) -C KeyboardHost $@ 62 | $(MAKE) -C KeyboardHostWithParser $@ 63 | $(MAKE) -C MassStorageHost $@ 64 | $(MAKE) -C MIDIHost $@ 65 | $(MAKE) -C MouseHost $@ 66 | $(MAKE) -C MouseHostWithParser $@ 67 | $(MAKE) -C PrinterHost $@ 68 | $(MAKE) -C RNDISEthernetHost $@ 69 | $(MAKE) -C StillImageHost $@ 70 | $(MAKE) -C VirtualSerialHost $@ 71 | 72 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/Host/makefile: -------------------------------------------------------------------------------- 1 | # 2 | # LUFA Library 3 | # Copyright (C) Dean Camera, 2011. 4 | # 5 | # dean [at] fourwalledcubicle [dot] com 6 | # www.lufa-lib.org 7 | # 8 | 9 | # Makefile to build all the LUFA Class Driver and Low Level Demos. Call with 10 | # "make all" to rebuild all demos of both types. 11 | 12 | # Projects are pre-cleaned before each one is built, to ensure any 13 | # custom LUFA library build options are reflected in the compiled 14 | # code. 15 | 16 | all: 17 | 18 | %: 19 | $(MAKE) -C ClassDriver $@ 20 | $(MAKE) -C LowLevel $@ 21 | 22 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Demos/makefile: -------------------------------------------------------------------------------- 1 | # 2 | # LUFA Library 3 | # Copyright (C) Dean Camera, 2011. 4 | # 5 | # dean [at] fourwalledcubicle [dot] com 6 | # www.lufa-lib.org 7 | # 8 | 9 | # Makefile to build all the LUFA Demos. Call with "make all" to 10 | # rebuild all demos. 11 | 12 | # Projects are pre-cleaned before each one is built, to ensure any 13 | # custom LUFA library build options are reflected in the compiled 14 | # code. 15 | 16 | all: 17 | 18 | %: 19 | $(MAKE) -C Device $@ 20 | $(MAKE) -C Host $@ 21 | $(MAKE) -C DualRole $@ 22 | 23 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/CodeTemplates/makefile_template.avr8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/LUFA/CodeTemplates/makefile_template.avr8 -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/CodeTemplates/makefile_template.uc3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/LUFA/CodeTemplates/makefile_template.uc3 -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/CodeTemplates/makefile_template.xmega: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/LUFA/CodeTemplates/makefile_template.xmega -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.c: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | #define __INCLUDE_FROM_USB_DRIVER 32 | #include "../USBMode.h" 33 | 34 | #if defined(USB_CAN_BE_DEVICE) 35 | 36 | #include "../Device.h" 37 | 38 | void USB_Device_SendRemoteWakeup(void) 39 | { 40 | if (!(USB_Options & USB_OPT_MANUAL_PLL)) 41 | { 42 | USB_PLL_On(); 43 | while (!(USB_PLL_IsReady())); 44 | } 45 | 46 | USB_CLK_Unfreeze(); 47 | 48 | UDCON |= (1 << RMWKUP); 49 | while (UDCON & (1 << RMWKUP)); 50 | } 51 | 52 | #endif 53 | 54 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/Drivers/USB/Core/Events.c: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | #define __INCLUDE_FROM_EVENTS_C 32 | #define __INCLUDE_FROM_USB_DRIVER 33 | #include "Events.h" 34 | 35 | void USB_Event_Stub(void) 36 | { 37 | 38 | } 39 | 40 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/Drivers/USB/Core/UC3/Device_UC3.c: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | #define __INCLUDE_FROM_USB_DRIVER 32 | #include "../USBMode.h" 33 | 34 | #if defined(USB_CAN_BE_DEVICE) 35 | 36 | #include "../Device.h" 37 | 38 | void USB_Device_SendRemoteWakeup(void) 39 | { 40 | USB_CLK_Unfreeze(); 41 | 42 | AVR32_USBB.UDCON.rmwkup = true; 43 | while (AVR32_USBB.UDCON.rmwkup); 44 | } 45 | 46 | #endif 47 | 48 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.c: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | #define __INCLUDE_FROM_USB_DRIVER 32 | #include "../USBMode.h" 33 | 34 | #if defined(USB_CAN_BE_DEVICE) 35 | 36 | #include "../Device.h" 37 | 38 | void USB_Device_SendRemoteWakeup(void) 39 | { 40 | USB.CTRLB |= USB_RWAKEUP_bm; 41 | } 42 | 43 | #endif 44 | 45 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/Drivers/USB/Core/XMEGA/Host_XMEGA.c: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | #define __INCLUDE_FROM_USB_DRIVER 32 | #include "../USBMode.h" 33 | 34 | #if defined(USB_CAN_BE_HOST) 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/Drivers/USB/Core/XMEGA/PipeStream_XMEGA.c: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | #define __INCLUDE_FROM_USB_DRIVER 32 | #include "../USBMode.h" 33 | 34 | #if defined(USB_CAN_BE_HOST) 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/Drivers/USB/Core/XMEGA/Pipe_XMEGA.c: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | #define __INCLUDE_FROM_USB_DRIVER 32 | #include "../USBMode.h" 33 | 34 | #if defined(USB_CAN_BE_HOST) 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/License.txt: -------------------------------------------------------------------------------- 1 | Permission to use, copy, modify, and distribute this software 2 | and its documentation for any purpose is hereby granted without 3 | fee, provided that the above copyright notice appear in all 4 | copies and that both that the copyright notice and this 5 | permission notice and warranty disclaimer appear in supporting 6 | documentation, and that the name of the author not be used in 7 | advertising or publicity pertaining to distribution of the 8 | software without specific, written prior permission. 9 | 10 | The author disclaim all warranties with regard to this 11 | software, including all implied warranties of merchantability 12 | and fitness. In no event shall the author be liable for any 13 | special, indirect or consequential damages or any damages 14 | whatsoever resulting from loss of use, data or profits, whether 15 | in an action of contract, negligence or other tortious action, 16 | arising out of or in connection with the use or performance of 17 | this software. 18 | 19 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/ManPages/AboutLUFA.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** 8 | * \page Page_AboutLUFA About LUFA 9 | * 10 | * This section of the manual contains information about the library as a whole, including its supported targets, 11 | * past and planned changes, and links to other projects incorporating LUFA. 12 | * 13 | * Subsections: 14 | * \li \subpage Page_DeviceSupport - Current Device and Hardware Support 15 | * \li \subpage Page_Resources - LUFA and USB Related Resources 16 | * \li \subpage Page_ChangeLog - Project Changelog 17 | * \li \subpage Page_FutureChanges - Planned Changes to the Library 18 | * \li \subpage Page_LUFAPoweredProjects - Other Projects Using LUFA 19 | */ 20 | 21 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/ManPages/Author.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/LUFA/ManPages/Author.jpg -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/ManPages/BuildingLinkableLibraries.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \page Page_BuildLibrary Building as a Linkable Library 8 | * 9 | * The LUFA library can be built as a proper linkable library (with the extention .a) under AVR-GCC, so that 10 | * the library does not need to be recompiled with each revision of a user project. Instructions for creating 11 | * a library from a given source tree can be found in the AVR-GCC user manual included in the WinAVR install 12 | * /Docs/ directory. 13 | * 14 | * However, building the library is not recommended, as the static (compile-time) options will be 15 | * unable to be changed without a recompilation of the LUFA code. Therefore, if the library is to be built 16 | * from the LUFA source, it should be made to be application-specific and compiled with the static options 17 | * that are required for each project (which should be recorded along with the library). 18 | * 19 | * Normal library use has the library components compiled in at the same point as the application code, as 20 | * demonstrated in the library demos and applications. This is the preferred method, as the library is recompiled 21 | * each time to ensure that all static options for a particular application are applied. 22 | */ 23 | 24 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/ManPages/CompilingApps.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \page Page_CompilingApps Compiling the Demos, Bootloaders and Projects 8 | * 9 | * The following details how to compile the included LUFA demos, applications and bootloaders using AVR-GCC. 10 | * 11 | * \section Sec_Prerequisites Prerequisites 12 | * Before you can compile any of the LUFA library code or demos, you will need a recent distribution of avr-libc (1.6.2+) 13 | * and the AVR-GCC (4.2+) compiler. For Windows users, the best way to obtain these is the WinAVR project 14 | * (http://winavr.sourceforge.net) as this provides a single-file setup for everything required to compile your 15 | * own AVR projects. 16 | * 17 | * \section Sec_Compiling Compiling a LUFA Application 18 | * Compiling the LUFA demos, applications and/or bootloaders is very simple. LUFA comes with makefile scripts for 19 | * each individual demo, bootloader and project folder, as well as scripts in the /Demos/, /Bootloaders/, /Projects/ 20 | * and the LUFA root directory. This means that compilation can be started from any of the above directories, with 21 | * a build started from an upper directory in the directory structure executing build of all child directories under it. 22 | * This means that while a build inside a particular demo directory will build only that particular demo, a build stated 23 | * from the /Demos/ directory will build all LUFA demo projects sequentially. 24 | * 25 | * To build a project from the source via the command line, the command "make all" should be executed from the command line in the directory 26 | * of interest. To remove compiled files (including the binary output, all intermediately files and all diagnostic output 27 | * files), execute "make clean". Once a "make all" has been run and no errors were encountered, the resulting binary will 28 | * be located in the generated ".HEX" file. If your project makes use of pre-initialized EEPROM variables, the generated ".EEP" 29 | * file will contain the project's EEPROM data. 30 | */ 31 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/ManPages/DevelopingWithLUFA.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** 8 | * \page Page_DevelopingWithLUFA Developing With LUFA 9 | * 10 | * This section of the manual contains information on LUFA development, such as Getting Started information, 11 | * information on compile-time tuning of the library and other developer-related sections. 12 | * 13 | * Subsections: 14 | * \li \subpage Page_TokenSummary - Summary of Compile Time Tokens 15 | * \li \subpage Page_Migration - Migrating from an Older LUFA Version 16 | * \li \subpage Page_VIDPID - Allocated USB VID and PID Values 17 | * \li \subpage Page_BuildLibrary - Building as a Linkable Library 18 | * \li \subpage Page_WritingBoardDrivers - How to Write Custom Board Drivers 19 | * \li \subpage Page_SoftwareBootloaderStart - How to jump to the bootloader in software 20 | */ 21 | 22 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/ManPages/Donating.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** 8 | * \page Page_Donating Donating to Support This Project 9 | * 10 | * \image html Author.jpg "Dean Camera, LUFA Developer" 11 | * 12 | * I am a 22 year old University student studying for a double degree in Computer Science and Electronics Engineering. 13 | * The development and support of this library requires much effort from myself, as I am the sole developer, maintainer 14 | * and supporter. Please consider donating a small amount to support this and my future Open Source projects - All 15 | * donations are greatly appreciated. 16 | * 17 | * Note that commercial entities can remove the attribution portion of the LUFA license by a one-time fee - see 18 | * \ref Page_LicenseInfo for more details (Note: Please do NOT pay this in advance through the donation link below - 19 | * contact author for payment details.). 20 | * 21 | * \image html "http://www.pledgie.com/campaigns/6927.png?skin_name=chrome" 22 | * Donate to this project via PayPal - Thanks in Advance! 23 | */ 24 | 25 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/ManPages/GettingStarted.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \page Page_GettingStarted Getting Started 8 | * 9 | * Out of the box, LUFA contains a large number of pre-made class demos for you to test, experiment with and 10 | * ultimately build upon for your own projects. All the demos (where possible) come pre-configured to build and 11 | * run correctly on the AT90USB1287 AVR microcontroller, mounted on the Atmel USBKEY board and running at an 8MHz 12 | * master clock. This is due to two reasons; one, it is the hardware the author possesses, and two, it is the most 13 | * popular Atmel USB demonstration board to date. To learn how to reconfigure, recompile and program the included 14 | * LUFA applications using different settings, see the subsections below. 15 | * 16 | * Most of the included demos in the /Demos/ folder come in both ClassDriver and LowLevel varieties. If you are new 17 | * to LUFA, it is highly recommended that you look at the ClassDriver versions first, which use the pre-made USB 18 | * Class Drivers (\ref Group_USBClassDrivers) to simplify the use of the standard USB classes in user applications. 19 | * 20 | * For an overview of the included library applications, bootloaders and demos, see \ref Page_LibraryApps. 21 | * 22 | * Subsections: 23 | * \li \subpage Page_ConfiguringApps - How to Configure the Included Demos, Projects and Bootloaders 24 | * \li \subpage Page_CompilingApps - How to Compile the Included Demos, Projects and Bootloaders 25 | * \li \subpage Page_ProgrammingApps - How to Program an AVR with the Included Demos, Projects and Bootloaders 26 | */ 27 | 28 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/ManPages/Groups.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** @defgroup Group_BoardDrivers Board Drivers 8 | * 9 | * Functions, macros, variables, enums and types related to the control of physical board hardware. 10 | */ 11 | 12 | /** @defgroup Group_PeripheralDrivers On-chip Peripheral Drivers 13 | * 14 | * Functions, macros, variables, enums and types related to the control of AVR subsystems. 15 | */ 16 | 17 | /** @defgroup Group_MiscDrivers Miscellaneous Drivers 18 | * 19 | * Miscellaneous driver Functions, macros, variables, enums and types. 20 | */ 21 | 22 | /** @defgroup Group_PlatformDrivers System Platform Drivers 23 | * 24 | * Drivers relating to the general architecture platform, such as clock setup and interrupt management. 25 | */ 26 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/ManPages/LUFA.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/LUFA/ManPages/LUFA.png -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/ManPages/LUFA_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/LUFA/ManPages/LUFA_thumb.png -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/ManPages/LibraryResources.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** 8 | * \page Page_Resources Library Resources 9 | * 10 | * \section Sec_UnofficialResources Unofficial Resources 11 | * Unofficial Russian LUFA documentation translation: http://microsin.ru/Download.cnt/doc/LUFA/ \n 12 | * 13 | * \section Sec_ProjectPages LUFA Related Webpages 14 | * Project Homepage: http://www.lufa-lib.org \n 15 | * Commercial Licenses: http://www.lufa-lib.org/license \n 16 | * Author's Website: http://www.fourwalledcubicle.com \n 17 | * Development Blog: http://www.fourwalledcubicle.com/blog \n 18 | * 19 | * \section Sec_ProjectHelp Assistance With LUFA 20 | * Discussion Group: http://www.lufa-lib.org/support \n 21 | * Author's Email: dean [at] fourwalledcubicle [dot] com \n 22 | * 23 | * \section Sec_InDevelopment Latest In-Development Source Code 24 | * Issue Tracker: http://www.lufa-lib.org/tracker \n 25 | * SVN Access: http://www.lufa-lib.org/svn \n 26 | * GIT Access: http://www.lufa-lib.org/git \n 27 | * Latest Repository Source Archive: http://www.lufa-lib.org/latest-archive \n 28 | * Commit RSS Feed: http://www.lufa-lib.org/rss \n 29 | * 30 | * \section Sec_USBResources USB Resources 31 | * USB-IF Website: http://www.usb.org \n 32 | */ 33 | 34 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/ManPages/LicenseInfo.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** 8 | * \page Page_LicenseInfo Source Code License 9 | * 10 | * The LUFA library is currently released under the MIT license, included below. 11 | * 12 | * Commercial entities can opt out of the public disclosure clause in this license 13 | * for a one-time US$1500 payment. This provides a non-exclusive modified MIT licensed which 14 | * allows for the free use of the LUFA library, bootloaders and (where the sole copyright 15 | * is attributed to Dean Camera) demos without public disclosure within an organization, in 16 | * addition to three free hours of consultation with the library author, and priority support. 17 | * Please visit the Commercial License link on \ref Page_Resources for more information on 18 | * ordering a commercial license for your company. 19 | * 20 | * \verbinclude License.txt 21 | */ 22 | 23 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/ManPages/ProgrammingApps.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \page Page_ProgrammingApps Programming an Application into a USB AVR 8 | * 9 | * Once you have built an application, you will need a way to program in the resulting ".HEX" file (and, if your 10 | * application uses EEPROM variables with initial values, also a ".EEP" file) into your USB AVR. Normally, the 11 | * reprogramming of an AVR device must be performed using a special piece of programming hardware, through one of the 12 | * supported AVR programming protocols - ISP, HVSP, HVPP, JTAG or dW. This can be done through a custom programmer, 13 | * a third party programmer, or an official Atmel AVR tool - for more information, see the Atmel.com website. 14 | * 15 | * Alternatively, you can use the bootloader. From the Atmel factory, each USB AVR comes preloaded with the Atmel 16 | * DFU (Device Firmware Update) class bootloader, a small piece of AVR firmware which allows the remainder of the 17 | * AVR to be programmed through a non-standard interface such as the serial USART port, SPI, or (in this case) USB. 18 | * Bootloaders have the advantage of not requiring any special hardware for programming, and cannot usually be erased 19 | * or broken without an external programming device. They have disadvantages however; they cannot change the fuses of 20 | * the AVR (special configuration settings that control the operation of the chip itself) and a small portion of the 21 | * AVR's FLASH program memory must be reserved to contain the bootloader firmware, and thus cannot be used by the 22 | * loaded application. Atmel's DFU bootloader is either 4KB (for the smaller USB AVRs) or 8KB (for the larger USB AVRs). 23 | * 24 | * If you wish to use the DFU bootloader to program in your application, refer to your DFU programmer's documentation. 25 | * Atmel provides a free utility called FLIP which is USB AVR compatible, and an open source (Linux compatible) 26 | * alternative exists called "dfu-programmer". 27 | */ 28 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/ManPages/WritingBoardDrivers.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \page Page_WritingBoardDrivers Writing LUFA Board Drivers 8 | * 9 | * LUFA ships with several basic pre-made board drivers, to control hardware present on the supported board 10 | * hardware - such as Dataflash ICs, LEDs, Joysticks, or other hardware peripherals. When compiling an application 11 | * which makes use of one or more board drivers located in LUFA/Drivers/Board, you must also indicate what board 12 | * hardware you are using in your project makefile. This is done by defining the BOARD macro using the -D switch 13 | * passed to the compiler, with a constant of BOARD_{Name}. For example -DBOARD=BOARD_USBKEY instructs the 14 | * compiler to use the USBKEY board hardware drivers. 15 | * 16 | * If your application does not use *any* board level drivers, you can omit the definition of the BOARD macro. 17 | * However, some users may wish to write their own custom board hardware drivers which are to remain compatible 18 | * with the LUFA hardware API. To do this, the BOARD macro should be defined to the value BOARD_USER. This indicates 19 | * that the board level drivers should be located in a folder named "Board" located inside the application's folder. 20 | * 21 | * When used, the driver stub files located in the LUFA/CodeTemplates/DriverStubs folder should be copied to the user 22 | * Board/ directory, and fleshed out to include the values and code needed to control the custom board hardware. Once 23 | * done, the existing LUFA board level APIs (accessed in the regular LUFA/Drivers/Board/ folder) will redirect to the 24 | * user board drivers, maintaining code compatibility and allowing for a different board to be selected through the 25 | * project makefile with no code changes. 26 | */ 27 | 28 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/ManPages/footer.htm: -------------------------------------------------------------------------------- 1 | LUFA Project Page | Support Mailing List | Donate | Four Walled Cubicle - LUFA, the Lightweight USB Framework for AVRs -------------------------------------------------------------------------------- /lufa-LUFA-111009/LUFA/Version.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | /** \file 32 | * 33 | * \brief LUFA library version constants. 34 | * 35 | * Version constants for informational purposes and version-specific macro creation. This header file contains the 36 | * current LUFA version number in several forms, for use in the user-application (for example, for printing out 37 | * whilst debugging, or for testing for version compatibility). 38 | */ 39 | 40 | #ifndef __LUFA_VERSION_H__ 41 | #define __LUFA_VERSION_H__ 42 | 43 | /* Public Interface - May be used in end-application: */ 44 | /* Macros: */ 45 | /** Indicates the version number of the library, as an integer. */ 46 | #define LUFA_VERSION_INTEGER 0x111009 47 | 48 | /** Indicates the version number of the library, as a string. */ 49 | #define LUFA_VERSION_STRING "111009" 50 | 51 | #endif 52 | 53 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/AVRISP-MKII/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/AVRISP-MKII/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Benito/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/Benito/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/HIDReportViewer/HIDReportViewer.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage HID Device Report Viewer Programmer Project 8 | * 9 | * \section Sec_Compat Project Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this project. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this project. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 36 | * 37 | * 38 | * 39 | * 41 | * 42 | *
USB Mode:Host
USB Class:Human Interface Device (HID)
USB Subclass:N/A
Relevant Standards:USBIF HID Specification \n 35 | * USBIF HID Usage Tables
Usable Speeds:Low Speed Mode \n 40 | * Full Speed Mode
43 | * 44 | * \section Sec_Description Project Description: 45 | * 46 | * Firmware for a HID Report viewer. This project is designed to aid in the debugging of USB HID Hosts, where the contents of an 47 | * unknown HID device's HID Report need to be examined. Once a HID device has been plugged into this application, the HID report 48 | * descriptor will be parsed using the internal LUFA HID report parser, and the results dumped to the serial port in a human 49 | * readable format. This output will contain information on the sizes of the reports within the device's HID interface, as well as 50 | * information on each report element (size, usage, minimum/maximum values, etc.). 51 | * 52 | * \section Sec_Options Project Options 53 | * 54 | * The following defines can be found in this project, which can control the project behaviour when defined, or changed in value. 55 | * 56 | * 57 | * 58 | * 61 | * 62 | *
59 | * None 60 | *
63 | */ 64 | 65 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/HIDReportViewer/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/HIDReportViewer/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Incomplete/StandaloneProgrammer/DiskDevice.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | /** \file 32 | * 33 | * Header file for DiskDevice.c. 34 | */ 35 | 36 | #ifndef _DISK_DEVICE_H_ 37 | #define _DISK_DEVICE_H_ 38 | 39 | /* Includes: */ 40 | #include 41 | 42 | #include "Descriptors.h" 43 | #include "StandaloneProgrammer.h" 44 | 45 | #include 46 | #include 47 | 48 | /* Function Prototypes: */ 49 | #if defined(USB_CAN_BE_DEVICE) 50 | void DiskDevice_USBTask(void); 51 | 52 | void EVENT_USB_Device_Connect(void); 53 | void EVENT_USB_Device_Disconnect(void); 54 | void EVENT_USB_Device_ConfigurationChanged(void); 55 | void EVENT_USB_Device_ControlRequest(void); 56 | 57 | bool CALLBACK_MS_Device_SCSICommandReceived(USB_ClassInfo_MS_Device_t* const MSInterfaceInfo); 58 | #endif 59 | 60 | #endif 61 | 62 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Incomplete/StandaloneProgrammer/DiskHost.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | /** \file 32 | * 33 | * Header file for DiskHost.c. 34 | */ 35 | 36 | #ifndef _DISK_HOST_H_ 37 | #define _DISK_HOST_H_ 38 | 39 | /* Includes: */ 40 | #include 41 | 42 | #include "Descriptors.h" 43 | #include "StandaloneProgrammer.h" 44 | 45 | #include 46 | #include 47 | 48 | /* External Variables: */ 49 | #if defined(USB_CAN_BE_HOST) 50 | extern USB_ClassInfo_MS_Host_t DiskHost_MS_Interface; 51 | #endif 52 | 53 | /* Function Prototypes: */ 54 | #if defined(USB_CAN_BE_HOST) 55 | void DiskHost_USBTask(void); 56 | 57 | void EVENT_USB_Host_DeviceAttached(void); 58 | void EVENT_USB_Host_DeviceUnattached(void); 59 | #endif 60 | 61 | #endif 62 | 63 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/00readme.txt: -------------------------------------------------------------------------------- 1 | Petit FatFs Module Source Files R0.02a (C)ChaN, 2010 2 | 3 | 4 | FILES 5 | 6 | pff.h Common include file for Petit FatFs and application module. 7 | pff.c Petit FatFs module. 8 | diskio.h Common include file for Petit FatFs and disk I/O module. 9 | diskio.c Skeleton of low level disk I/O module. 10 | integer.h Alternative type definitions for integer variables. 11 | 12 | Low level disk I/O module is not included in this archive because the Petit 13 | FatFs module is only a generic file system layer and not depend on any 14 | specific storage device. You have to provide a low level disk I/O module that 15 | written to control your storage device. 16 | 17 | 18 | 19 | AGREEMENTS 20 | 21 | Petit FatFs module is an open source software to implement FAT file system to 22 | small embedded systems. This is a free software and is opened for education, 23 | research and commercial developments under license policy of following trems. 24 | 25 | Copyright (C) 2010, ChaN, all right reserved. 26 | 27 | * The Petit FatFs module is a free software and there is NO WARRANTY. 28 | * No restriction on use. You can use, modify and redistribute it for 29 | personal, non-profit or commercial use UNDER YOUR RESPONSIBILITY. 30 | * Redistributions of source code must retain the above copyright notice. 31 | 32 | 33 | 34 | REVISION HISTORY 35 | 36 | Jun 15, 2009 R0.01a First release (Branched from FatFs R0.07b) 37 | Dec 14, 2009 R0.02 Added multiple code page support. 38 | Added write funciton. 39 | Changed stream read mode interface. 40 | Dec 07,'2010 R0.02a Added some configuration options. 41 | Fixed fails to open objects with DBCS character. 42 | 43 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/diskio.c: -------------------------------------------------------------------------------- 1 | /*-----------------------------------------------------------------------*/ 2 | /* Low level disk I/O module skeleton for Petit FatFs (C)ChaN, 2009 */ 3 | /*-----------------------------------------------------------------------*/ 4 | 5 | #include "diskio.h" 6 | 7 | #include 8 | #include 9 | #include "../DataflashManager.h" 10 | #include "../../DiskHost.h" 11 | 12 | /*-----------------------------------------------------------------------*/ 13 | /* Initialize Disk Drive */ 14 | /*-----------------------------------------------------------------------*/ 15 | 16 | DSTATUS disk_initialize (void) 17 | { 18 | return RES_OK; 19 | } 20 | 21 | 22 | 23 | /*-----------------------------------------------------------------------*/ 24 | /* Read Partial Sector */ 25 | /*-----------------------------------------------------------------------*/ 26 | 27 | DRESULT disk_readp ( 28 | BYTE* dest, /* Pointer to the destination object */ 29 | DWORD sector, /* Sector number (LBA) */ 30 | WORD sofs, /* Offset in the sector */ 31 | WORD count /* Byte count (bit15:destination) */ 32 | ) 33 | { 34 | DRESULT ErrorCode = RES_OK; 35 | uint8_t BlockTemp[512]; 36 | 37 | if (USB_CurrentMode == USB_MODE_Host) 38 | { 39 | #if defined(USB_CAN_BE_HOST) 40 | if (USB_HostState != HOST_STATE_Configured) 41 | ErrorCode = RES_NOTRDY; 42 | else if (MS_Host_ReadDeviceBlocks(&DiskHost_MS_Interface, 0, sector, 1, 512, BlockTemp)) 43 | ErrorCode = RES_ERROR; 44 | #endif 45 | } 46 | else 47 | { 48 | #if defined(USB_CAN_BE_DEVICE) 49 | DataflashManager_ReadBlocks_RAM(sector, 1, BlockTemp); 50 | #endif 51 | } 52 | 53 | memcpy(dest, &BlockTemp[sofs], count); 54 | 55 | return ErrorCode; 56 | } 57 | 58 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/diskio.h: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------- 2 | / PFF - Low level disk interface module include file (C)ChaN, 2010 3 | /-----------------------------------------------------------------------*/ 4 | 5 | #ifndef _DISKIO 6 | 7 | #include "integer.h" 8 | 9 | 10 | /* Status of Disk Functions */ 11 | typedef BYTE DSTATUS; 12 | 13 | 14 | /* Results of Disk Functions */ 15 | typedef enum { 16 | RES_OK = 0, /* 0: Function succeeded */ 17 | RES_ERROR, /* 1: Disk error */ 18 | RES_NOTRDY, /* 2: Not ready */ 19 | RES_PARERR /* 3: Invalid parameter */ 20 | } DRESULT; 21 | 22 | 23 | /*---------------------------------------*/ 24 | /* Prototypes for disk control functions */ 25 | 26 | DSTATUS disk_initialize (void); 27 | DRESULT disk_readp (BYTE*, DWORD, WORD, WORD); 28 | 29 | #define STA_NOINIT 0x01 /* Drive not initialized */ 30 | #define STA_NODISK 0x02 /* No medium in the drive */ 31 | 32 | #define _DISKIO 33 | #endif 34 | 35 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------------------*/ 2 | /* Integer type definitions for FatFs module */ 3 | /*-------------------------------------------*/ 4 | 5 | #ifndef _INTEGER 6 | #define _INTEGER 7 | 8 | #ifdef _WIN32 /* FatFs development platform */ 9 | 10 | #include 11 | #include 12 | 13 | #else /* Embedded platform */ 14 | 15 | /* These types must be 16-bit, 32-bit or larger integer */ 16 | typedef int INT; 17 | typedef unsigned int UINT; 18 | 19 | /* These types must be 8-bit integer */ 20 | typedef char CHAR; 21 | typedef unsigned char UCHAR; 22 | typedef unsigned char BYTE; 23 | 24 | /* These types must be 16-bit integer */ 25 | typedef short SHORT; 26 | typedef unsigned short USHORT; 27 | typedef unsigned short WORD; 28 | typedef unsigned short WCHAR; 29 | 30 | /* These types must be 32-bit integer */ 31 | typedef long LONG; 32 | typedef unsigned long ULONG; 33 | typedef unsigned long DWORD; 34 | 35 | #endif 36 | 37 | #endif 38 | 39 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Incomplete/StandaloneProgrammer/Lib/ProgrammerConfig.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | #ifndef _PROGRAMMER_CONFIG_H_ 32 | #define _PROGRAMMER_CONFIG_H_ 33 | 34 | /* Includes: */ 35 | #include 36 | #include 37 | #include 38 | 39 | #include "../StandaloneProgrammer.h" 40 | 41 | /* Function Prototypes: */ 42 | bool ProgrammerConfig_ProcessConfiguration(void); 43 | 44 | #endif 45 | 46 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Incomplete/StandaloneProgrammer/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/Incomplete/StandaloneProgrammer/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/LEDNotifier/CPUUsageApp/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Windows.Forms; 5 | 6 | namespace CPUMonitor 7 | { 8 | static class Program 9 | { 10 | /// 11 | /// The main entry point for the application. 12 | /// 13 | [STAThread] 14 | static void Main() 15 | { 16 | Application.EnableVisualStyles(); 17 | Application.SetCompatibleTextRenderingDefault(false); 18 | Application.Run(new frmCPU()); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/LEDNotifier/CPUUsageApp/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("CPUMonitor")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("CPUMonitor")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2009")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("3e4a61da-cdde-46de-848b-b5206d225e21")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/LEDNotifier/CPUUsageApp/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:2.0.50727.4927 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace CPUMonitor.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/LEDNotifier/CPUUsageApp/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/LEDNotifier/HotmailNotifierApp/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Windows.Forms; 4 | 5 | namespace TestWinForms 6 | { 7 | static class Program 8 | { 9 | /// 10 | /// The main entry point for the application. 11 | /// 12 | [STAThread] 13 | static void Main() 14 | { 15 | Application.EnableVisualStyles(); 16 | Application.SetCompatibleTextRenderingDefault(false); 17 | Application.Run(new MailNotifier()); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/LEDNotifier/HotmailNotifierApp/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("MailNotifier")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Dean Camera")] 12 | [assembly: AssemblyProduct("Mail LED Notifier")] 13 | [assembly: AssemblyCopyright("Public Domain")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("25e10140-cf96-4619-adaa-9010abc62d0a")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/LEDNotifier/HotmailNotifierApp/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:2.0.50727.4927 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace MailNotifier.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/LEDNotifier/HotmailNotifierApp/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/LEDNotifier/LEDMixerApp/LEDMixer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Windows.Forms; 9 | 10 | namespace LEDMixer 11 | { 12 | public partial class LEDMixer : Form 13 | { 14 | private const int LIGHT_MAX = 0x1F; 15 | 16 | public LEDMixer() 17 | { 18 | InitializeComponent(); 19 | } 20 | 21 | private void LEDMixer_Load(object sender, EventArgs e) 22 | { 23 | for (int i = 1; i <= 99; i++) 24 | cbPort.Items.Add("COM" + i.ToString()); 25 | 26 | cbPort.SelectedIndex = 0; 27 | 28 | tbRed.Maximum = LIGHT_MAX; 29 | tbGreen.Maximum = LIGHT_MAX; 30 | tbBlue.Maximum = LIGHT_MAX; 31 | } 32 | 33 | private void tbRed_Scroll(object sender, EventArgs e) 34 | { 35 | NotifyLight(tbRed.Value, tbGreen.Value, tbBlue.Value); 36 | } 37 | 38 | private void tbGreen_Scroll(object sender, EventArgs e) 39 | { 40 | NotifyLight(tbRed.Value, tbGreen.Value, tbBlue.Value); 41 | } 42 | 43 | private void tbBlue_Scroll(object sender, EventArgs e) 44 | { 45 | NotifyLight(tbRed.Value, tbGreen.Value, tbBlue.Value); 46 | } 47 | 48 | private void NotifyLight(int Red, int Green, int Blue) 49 | { 50 | byte[] buffer = new byte[3]; 51 | buffer[0] = (byte)(0x80 | (Red & LIGHT_MAX)); 52 | buffer[1] = (byte)(0x40 | (Green & LIGHT_MAX)); 53 | buffer[2] = (byte)(0x20 | (Blue & LIGHT_MAX)); 54 | 55 | try 56 | { 57 | serSerialPort.PortName = cbPort.Text; 58 | serSerialPort.Open(); 59 | serSerialPort.Write(buffer, 0, buffer.Length); 60 | serSerialPort.Close(); 61 | } 62 | catch (Exception e) 63 | { 64 | 65 | } 66 | } 67 | 68 | private void cbPort_SelectedIndexChanged(object sender, EventArgs e) 69 | { 70 | NotifyLight(tbRed.Value, tbGreen.Value, tbBlue.Value); 71 | } 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/LEDNotifier/LEDMixerApp/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Windows.Forms; 5 | 6 | namespace LEDMixer 7 | { 8 | static class Program 9 | { 10 | /// 11 | /// The main entry point for the application. 12 | /// 13 | [STAThread] 14 | static void Main() 15 | { 16 | Application.EnableVisualStyles(); 17 | Application.SetCompatibleTextRenderingDefault(false); 18 | Application.Run(new LEDMixer()); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/LEDNotifier/LEDMixerApp/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("LEDMixer")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("LEDMixer")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2009")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("335c1112-9aa6-42a0-9765-5cc6deb78c88")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:2.0.50727.4927 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace LEDMixer.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/LEDNotifier/LEDNotifier.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | /** \file 32 | * 33 | * Header file for LEDNotifier.c. 34 | */ 35 | 36 | #ifndef _LEDNOTIFIER_H_ 37 | #define _LEDNOTIFIER_H_ 38 | 39 | /* Includes: */ 40 | #include 41 | #include 42 | #include 43 | #include 44 | #include 45 | #include 46 | 47 | #include "Descriptors.h" 48 | 49 | #include 50 | #include 51 | #include 52 | 53 | /* Function Prototypes: */ 54 | void SetupHardware(void); 55 | 56 | void EVENT_USB_Device_ConfigurationChanged(void); 57 | void EVENT_USB_Device_ControlRequest(void); 58 | 59 | #endif 60 | 61 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/LEDNotifier/LEDNotifier.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage USB LED Notifier Project 8 | * 9 | * \section Sec_Compat Demo Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this demo. 12 | * 13 | * - AT90USB646 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this demo. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 35 | * 36 | * 37 | * 38 | * 39 | * 40 | *
USB Mode:Device
USB Class:Communications Device Class (CDC)
USB Subclass:Abstract Control Model (ACM)
Relevant Standards:USBIF CDC Class Standard
Usable Speeds:Full Speed Mode
41 | * 42 | * \section Sec_Description Project Description: 43 | * 44 | * USB LED Notifier Project. This project is designed for the Busware BUI board, however it can run easily on any 45 | * USB AVR. It is a generic RGB LED controller (via a three channel software PWM) which listens for commands from the 46 | * host on a CDC virtual serial port. When new commands are received, it updates the board LEDs. 47 | * 48 | * This can be controlled with any host application that can write to the virtual serial port, allowing it to become 49 | * a visual notification system for any number of custom host applications, such as a new unread email notifier. 50 | * 51 | * \section Sec_Options Project Options 52 | * 53 | * The following defines can be found in this project, which can control the project behaviour when defined, or changed in value. 54 | * 55 | * 56 | * 57 | * 60 | * 61 | *
58 | * None 59 | *
62 | */ 63 | 64 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/LEDNotifier/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/LEDNotifier/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/MIDIToneGenerator/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/MIDIToneGenerator/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Magstripe/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/Magstripe/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/MediaController/MediaController.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage Media Controller Project 8 | * 9 | * \section Sec_Compat Project Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this project. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * - Series 6 USB AVRs (AT90USBxxx6) 15 | * - Series 4 USB AVRs (ATMEGAxxU4) 16 | * - Series 2 USB AVRs (AT90USBxx2, ATMEGAxxU2) 17 | * 18 | * \section Sec_Info USB Information: 19 | * 20 | * The following table gives a rundown of the USB utilization of this demo. 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 35 | * 36 | * 37 | * 39 | * 40 | * 41 | * 42 | * 44 | * 45 | *
USB Mode:Device
USB Class:Human Interface Device (HID)
USB Subclass:N/A
Relevant Standards:USBIF HID Specification \n 38 | * USBIF HID Usage Tables
Usable Speeds:Low Speed Mode \n 43 | * Full Speed Mode
46 | * 47 | * \section Sec_Description Project Description: 48 | * 49 | * Media Controller project. This project implements a basic Media Control device, to signal the host to play, pause, toggle playback, 50 | * mute and/or adjust the host volume, in addition to other such media commands. This project may be extended to create a dedicated 51 | * media playback control device, for home media centers or other equipment. By default, some of the most commonly used playback controls 52 | * are controlled by the board joystick and LEDs, however this may be altered as desired. 53 | * 54 | * \section Sec_Options Project Options 55 | * 56 | * The following defines can be found in this project, which can control the project behaviour when defined, or changed in value. 57 | * 58 | * 59 | * 60 | * 63 | * 64 | *
61 | * None 62 | *
65 | */ 66 | 67 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/MediaController/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/MediaController/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/MissileLauncher/MissileLauncher.txt: -------------------------------------------------------------------------------- 1 | /** \file 2 | * 3 | * This file contains special DoxyGen information for the generation of the main page and other special 4 | * documentation pages. It is not a project source file. 5 | */ 6 | 7 | /** \mainpage David Fletcher's Missile Launcher 8 | * 9 | * \section Sec_Compat Project Compatibility: 10 | * 11 | * The following list indicates what microcontrollers are compatible with this project. 12 | * 13 | * - Series 7 USB AVRs (AT90USBxxx7) 14 | * 15 | * \section Sec_Info USB Information: 16 | * 17 | * The following table gives a rundown of the USB utilization of this project. 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | * 25 | * 26 | * 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 33 | * 34 | * 35 | * 36 | * 37 | * 38 | * 39 | * 40 | *
USB Mode:Host
USB Class:Human Interface Device (HID)
USB Subclass:N/A
Relevant Standards:USBIF HID Specification, USBIF HID Usage Tables
Usable Speeds:Low Speed Mode, Full Speed Mode
41 | * 42 | * \section Sec_Description Project Description: 43 | * 44 | * Missile Launcher host. This is a host driver for the popular USB-controller table top toy missile launchers, 45 | * which can typically aim and fire small foam "missiles" from a spring-loaded turret. This project controls the 46 | * launcher via a joystick and button to aim and fire missiles at targets without a PC. 47 | * 48 | * \section Sec_Options Project Options 49 | * 50 | * The following defines can be found in this project, which can control the project behaviour when defined, or changed in value. 51 | * 52 | * 53 | * 54 | * 57 | * 58 | *
55 | * None 56 | *
59 | */ 60 | 61 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/MissileLauncher/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/MissileLauncher/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/RelayBoard/RelayBoard.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2010 OBinou (obconseil [at] gmail [dot] com) 11 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 12 | 13 | Permission to use, copy, modify, distribute, and sell this 14 | software and its documentation for any purpose is hereby granted 15 | without fee, provided that the above copyright notice appear in 16 | all copies and that both that the copyright notice and this 17 | permission notice and warranty disclaimer appear in supporting 18 | documentation, and that the name of the author not be used in 19 | advertising or publicity pertaining to distribution of the 20 | software without specific, written prior permission. 21 | 22 | The author disclaim all warranties with regard to this 23 | software, including all implied warranties of merchantability 24 | and fitness. In no event shall the author be liable for any 25 | special, indirect or consequential damages or any damages 26 | whatsoever resulting from loss of use, data or profits, whether 27 | in an action of contract, negligence or other tortious action, 28 | arising out of or in connection with the use or performance of 29 | this software. 30 | */ 31 | 32 | /** \file 33 | * 34 | * Header file for RelayBoard.c. 35 | */ 36 | 37 | #ifndef _RELAYBOARD_H_ 38 | #define _RELAYBOARD_H_ 39 | 40 | /* Includes: */ 41 | #include 42 | #include 43 | #include 44 | #include 45 | 46 | #include "Descriptors.h" 47 | 48 | #include 49 | #include 50 | #include 51 | 52 | /* Macros: */ 53 | #define RELAY1 (1 << 7) 54 | #define RELAY2 (1 << 6) 55 | #define RELAY3 (1 << 5) 56 | #define RELAY4 (1 << 4) 57 | #define ALL_RELAYS (RELAY1 | RELAY2 | RELAY3 | RELAY4) 58 | 59 | /* Function Prototypes: */ 60 | void SetupHardware(void); 61 | 62 | void EVENT_USB_Device_ControlRequest(void); 63 | 64 | #endif 65 | 66 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/RelayBoard/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/RelayBoard/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/TempDataLogger/Lib/FATFs/diskio.h: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------- 2 | / Low level disk interface module include file 3 | /-----------------------------------------------------------------------*/ 4 | 5 | #ifndef _DISKIO 6 | 7 | #define _READONLY 0 /* 1: Read-only mode */ 8 | #define _USE_IOCTL 1 9 | 10 | #include "integer.h" 11 | 12 | #include "../DataflashManager.h" 13 | 14 | 15 | /* Status of Disk Functions */ 16 | typedef BYTE DSTATUS; 17 | 18 | /* Results of Disk Functions */ 19 | typedef enum { 20 | RES_OK = 0, /* 0: Successful */ 21 | RES_ERROR, /* 1: R/W Error */ 22 | RES_WRPRT, /* 2: Write Protected */ 23 | RES_NOTRDY, /* 3: Not Ready */ 24 | RES_PARERR /* 4: Invalid Parameter */ 25 | } DRESULT; 26 | 27 | 28 | /*---------------------------------------*/ 29 | /* Prototypes for disk control functions */ 30 | 31 | DSTATUS disk_initialize (BYTE); 32 | DSTATUS disk_status (BYTE); 33 | DRESULT disk_read (BYTE, BYTE*, DWORD, BYTE); 34 | #if _READONLY == 0 35 | DRESULT disk_write (BYTE, const BYTE*, DWORD, BYTE); 36 | #endif 37 | DRESULT disk_ioctl (BYTE, BYTE, void*); 38 | 39 | 40 | /* Disk Status Bits (DSTATUS) */ 41 | 42 | #define STA_NOINIT 0x01 /* Drive not initialized */ 43 | #define STA_NODISK 0x02 /* No medium in the drive */ 44 | #define STA_PROTECT 0x04 /* Write protected */ 45 | 46 | /* Generic command */ 47 | #define CTRL_SYNC 0 /* Mandatory for write functions */ 48 | #define GET_SECTOR_COUNT 1 /* Mandatory for only f_mkfs() */ 49 | #define GET_SECTOR_SIZE 2 /* Mandatory for multiple sector size cfg */ 50 | #define GET_BLOCK_SIZE 3 /* Mandatory for only f_mkfs() */ 51 | #define CTRL_POWER 4 52 | #define CTRL_LOCK 5 53 | #define CTRL_EJECT 6 54 | /* MMC/SDC command */ 55 | #define MMC_GET_TYPE 10 56 | #define MMC_GET_CSD 11 57 | #define MMC_GET_CID 12 58 | #define MMC_GET_OCR 13 59 | #define MMC_GET_SDSTAT 14 60 | /* ATA/CF command */ 61 | #define ATA_GET_REV 20 62 | #define ATA_GET_MODEL 21 63 | #define ATA_GET_SN 22 64 | 65 | #define _DISKIO 66 | #endif 67 | 68 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/TempDataLogger/Lib/FATFs/integer.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------------------*/ 2 | /* Integer type definitions for FatFs module */ 3 | /*-------------------------------------------*/ 4 | 5 | #ifndef _INTEGER 6 | #define _INTEGER 7 | 8 | #ifdef _WIN32 /* FatFs development platform */ 9 | 10 | #include 11 | #include 12 | 13 | #else /* Embedded platform */ 14 | 15 | /* These types must be 16-bit, 32-bit or larger integer */ 16 | typedef int INT; 17 | typedef unsigned int UINT; 18 | 19 | /* These types must be 8-bit integer */ 20 | typedef char CHAR; 21 | typedef unsigned char UCHAR; 22 | typedef unsigned char BYTE; 23 | 24 | /* These types must be 16-bit integer */ 25 | typedef short SHORT; 26 | typedef unsigned short USHORT; 27 | typedef unsigned short WORD; 28 | typedef unsigned short WCHAR; 29 | 30 | /* These types must be 32-bit integer */ 31 | typedef long LONG; 32 | typedef unsigned long ULONG; 33 | typedef unsigned long DWORD; 34 | 35 | #endif 36 | 37 | #endif 38 | 39 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/TempDataLogger/TempLogHostApp/Hid.Linux.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/TempDataLogger/TempLogHostApp/Hid.Linux.dll -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/TempDataLogger/TempLogHostApp/Hid.Net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/TempDataLogger/TempLogHostApp/Hid.Net.dll -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/TempDataLogger/TempLogHostApp/Hid.Win32.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/TempDataLogger/TempLogHostApp/Hid.Win32.dll -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/TempDataLogger/TempLogHostApp/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Windows.Forms; 5 | 6 | namespace Project1HostApp 7 | { 8 | static class Program 9 | { 10 | /// 11 | /// The main entry point for the application. 12 | /// 13 | [STAThread] 14 | static void Main() 15 | { 16 | Application.EnableVisualStyles(); 17 | Application.SetCompatibleTextRenderingDefault(false); 18 | Application.Run(new frmDataloggerSettings()); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/TempDataLogger/TempLogHostApp/README.txt: -------------------------------------------------------------------------------- 1 | This library has been tested on Windows Vista 32bit, Windows Vista 64bit, 2 | Windows XP 32bit and Debian (Lenny) AMD64 but should work on any version of 3 | Windows that can run the .NET framework 2.0 and any other operating system 4 | that has both hiddev and Mono. 5 | 6 | Any additions must be tested and work on Windows and Linux, on both 32 and 7 | 64 bit. Windows 64 bit testing is particularly important as it is often 8 | neglected. 9 | 10 | 11 | Hid.Linux.dll was compiled under Linux with Mono (mcs) and uses no generics. 12 | 13 | Hid.Win32.dll and Hid.Net.dll were compiled under Windows with the .NET 14 | Framework v2.0.50727 but are also tested to compile with Mono (gmcs). 15 | 16 | 17 | A good starting point when using this library is Hid.DeviceFactory's Enumerate 18 | methods. 19 | 20 | LogitechMX5000.cs is a simple example of how the library can be used. Other 21 | examples on common devices are welcomed. 22 | 23 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/TempDataLogger/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/TempDataLogger/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/USBtoSerial/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/USBtoSerial/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Webserver/LUFA Webserver RNDIS.inf: -------------------------------------------------------------------------------- 1 | ; Windows LUFA RNDIS Setup File 2 | ; Copyright (c) 2000 Microsoft Corporation 3 | 4 | [Version] 5 | Signature = "$Windows NT$" 6 | Class = Net 7 | ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} 8 | Provider = %COMPANY% 9 | DriverVer = 06/21/2006,6.0.6000.16384 10 | ;CatalogFile = device.cat 11 | 12 | [Manufacturer] 13 | %COMPANY% = RndisDevices,NTx86,NTamd64,NTia64 14 | 15 | ; Decoration for x86 architecture 16 | [RndisDevices.NTx86] 17 | %RNDISDEV% = RNDIS.NT.5.1, USB\VID_03EB&PID_2069&MI_00 18 | 19 | ; Decoration for x64 architecture 20 | [RndisDevices.NTamd64] 21 | %RNDISDEV% = RNDIS.NT.5.1, USB\VID_03EB&PID_2069&MI_00 22 | 23 | ; Decoration for ia64 architecture 24 | [RndisDevices.NTia64] 25 | %RNDISDEV% = RNDIS.NT.5.1, USB\VID_03EB&PID_2069&MI_00 26 | 27 | ;@@@ This is the common setting for setup 28 | [ControlFlags] 29 | ExcludeFromSelect=* 30 | 31 | ; DDInstall section 32 | ; References the in-build Netrndis.inf 33 | [RNDIS.NT.5.1] 34 | Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI 35 | BusType = 15 36 | ; NEVER REMOVE THE FOLLOWING REFERENCE FOR NETRNDIS.INF 37 | include = netrndis.inf 38 | needs = Usb_Rndis.ndi 39 | AddReg = Rndis_AddReg_Vista 40 | 41 | ; DDInstal.Services section 42 | [RNDIS.NT.5.1.Services] 43 | include = netrndis.inf 44 | needs = Usb_Rndis.ndi.Services 45 | 46 | ; No sys copyfiles - the sys files are already in-build 47 | ; (part of the operating system). 48 | 49 | ; Modify these strings for your device as needed. 50 | [Strings] 51 | COMPANY="LUFA Library" 52 | RNDISDEV="LUFA USB RNDIS Webserver" -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Webserver/Lib/FATFs/diskio.c: -------------------------------------------------------------------------------- 1 | /*-----------------------------------------------------------------------*/ 2 | /* Low level disk I/O module skeleton for FatFs (C)ChaN, 2007 */ 3 | /*-----------------------------------------------------------------------*/ 4 | /* This is a stub disk I/O module that acts as front end of the existing */ 5 | /* disk I/O modules and attach it to FatFs module with common interface. */ 6 | /*-----------------------------------------------------------------------*/ 7 | 8 | #include "diskio.h" 9 | 10 | /*-----------------------------------------------------------------------*/ 11 | /* Initialize a Drive */ 12 | 13 | DSTATUS disk_initialize ( 14 | BYTE drv /* Physical drive number (0..) */ 15 | ) 16 | { 17 | return FR_OK; 18 | } 19 | 20 | 21 | 22 | /*-----------------------------------------------------------------------*/ 23 | /* Return Disk Status */ 24 | 25 | DSTATUS disk_status ( 26 | BYTE drv /* Physical drive number (0..) */ 27 | ) 28 | { 29 | return FR_OK; 30 | } 31 | 32 | 33 | 34 | /*-----------------------------------------------------------------------*/ 35 | /* Read Sector(s) */ 36 | 37 | DRESULT disk_read ( 38 | BYTE drv, /* Physical drive number (0..) */ 39 | BYTE *buff, /* Data buffer to store read data */ 40 | DWORD sector, /* Sector address (LBA) */ 41 | BYTE count /* Number of sectors to read (1..255) */ 42 | ) 43 | { 44 | DataflashManager_ReadBlocks_RAM(sector, count, buff); 45 | return RES_OK; 46 | } 47 | 48 | 49 | 50 | /*-----------------------------------------------------------------------*/ 51 | /* Write Sector(s) */ 52 | 53 | #if _READONLY == 0 54 | DRESULT disk_write ( 55 | BYTE drv, /* Physical drive number (0..) */ 56 | const BYTE *buff, /* Data to be written */ 57 | DWORD sector, /* Sector address (LBA) */ 58 | BYTE count /* Number of sectors to write (1..255) */ 59 | ) 60 | { 61 | DataflashManager_WriteBlocks_RAM(sector, count, buff); 62 | return RES_OK; 63 | } 64 | #endif /* _READONLY */ 65 | 66 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Webserver/Lib/FATFs/diskio.h: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------- 2 | / Low level disk interface module include file 3 | /-----------------------------------------------------------------------*/ 4 | 5 | #ifndef _DISKIO 6 | 7 | #define _READONLY 0 /* 1: Read-only mode */ 8 | #define _USE_IOCTL 0 9 | 10 | #include "integer.h" 11 | #include "ff.h" 12 | 13 | #include "../DataflashManager.h" 14 | 15 | 16 | /* Status of Disk Functions */ 17 | typedef BYTE DSTATUS; 18 | 19 | /* Results of Disk Functions */ 20 | typedef enum { 21 | RES_OK = 0, /* 0: Successful */ 22 | RES_ERROR, /* 1: R/W Error */ 23 | RES_WRPRT, /* 2: Write Protected */ 24 | RES_NOTRDY, /* 3: Not Ready */ 25 | RES_PARERR /* 4: Invalid Parameter */ 26 | } DRESULT; 27 | 28 | 29 | /*---------------------------------------*/ 30 | /* Prototypes for disk control functions */ 31 | 32 | DSTATUS disk_initialize (BYTE); 33 | DSTATUS disk_status (BYTE); 34 | DRESULT disk_read (BYTE, BYTE*, DWORD, BYTE); 35 | #if _READONLY == 0 36 | DRESULT disk_write (BYTE, const BYTE*, DWORD, BYTE); 37 | #endif 38 | DRESULT disk_ioctl (BYTE, BYTE, void*); 39 | 40 | 41 | /* Disk Status Bits (DSTATUS) */ 42 | 43 | #define STA_NOINIT 0x01 /* Drive not initialized */ 44 | #define STA_NODISK 0x02 /* No medium in the drive */ 45 | #define STA_PROTECT 0x04 /* Write protected */ 46 | 47 | 48 | #define _DISKIO 49 | #endif 50 | 51 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Webserver/Lib/FATFs/integer.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------------------*/ 2 | /* Integer type definitions for FatFs module */ 3 | /*-------------------------------------------*/ 4 | 5 | #ifndef _INTEGER 6 | #define _INTEGER 7 | 8 | #ifdef _WIN32 /* FatFs development platform */ 9 | 10 | #include 11 | #include 12 | 13 | #else /* Embedded platform */ 14 | 15 | /* These types must be 16-bit, 32-bit or larger integer */ 16 | typedef int INT; 17 | typedef unsigned int UINT; 18 | 19 | /* These types must be 8-bit integer */ 20 | typedef char CHAR; 21 | typedef unsigned char UCHAR; 22 | typedef unsigned char BYTE; 23 | 24 | /* These types must be 16-bit integer */ 25 | typedef short SHORT; 26 | typedef unsigned short USHORT; 27 | typedef unsigned short WORD; 28 | typedef unsigned short WCHAR; 29 | 30 | /* These types must be 32-bit integer */ 31 | typedef long LONG; 32 | typedef unsigned long ULONG; 33 | typedef unsigned long DWORD; 34 | 35 | #endif 36 | 37 | #endif 38 | 39 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Webserver/Lib/uip/clock.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #include 6 | 7 | #include "clock.h" 8 | 9 | //Counted time 10 | volatile clock_time_t clock_datetime = 0; 11 | 12 | //Overflow interrupt 13 | ISR(TIMER1_COMPA_vect, ISR_BLOCK) 14 | { 15 | clock_datetime += 1; 16 | } 17 | 18 | //Initialise the clock 19 | void clock_init() 20 | { 21 | OCR1A = (((F_CPU / 1024) / 100) - 1); 22 | TCCR1B = ((1 << WGM12) | (1 << CS12) | (1 << CS10)); 23 | TIMSK1 = (1 << OCIE1A); 24 | } 25 | 26 | //Return time 27 | clock_time_t clock_time() 28 | { 29 | clock_time_t time; 30 | 31 | GlobalInterruptDisable(); 32 | time = clock_datetime; 33 | GlobalInterruptEnable(); 34 | 35 | return time; 36 | } 37 | 38 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Webserver/Lib/uip/clock.h: -------------------------------------------------------------------------------- 1 | #ifndef __CLOCK_ARCH_H__ 2 | #define __CLOCK_ARCH_H__ 3 | 4 | #include 5 | #include 6 | 7 | typedef uint16_t clock_time_t; 8 | #define CLOCK_SECOND 100 9 | void clock_init(void); 10 | clock_time_t clock_time(void); 11 | 12 | #endif /* __CLOCK_ARCH_H__ */ 13 | 14 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Webserver/USBDeviceMode.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | /** \file 32 | * 33 | * Header file for USBDeviceMode.c. 34 | */ 35 | 36 | #ifndef _USBDEVICEMODE_H_ 37 | #define _USBDEVICEMODE_H_ 38 | 39 | /* Includes: */ 40 | #include 41 | 42 | #include "Webserver.h" 43 | #include "Lib/uIPManagement.h" 44 | #include "Descriptors.h" 45 | #include "Lib/SCSI.h" 46 | 47 | /* External Variables: */ 48 | extern USB_ClassInfo_RNDIS_Device_t Ethernet_RNDIS_Interface_Device; 49 | 50 | /* Function Prototypes: */ 51 | void USBDeviceMode_USBTask(void); 52 | 53 | void EVENT_USB_Device_Connect(void); 54 | void EVENT_USB_Device_Disconnect(void); 55 | void EVENT_USB_Device_ConfigurationChanged(void); 56 | void EVENT_USB_Device_ControlRequest(void); 57 | 58 | bool CALLBACK_MS_Device_SCSICommandReceived(USB_ClassInfo_MS_Device_t* const MSInterfaceInfo); 59 | 60 | #endif 61 | 62 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Webserver/USBHostMode.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 11 | 12 | Permission to use, copy, modify, distribute, and sell this 13 | software and its documentation for any purpose is hereby granted 14 | without fee, provided that the above copyright notice appear in 15 | all copies and that both that the copyright notice and this 16 | permission notice and warranty disclaimer appear in supporting 17 | documentation, and that the name of the author not be used in 18 | advertising or publicity pertaining to distribution of the 19 | software without specific, written prior permission. 20 | 21 | The author disclaim all warranties with regard to this 22 | software, including all implied warranties of merchantability 23 | and fitness. In no event shall the author be liable for any 24 | special, indirect or consequential damages or any damages 25 | whatsoever resulting from loss of use, data or profits, whether 26 | in an action of contract, negligence or other tortious action, 27 | arising out of or in connection with the use or performance of 28 | this software. 29 | */ 30 | 31 | /** \file 32 | * 33 | * Header file for USBHostMode.c. 34 | */ 35 | 36 | #ifndef _USBHOSTMODE_H_ 37 | #define _USBHOSTMODE_H_ 38 | 39 | /* Includes: */ 40 | #include 41 | 42 | #include "Webserver.h" 43 | #include "Lib/uIPManagement.h" 44 | 45 | /* External Variables: */ 46 | extern USB_ClassInfo_RNDIS_Host_t Ethernet_RNDIS_Interface_Host; 47 | 48 | /* Function Prototypes: */ 49 | void USBHostMode_USBTask(void); 50 | 51 | void EVENT_USB_Host_HostError(const uint8_t ErrorCode); 52 | void EVENT_USB_Host_DeviceAttached(void); 53 | void EVENT_USB_Host_DeviceUnattached(void); 54 | void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, 55 | const uint8_t SubErrorCode); 56 | void EVENT_USB_Host_DeviceEnumerationComplete(void); 57 | 58 | #endif 59 | 60 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/Webserver/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/Webserver/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/XPLAINBridge/Lib/SoftUART.h: -------------------------------------------------------------------------------- 1 | /* 2 | LUFA Library 3 | Copyright (C) Dean Camera, 2011. 4 | 5 | dean [at] fourwalledcubicle [dot] com 6 | www.lufa-lib.org 7 | */ 8 | 9 | /* 10 | Copyright 2010 David Prentice (david.prentice [at] farming [dot] uk) 11 | Copyright 2010 Peter Danneger 12 | Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) 13 | 14 | Permission to use, copy, modify, distribute, and sell this 15 | software and its documentation for any purpose is hereby granted 16 | without fee, provided that the above copyright notice appear in 17 | all copies and that both that the copyright notice and this 18 | permission notice and warranty disclaimer appear in supporting 19 | documentation, and that the name of the author not be used in 20 | advertising or publicity pertaining to distribution of the 21 | software without specific, written prior permission. 22 | 23 | The author disclaim all warranties with regard to this 24 | software, including all implied warranties of merchantability 25 | and fitness. In no event shall the author be liable for any 26 | special, indirect or consequential damages or any damages 27 | whatsoever resulting from loss of use, data or profits, whether 28 | in an action of contract, negligence or other tortious action, 29 | arising out of or in connection with the use or performance of 30 | this software. 31 | */ 32 | 33 | /** \file 34 | * 35 | * Header file for SoftUART.c. 36 | */ 37 | 38 | #ifndef _SOFT_UART_ 39 | #define _SOFT_UART_ 40 | 41 | /* Includes: */ 42 | #include 43 | #include 44 | #include 45 | 46 | #include "../XPLAINBridge.h" 47 | 48 | /* Macros: */ 49 | #define SRX PD0 50 | #define SRXPIN PIND 51 | #define SRXPORT PORTD 52 | 53 | #define STX PD1 54 | #define STXPORT PORTD 55 | #define STXDDR DDRD 56 | 57 | /* Inline Functions: */ 58 | static inline void SoftUART_SetBaud(const uint32_t Baud) 59 | { 60 | uint16_t BitTime = ((F_CPU / Baud) - 1); 61 | 62 | OCR1A = BitTime; 63 | OCR3A = BitTime; 64 | } 65 | 66 | /* Function Prototypes: */ 67 | void SoftUART_Init(void); 68 | 69 | #endif 70 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/XPLAINBridge/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/lufa-LUFA-111009/Projects/XPLAINBridge/makefile -------------------------------------------------------------------------------- /lufa-LUFA-111009/Projects/makefile: -------------------------------------------------------------------------------- 1 | # 2 | # LUFA Library 3 | # Copyright (C) Dean Camera, 2011. 4 | # 5 | # dean [at] fourwalledcubicle [dot] com 6 | # www.lufa-lib.org 7 | # 8 | 9 | # Makefile to build all the LUFA Projects. Call with "make all" to 10 | # rebuild all projects. 11 | 12 | # Projects are pre-cleaned before each one is built, to ensure any 13 | # custom LUFA library build options are reflected in the compiled 14 | # code. 15 | 16 | all: 17 | $(MAKE) -C AVRISP-MKII clean 18 | $(MAKE) -C AVRISP-MKII all 19 | 20 | $(MAKE) -C Benito clean 21 | $(MAKE) -C Benito all 22 | 23 | $(MAKE) -C HIDReportViewer clean 24 | $(MAKE) -C HIDReportViewer all 25 | 26 | $(MAKE) -C LEDNotifier clean 27 | $(MAKE) -C LEDNotifier all 28 | 29 | $(MAKE) -C Magstripe clean 30 | $(MAKE) -C Magstripe all 31 | 32 | $(MAKE) -C MediaController clean 33 | $(MAKE) -C MediaController all 34 | 35 | $(MAKE) -C MIDIToneGenerator clean 36 | $(MAKE) -C MIDIToneGenerator all 37 | 38 | $(MAKE) -C MissileLauncher clean 39 | $(MAKE) -C MissileLauncher all 40 | 41 | $(MAKE) -C RelayBoard clean 42 | $(MAKE) -C RelayBoard all 43 | 44 | $(MAKE) -C TempDataLogger clean 45 | $(MAKE) -C TempDataLogger all 46 | 47 | $(MAKE) -C USBtoSerial clean 48 | $(MAKE) -C USBtoSerial all 49 | 50 | $(MAKE) -C Webserver clean 51 | $(MAKE) -C Webserver all 52 | 53 | $(MAKE) -C XPLAINBridge clean 54 | $(MAKE) -C XPLAINBridge all 55 | 56 | %: 57 | $(MAKE) -C AVRISP-MKII $@ 58 | $(MAKE) -C Benito $@ 59 | $(MAKE) -C HIDReportViewer $@ 60 | $(MAKE) -C LEDNotifier $@ 61 | $(MAKE) -C Magstripe $@ 62 | $(MAKE) -C MediaController $@ 63 | $(MAKE) -C MIDIToneGenerator $@ 64 | $(MAKE) -C MissileLauncher $@ 65 | $(MAKE) -C RelayBoard $@ 66 | $(MAKE) -C TempDataLogger $@ 67 | $(MAKE) -C USBtoSerial $@ 68 | $(MAKE) -C Webserver $@ 69 | $(MAKE) -C XPLAINBridge $@ 70 | 71 | -------------------------------------------------------------------------------- /lufa-LUFA-111009/makefile: -------------------------------------------------------------------------------- 1 | # 2 | # LUFA Library 3 | # Copyright (C) Dean Camera, 2011. 4 | # 5 | # dean [at] fourwalledcubicle [dot] com 6 | # www.lufa-lib.org 7 | # 8 | 9 | # Makefile to build the LUFA library, projects and demos. 10 | 11 | # Call with "make all" to rebuild everything, "make clean" to clean everything, 12 | # "make clean_list" to remove all intermediatary files but preserve any binaries, 13 | # "make doxygen" to document everything with Doxygen (if installed) and 14 | # "make clean_doxygen" to remove generated Doxygen documentation from everything. 15 | 16 | all: 17 | %: 18 | @echo Executing \"make $@\" on all LUFA library elements. 19 | @echo 20 | $(MAKE) -C LUFA $@ -s 21 | $(MAKE) -C Demos $@ -s 22 | $(MAKE) -C Projects $@ -s 23 | $(MAKE) -C Bootloaders $@ -s 24 | @echo 25 | @echo LUFA \"make $@\" operation complete. 26 | 27 | -------------------------------------------------------------------------------- /windows_firmware_installer.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/windows_firmware_installer.zip -------------------------------------------------------------------------------- /windows_firmware_installer/avrdude.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/windows_firmware_installer/avrdude.exe -------------------------------------------------------------------------------- /windows_firmware_installer/flash_firmware_arduino.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | rem set PORT="COM4" 4 | set /p PORT=What is programmer serial port (example COM4)?: 5 | 6 | 7 | :flash_firmware 8 | echo "Writing firmware using programmer on PORT = %PORT% ..." 9 | avrdude.exe -v -carduino -patmega32u4 -P%PORT% -b 19200 -Uflash:w:anykey_bootloader.hex:i -U lfuse:w:0xFF:m -U hfuse:w:0xD8:m -U efuse:w:0xCB:m 10 | echo "Done." 11 | 12 | echo "Writing lockbits ..." 13 | avrdude.exe -q -patmega32u4 -carduino -D -U lock:w:0x3C:m -P %PORT% 14 | echo "Done." 15 | 16 | set /p flashAgain=Flash another anykey [y/n]?: 17 | 18 | goto :flash_firmware 19 | 20 | -------------------------------------------------------------------------------- /windows_firmware_installer/flash_firmware_usbasp.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | :flash_firmware 4 | echo "Writing firmware using programmer on PORT = %PORT% ..." 5 | avrdude.exe -v -c usbasp -patmega32u4 -P usb -b 19200 -Uflash:w:anykey_bootloader.hex:i -U lfuse:w:0xFF:m -U hfuse:w:0xD8:m -U efuse:w:0xCB:m 6 | echo "Done." 7 | 8 | echo "Writing lockbits ..." 9 | avrdude.exe -q -patmega32u4 -c usbasp -D -U lock:w:0x3C:m -P usb 10 | echo "Done." 11 | 12 | set /p flashAgain=Flash another anykey [y/n]?: 13 | 14 | goto :flash_firmware 15 | 16 | -------------------------------------------------------------------------------- /windows_firmware_installer/screenshots/anykey_firmware_validate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/windows_firmware_installer/screenshots/anykey_firmware_validate.png -------------------------------------------------------------------------------- /windows_firmware_installer/screenshots/anykey_firmware_validate2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/windows_firmware_installer/screenshots/anykey_firmware_validate2.PNG -------------------------------------------------------------------------------- /windows_firmware_installer/screenshots/flash1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/windows_firmware_installer/screenshots/flash1.png -------------------------------------------------------------------------------- /windows_firmware_installer/screenshots/flash2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/windows_firmware_installer/screenshots/flash2.png -------------------------------------------------------------------------------- /windows_firmware_installer/screenshots/flash3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/windows_firmware_installer/screenshots/flash3.png -------------------------------------------------------------------------------- /windows_firmware_installer/screenshots/flash_batch_scripts.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/windows_firmware_installer/screenshots/flash_batch_scripts.PNG -------------------------------------------------------------------------------- /windows_firmware_installer/screenshots/full_unlock.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/windows_firmware_installer/screenshots/full_unlock.PNG -------------------------------------------------------------------------------- /windows_firmware_installer/screenshots/lock_command.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/windows_firmware_installer/screenshots/lock_command.PNG -------------------------------------------------------------------------------- /windows_firmware_installer/screenshots/v_command.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w-A-L-L-e/anykey-bootloader/c8cd162922ffdcc10598c37900ad34a234112ca7/windows_firmware_installer/screenshots/v_command.PNG --------------------------------------------------------------------------------