Commit Graph

  • 0174d8ea70 Reduced HOST_DEVICE_SETTLE_DELAY_MS to 1000ms down from 1500ms to improve device compatibility while in USB Host mode, as some devices will drop off the USB bus if no connection is made within a timeout period. Dean Camera 2010-09-04 10:17:09 +00:00
  • 21954179a4 Added board hardware driver support for the USBFOO development board. Dean Camera 2010-09-04 09:41:08 +00:00
  • b369aa2cc6 Added board hardware driver support for the Olimex AVR-USB-162 development board (thanks to Steve Fawcett). Dean Camera 2010-09-03 09:57:31 +00:00
  • 4dece08bef Clarify in the project documentation files what the each of the different USB AVR device "series" comprises of. Dean Camera 2010-08-31 12:33:21 +00:00
  • 009eebf229 Fix incorrect ADC driver documentation for the parameters of ADC_Init(), fix incorrect call to ADC_Init() in the TemperatureDatalogger project. Dean Camera 2010-08-31 07:32:48 +00:00
  • 1afe51faa1 Fix up documentation - remove obsolete Scheduler Overview page, roll documentation into the documentation for the (deprecated) Simple Scheduler module. Dean Camera 2010-08-29 14:07:31 +00:00
  • b3c6599bb7 Remove remaining void* descriptor casts in the projects and demos that were not removed when the GetDescriptor callback function's signature was altered. Dean Camera 2010-08-29 13:21:14 +00:00
  • 263178fbb6 Add better description of the Ultra-Lightweight Ring Buffer header files. Dean Camera 2010-08-29 07:49:36 +00:00
  • cd4c10fefa Better documentation for the Endpoint_ConfigureEndpoint() and Pipe_ConfigurePipe() functions. Dean Camera 2010-08-24 13:57:55 +00:00
  • b7b8a9edfa Fixed LowLevel PrinterHost demo not sending control requests to the attached printer with the correct printer interface wIndex value. Dean Camera 2010-08-24 13:16:16 +00:00
  • 092f82e06f Changed the signature of the CALLBACK_USB_GetDescriptor() callback function so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch). Dean Camera 2010-08-24 13:02:38 +00:00
  • ed8ad18f26 Fix Doxygen typos in Device.h. Dean Camera 2010-08-24 11:47:53 +00:00
  • 3b31337cd8 perform nomal keyboard behavior. It works now!!! tmk 2010-08-23 15:46:24 +09:00
  • c17f07819f store Keymap into program space. tmk 2010-08-23 12:53:00 +09:00
  • 8cfb3712d5 matrix scan & default keymap tmk 2010-08-22 23:58:37 +09:00
  • f6e1eaba75 Optimise Endpoint_ConfigureEndpoint_Prv() function to produce smaller code when CONTROL_ONLY_DEVICE compile time token is defined. Dean Camera 2010-08-22 13:54:51 +00:00
  • e72f424f64 Split out endpoint and pipe stream functions into new EndpointStream.c/.h and PipeStream.c/.h files. Dean Camera 2010-08-22 13:31:27 +00:00
  • 4cc7f5200b Changed all Device mode LowLevel demos and Device Class drivers so that the control request is acknowledged and any data transferred as quickly as possible without any processing inbetween sections, so that long callbacks or event handlers will not break communications with the host by exceeding the maximum control request stage timeout period. Dean Camera 2010-08-22 03:26:20 +00:00
  • 1be3436e89 Moved calls to Device mode Class Driver events to after the request has been acknowledged, so that long event handlers do do skew the timing of the control requests. Dean Camera 2010-08-22 02:45:20 +00:00
  • 81998ce297 Added compile time error to the AVRISP-MKII project when built for the U4 chips, as the default VTARGET detection ADC channel does not exist on these chips (thanks to Marco). Dean Camera 2010-08-22 01:42:09 +00:00
  • e966219834 Clarify in the documentation that the Audio demos and driver is for the Audio 1.0 specification, not the newer (and more advanced/less supported) 2.0 specification. Dean Camera 2010-08-21 11:38:39 +00:00
  • 38d2e694ef Remove unneccesary call to USB_Device_EnableSOFEvents() in the MassStorage and MIDI Device Class demos. Dean Camera 2010-08-21 08:21:17 +00:00
  • 95079868bb Fixed critical pipe/endpoint memory allocation issue where the bank memory address space could be silently overlapped in the USB controller if the endpoints or pipes were allocated in anything other than ascending order (thanks to Martin Degelsegger). Dean Camera 2010-08-20 12:13:19 +00:00
  • ad4308b1d1 Added new SCSI_ASENSE_NOT_READY_TO_READY_CHANGE constant to the Mass Storage class driver, to indicate when a previously not ready removable medium has now become ready for the host's use (thanks to Martin Degelsegger) Dean Camera 2010-08-20 11:03:25 +00:00
  • 4f114e5766 Fixed MassStorage based demos and projects resetting the SCSI sense values before the command is executed, leading to missed SCSI sense values when the host retrieves the sense key (thanks to Martin Degelsegger). Dean Camera 2010-08-18 10:33:21 +00:00
  • f4de17207e Fixed USB_GetHIDReportItemInfo() function modifying the given report item's data when the report item does not exist within the supplied report of a multiple report HID device. Dean Camera 2010-08-10 12:13:07 +00:00
  • 20711b59e7 change file name. tmk 2010-08-10 13:45:28 +09:00
  • ac3134ffeb add initial files from teensy's usb_keyboard_debug. tmk 2010-08-10 13:34:06 +09:00
  • eb060db71b Tighten up the code in the delta movement detection code in the MouseHostWithParser and JoystickHostWithParser demos. Make the ClassDriver JoystickHostWithParser demo use the HID_ALIGN_DATA() macro instead of manual shifting and casting. Dean Camera 2010-08-09 12:04:52 +00:00
  • 508e905d8d Removed complicated logic for the Endpoint_ConfigureEndpoint() function to use inlined or function called versions depending of if the given bank size is a compile time constant, as the compiler does a better job of optimizing with basic code. Dean Camera 2010-08-09 10:20:10 +00:00
  • be520aed52 Add notification endpoint to the incomplete TMC demo. Dean Camera 2010-08-09 07:21:53 +00:00
  • 9274610a48 Commit for the 100807 release. Dean Camera 2010-08-09 01:55:02 +00:00
  • 5f3a1b2629 Fix invocations of avr-size in all makefiles broken on unpatched *nix systems, due to the recent update to the latest WinAVR makefile template. Dean Camera 2010-08-08 08:30:42 +00:00
  • 3c72896e84 Fixed software application start command broken in the DFU class bootloader when dfu-programmer is used due to application start address corruption. Dean Camera 2010-08-05 09:31:51 +00:00
  • 98947e3750 Ensure all demos now compile in C99 standards mode, and not GNU99 (C99 + GNU extensions). Dean Camera 2010-08-03 11:13:06 +00:00
  • 48c5cdced4 Hide the PROGMEM attribute from Doxygen, as it appears to confuse the parser in some situations. Dean Camera 2010-08-02 08:53:23 +00:00
  • ff09cf9c73 Fix XPLAINBridge project discarding characters from the USB interface due to a double read from the endpoint. Dean Camera 2010-08-01 14:03:13 +00:00
  • fb0e6597b6 Invert the logic for the VBUS power light in the AVRISP-MKII project for the USBTINY-MKII board target. Dean Camera 2010-08-01 06:53:08 +00:00
  • 5dfa25f81a Re-add deleted linker options to the Bootloader makefiles, which was preventing the compiled application from being shifted into the bootloader section address space. Dean Camera 2010-07-31 08:03:23 +00:00
  • 9597b33c33 Fixed Serial peripheral driver not turning off the USART before reconfiguring it, which would cause incorrect operation to occur (thanks to Bob Paddock). Dean Camera 2010-07-31 06:55:47 +00:00
  • 612df774d9 Oops - fix mixed "initialize" and "initialise" - opt for American spelling due to its wide use in technical standards. Dean Camera 2010-07-30 10:58:16 +00:00
  • 0f45b9c8e0 More spell checking of all source files -- correct missed errors, switch to EN-GB spelling dictionary. Dean Camera 2010-07-30 09:48:35 +00:00
  • 2034141a7e Spell check more of the third party libraries used by LUFA. Dean Camera 2010-07-30 08:29:53 +00:00
  • fd9b34aac4 Add the formula used to obtain the bootloader start address to the Bootloader makefiles to help users compute the correct address for each device based on the bootloader section size. Dean Camera 2010-07-30 05:13:05 +00:00
  • 37c601dbf6 Fix typo in DualVirtualSerial.c due to the changed CDC Device APIs that was preventing the demo from being compiled. Dean Camera 2010-07-30 04:20:41 +00:00
  • 24e621a8d8 Altered the CDC Deivice and Host Class drivers' receive byte routines, so that no data is indicated by a negative return value. Dean Camera 2010-07-30 03:52:11 +00:00
  • 7c8d16fd7a Oops - need to turn off USART via control register B before reconfiguring, fix ordering of USART control register modifications in the Benito and USBtoSerial projects. Dean Camera 2010-07-30 01:11:04 +00:00
  • 28401f7bb7 Spell check all source files once again to find any typos. Dean Camera 2010-07-29 16:20:45 +00:00
  • ca007f91f2 Fixed Benito and USBtoSerial projects not turning off the USART before reconfiguring it, which could cause incorrect operation to occur (thanks to Bob Paddock). Dean Camera 2010-07-29 15:14:56 +00:00
  • 62022252ea Add special support to the AVRISP-MKII for the new model USBTINY-MKII's additional LED to indicate target power source. Dean Camera 2010-07-29 13:04:53 +00:00
  • 30c2b620de Remove obsolete macros and preprocessor checks from the AVRISP-MKII project's V2Protocol command handler header file. Dean Camera 2010-07-29 07:20:33 +00:00
  • 1d4ff3695d Oops - remove duplicated SPI driver init mask. Dean Camera 2010-07-29 07:16:20 +00:00
  • de5b16909a Added support to the AVRISP-MKII project for ISP speeds slower than 125KHz via a new software SPI driver. Dean Camera 2010-07-29 07:09:57 +00:00
  • 9a97f16b07 Add TMC header read and write functions, so that TMC data can now be exchanged in both directions. Dean Camera 2010-07-28 09:17:22 +00:00
  • 059307d89c Use static inline intermediatary functions in Endpoint.h to handle the masking for the private endpoint configuration routine, instead of performing the masking in the Endpoint_ConfigureEndpoint() macro. Dean Camera 2010-07-27 13:49:16 +00:00
  • be2a7d4598 Move over message ID specific header data to unions inside the standard TMC header structure, so that all header data is read in one chunk in the incomplete TMC demo. Dean Camera 2010-07-27 11:26:47 +00:00
  • cd39c38d5f Rename reserved members of all structs so that they are uniformly named across all demos/projects/bootloaders. Dean Camera 2010-07-26 07:28:40 +00:00
  • 6e2920bc84 Add comments to the currently completed portions of the incomplete Test and Measurement Class demo. Dean Camera 2010-07-26 05:02:55 +00:00
  • 0803cf00ac Add missing INTERRUPT_CONTROL_ENDPOINT compile time option to the Mass Storage device projects/demos and incomplete Test and Measurement Class demo, which was accidentally removed during the makefile updates. Dean Camera 2010-07-26 04:57:50 +00:00
  • 89a32baf58 Add stream callback flags and class specific control request handler code to the incomplete Test and Measurement Class device demo. Dean Camera 2010-07-26 04:26:47 +00:00
  • 4c9425c0d5 Added periodic flush timer to the Benito project. Alter the serial transmission code so that sent bytes do not block the remainder of the main program code from running. Dean Camera 2010-07-25 11:59:55 +00:00
  • 3a79548dc2 Add TMC device capabilities to the incomplete TMC demo. Dean Camera 2010-07-23 09:12:26 +00:00
  • eb8a708b53 Update size of compiled Mouse demo in documentation, fix indenting in Device.h. Dean Camera 2010-07-23 03:25:19 +00:00
  • 9b0e4b8356 Convert over internal pseudo-function macros to true inline functions for added type-safety and compile-checking. Dean Camera 2010-07-22 15:38:12 +00:00
  • 2461ae508c Future proof the XPROG protocol of the AVRISP-MKII project, so that non PDI and TPI requests return failure. Dean Camera 2010-07-22 12:34:32 +00:00
  • ac0ece0141 Added start of a low level device Test and Measurement class demo (thanks to Peter Lawrence). Dean Camera 2010-07-22 07:19:41 +00:00
  • e6f37221fa Fix up minor whitespace formatting errors. Dean Camera 2010-07-22 05:00:39 +00:00
  • 6bda628718 Update all demos, projects and bootloaders to indent all function parameters, one per line, for better readability. Dean Camera 2010-07-21 16:19:32 +00:00
  • 83e293a6ec Replace internal Pipe_BytesToEPSizeMask() routine with a new version which results in smaller code. Dean Camera 2010-07-21 14:17:18 +00:00
  • 97143bf814 Add missing const qualifiers to class drivers. Dean Camera 2010-07-21 14:00:51 +00:00
  • 99d8a39363 Move and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h. Dean Camera 2010-07-21 12:20:34 +00:00
  • 5f57785404 Add missing const qualifier to the parameters of the USB_GetNextDescriptorComp() function. Dean Camera 2010-07-21 05:39:29 +00:00
  • f9bcac5e00 Fixed MIDI_Device_SendEventPacket() not correctly waiting for the endpoint to become ready (thanks to Robin Green). Dean Camera 2010-07-20 06:59:13 +00:00
  • 6b5e684c77 Update makefiles to use the latest WinAVR/Atmel toolchain makefile template. Dean Camera 2010-07-19 14:00:44 +00:00
  • 42ac34b484 Change over all makefiles to use C99 standards mode, rather than C99 + GNU Extensions. Dean Camera 2010-07-18 07:31:57 +00:00
  • 9299735c75 Disable strict aliasing explicitly in the project makefiles, as this is apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase. Dean Camera 2010-07-15 17:13:33 +00:00
  • f4710f6f86 Removed the automated checking of event names in the demo, project and bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. Dean Camera 2010-07-15 16:45:26 +00:00
  • dfe50ff349 Added ability to set the serial baud rate via the user's terminal in the XPLAINBridge project. Dean Camera 2010-07-15 11:01:31 +00:00
  • 40631e9fe5 Fix pointer aliasing warning in the Mass Storage demos. Dean Camera 2010-07-15 10:34:29 +00:00
  • e2e1fe5aad Fixed possible buffer overrun in the XPLAINBridge project when in serial bridge mode. Dean Camera 2010-07-15 04:45:31 +00:00
  • 7cef08e10e Fixed HID device class driver still using PrevReportINBuffer for GetReport control requests even when it has been set to NULL by the user application (thanks to Axel Rohde). Dean Camera 2010-07-15 01:42:36 +00:00
  • d83cc9ac80 Change AVRISP-MKII and XPLAINBridge descriptors to indicate that the device is bus-powered only. Add compile time options to reduce the compiled size of the firmware. Dean Camera 2010-07-13 14:17:18 +00:00
  • 666c0fa4c3 Remove the timeout period extension code from the AVRISP project, as no single command should ever exceed the maximum timeout period. Extend timeout period to 1 second per command, so that an accidental timeout will never occur. Dean Camera 2010-07-13 11:26:03 +00:00
  • 0313034245 Added const attributes to some of the class driver function parameters that were missing it. Dean Camera 2010-07-13 10:01:13 +00:00
  • 3a3a4e2abf Add AVRStudio 4 project files to the ClassDriver Device mode demos. Dean Camera 2010-07-13 05:38:51 +00:00
  • f985a8c176 Add AVRStudio 4 project files to the LowLevel Device mode demos. Dean Camera 2010-07-13 05:20:49 +00:00
  • 658da63e6c Add AVRStudio 4 project files to the ClassDriver Host mode demos. Dean Camera 2010-07-13 05:11:23 +00:00
  • 20943fa1aa Add AVRStudio 4 project files to the LowLevel Host mode demos. Dean Camera 2010-07-13 05:01:18 +00:00
  • 975e9d772d Add AVRStudio 4 project files for the library bootloaders. Dean Camera 2010-07-13 04:43:38 +00:00
  • 3904c1a606 Add remaining AVRStudio project files to the library projects. Dean Camera 2010-07-13 04:39:54 +00:00
  • ac61b81a0b Add first lot of AVRStudio project files for some of the library projects. Dean Camera 2010-07-13 04:32:33 +00:00
  • d3e00ce1ec Rename the AVRISP main source files to AVRISP-MKII so that it matches the project name. Add AVRStudio project file for the AVRISP-MKII project. Dean Camera 2010-07-13 04:16:23 +00:00
  • 1167b69943 Add missing eol-style properties to new source files. Dean Camera 2010-07-12 10:20:38 +00:00
  • ae9dab1398 Add missing clean_doxygen phony targets to the project makefiles. Dean Camera 2010-07-12 10:18:18 +00:00
  • 8de31cbb78 Reduce prescaler of the flush timer in the USBtoSerial demo, so that buffer overruns will not occur regardless of hardware and baud rate settings. Dean Camera 2010-07-12 07:11:50 +00:00
  • 0bcc82ac28 Alter the ring buffer library headers to have both atomic and non-atomic insertion/removal routines. Modify the existing projects so that buffer operations performed in an ISR use the shorted non-atomic versions, as they are already performed in a blocking ISR. Dean Camera 2010-07-12 07:04:19 +00:00
  • 3fd246041b Add glitch protection to the software UART in the XPLAINBridge project code, so that very short glitches on the RX line don't cause a frame reception to occur. Dean Camera 2010-07-12 02:23:11 +00:00
  • 229935184b Major changes to the XPLAINBridge software UART code for performance and reliability. New code reduces the number of missed characters and misread characters. Dean Camera 2010-07-11 14:14:08 +00:00
  • 2b0d93c129 Correct misspellings in the Bluetooth demo code. Dean Camera 2010-07-11 08:11:25 +00:00
  • f6e84eabce Add more doxygen function documentation to the RFCOMM layer. Dean Camera 2010-07-11 07:59:15 +00:00