Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move over message ID specific header data to unions inside the standard TMC ↵ | Dean Camera | 2010-07-27 | 1 | -2/+2 |
| | | | | header structure, so that all header data is read in one chunk in the incomplete TMC demo. | ||||
* | Rename reserved members of all structs so that they are uniformly named ↵ | Dean Camera | 2010-07-26 | 2 | -7/+7 |
| | | | | | | across all demos/projects/bootloaders. Added start of the Incomplete TMC demo's command parser code. | ||||
* | Update size of compiled Mouse demo in documentation, fix indenting in Device.h. | Dean Camera | 2010-07-23 | 1 | -1/+1 |
| | |||||
* | Convert over internal pseudo-function macros to true inline functions for ↵ | Dean Camera | 2010-07-22 | 7 | -861/+1137 |
| | | | | added type-safety and compile-checking. | ||||
* | Replace internal Pipe_BytesToEPSizeMask() routine with a new version which ↵ | Dean Camera | 2010-07-21 | 1 | -12/+10 |
| | | | | results in smaller code. | ||||
* | Add missing const qualifiers to class drivers. | Dean Camera | 2010-07-21 | 40 | -245/+467 |
| | | | | Indent core library function parameters so that there is only one parameter per line, to increase readability. | ||||
* | Move and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel ↵ | Dean Camera | 2010-07-21 | 15 | -46/+58 |
| | | | | | | | | directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h. Rename LowLevel.c/.h to USBController.c/.h. Remove dependancies on the complete <avr/io.h> header in the HighLevel USB driver directory, to ensure less work is required in later (possible) ports. | ||||
* | Add missing const qualifier to the parameters of the ↵ | Dean Camera | 2010-07-21 | 3 | -208/+198 |
| | | | | | | USB_GetNextDescriptorComp() function. Reduce spacing of the structure elements in StdDescriptors.h to make the code more readable. | ||||
* | Fixed MIDI_Device_SendEventPacket() not correctly waiting for the endpoint ↵ | Dean Camera | 2010-07-20 | 1 | -1/+1 |
| | | | | to become ready (thanks to Robin Green). | ||||
* | Update makefiles to use the latest WinAVR/Atmel toolchain makefile template. | Dean Camera | 2010-07-19 | 23 | -40/+40 |
| | | | | Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis. | ||||
* | Removed the automated checking of event names in the demo, project and ↵ | Dean Camera | 2010-07-15 | 6 | -19/+11 |
| | | | | | | bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure. | ||||
* | Fixed HID device class driver still using PrevReportINBuffer for GetReport ↵ | Dean Camera | 2010-07-15 | 1 | -1/+1 |
| | | | | control requests even when it has been set to NULL by the user application (thanks to Axel Rohde). | ||||
* | Added const attributes to some of the class driver function parameters that ↵ | Dean Camera | 2010-07-13 | 16 | -41/+43 |
| | | | | were missing it. | ||||
* | Add missing eol-style properties to new source files. | Dean Camera | 2010-07-12 | 1 | -52/+52 |
| | |||||
* | Make main readme file easier to read, and make documentation build ↵ | Dean Camera | 2010-07-06 | 1 | -2/+2 |
| | | | | instructions clearer. | ||||
* | Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵ | Dean Camera | 2010-07-02 | 3 | -50/+72 |
| | | | | | | functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request. Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete. | ||||
* | Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT(). | Dean Camera | 2010-06-17 | 32 | -846/+850 |
| | | | | Minor tweaks to the library documentation. | ||||
* | Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵ | Dean Camera | 2010-06-16 | 12 | -23/+23 |
| | | | | the new 1.7 Doxygen's default stylesheet is much better. | ||||
* | Fix HID parser documentation for the default maximum report/path/etc. ↵ | Dean Camera | 2010-06-15 | 1 | -2/+2 |
| | | | | elements so that it matches the current code values. | ||||
* | Change over Doxygen \note documentation to \pre where applicable. | Dean Camera | 2010-06-15 | 12 | -112/+107 |
| | |||||
* | Slight improvements to the reliability of the software UART in the ↵ | Dean Camera | 2010-06-12 | 1 | -1/+1 |
| | | | | XPLAINBridge project. | ||||
* | Speed up calls to Pipe_IsPipeBound() by immediately skipping unconfigured ↵ | Dean Camera | 2010-06-12 | 2 | -5/+8 |
| | | | | pipes, rather than performing token check first. | ||||
* | Add missing ATTR_NON_NULL_PTR_ARG and ATTR_ALWAYS_INLINE attributes to class ↵ | Dean Camera | 2010-06-08 | 10 | -45/+63 |
| | | | | driver functions. | ||||
* | Fixed incorrect function references in the Mass Storage Class driver ↵ | Dean Camera | 2010-06-03 | 2 | -2/+4 |
| | | | | documentation. | ||||
* | More documentation fixes. | Dean Camera | 2010-06-03 | 5 | -17/+17 |
| | |||||
* | Minor documentation cleanups. | Dean Camera | 2010-06-03 | 18 | -55/+55 |
| | |||||
* | Oops - descriptor pointer should be assigned, not incremented with the new ↵ | Dean Camera | 2010-06-02 | 1 | -1/+1 |
| | | | | type-safe code. | ||||
* | Better fix to avoid void pointer arithmetic in ConfigDescriptor.h to regain ↵ | Dean Camera | 2010-06-02 | 1 | -16/+4 |
| | | | | C++ compatibility (thanks to Michael Hennebry). | ||||
* | Remove void* arithmetic in the USB_GetNextDescriptor() static inline ↵ | Dean Camera | 2010-05-31 | 2 | -50/+61 |
| | | | | function, to make the header file C++ compatible once again. Implement workaround for an obscure GCC bug which can cause incorrect code generation under some circumstances when the void* is re-cast. | ||||
* | Small tweaks to ConfigDescriptor.c/.h to ensure pointers use the correct ↵ | Dean Camera | 2010-05-30 | 2 | -10/+8 |
| | | | | type, and to remove const attribute from the descriptor comparator callback function pointer type define, and into the function prototype instead. | ||||
* | Fixed internal device serial not being accessible on the ATMEGAXXU2 AVRs ↵ | Dean Camera | 2010-05-30 | 3 | -4/+7 |
| | | | | (thanks to Axel Rohde). | ||||
* | Fix spacing of the function parameter descriptions in the Doxygen documentation. | Dean Camera | 2010-05-29 | 17 | -155/+155 |
| | |||||
* | The EEPROM stream read/write functions now use eeprom_update_byte() instead ↵ | Dean Camera | 2010-05-26 | 2 | -6/+6 |
| | | | | | | of eeprom_write_byte(), so that only changed bytes are written to EEPROM to preserve its lifespan. Changed over the AVRISP-MKII and TemperatureDataLogger projects to use eeprom_update_byte() when writing non-volatile parameters to EEPROM to preserve its lifespan. | ||||
* | Remove incorrect check for the current device state in the Set Configuration ↵ | Dean Camera | 2010-05-13 | 1 | -3/+0 |
| | | | | | | request handler of DevChapter9, which broke Set Configuration requests to the device under most circumstances. Move out the SPI prescaler list to a PROGMEM module-level variable in ISPTarget.c. | ||||
* | Fixed possible device lockup when INTERRUPT_CONTROL_ENDPOINT is enabled and ↵ | Dean Camera | 2010-05-13 | 2 | -2/+6 |
| | | | | the control endpoint is not properly selected when the ISR completes. | ||||
* | Fix nasty bug in USBInterrupt.c which would cause a lockup if the control ↵ | Dean Camera | 2010-05-11 | 1 | -4/+4 |
| | | | | endpoint was not selected at the point the USB endpoint interrupt fires when INTERRUPT_CONTROL_ENDPOINT is defined. | ||||
* | Add new ReportType parameter to the HID class driver device callback and ↵ | Dean Camera | 2010-05-09 | 16 | -80/+82 |
| | | | | | | host report sending routines. Renamed internal Host mode Class driver descriptor comparator callback routines so that they all start with a uniform DCOMP_{Class Abbreviation}_ prefix. | ||||
* | Add svn:eol-style property to source files, so that the line endings are ↵ | Dean Camera | 2010-05-08 | 77 | -19811/+19811 |
| | | | | correctly converted to the target system's native end of line style. | ||||
* | Device mode class driver callbacks are now fired before the control request ↵ | Dean Camera | 2010-05-07 | 5 | -20/+15 |
| | | | | | | status stage is sent to prevent the host from timing out if another request is immediately fired and the device has a lengthy callback routine. Inlined currently unused MIDI ProcessControlRequest routine. | ||||
* | Change over unix line-endings to dos line endings. | Dean Camera | 2010-05-07 | 1 | -1/+1 |
| | |||||
* | Added new EVENT_CDC_Device_BreakSent() event and CDC_Host_SendBreak() ↵ | Dean Camera | 2010-05-06 | 5 | -2/+56 |
| | | | | function to the Device and Host CDC Class drivers. | ||||
* | Ensure that the CDC class drivers return 0 if the number of unread bytes is ↵ | Dean Camera | 2010-05-06 | 2 | -9/+18 |
| | | | | queried and the bank has become empty. | ||||
* | Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other ↵ | Dean Camera | 2010-05-04 | 2 | -0/+4 |
| | | | | interrupts from occuring while the control endpoint request is being processed, causing possible lockups if a USB interrupt occurs during a transfer. | ||||
* | Fixed Host mode HID class driver not sending the correct report type when ↵ | Dean Camera | 2010-05-04 | 1 | -1/+1 |
| | | | | HID_Host_SendReportByID() was called and the HID_HOST_BOOT_PROTOCOL_ONLY compile time option is set. | ||||
* | Fixed device state not being reset back to the default state if the host ↵ | Dean Camera | 2010-05-04 | 2 | -23/+24 |
| | | | | | | | | sets the address to 0x00. Fixed Set Configuration requests not being stalled until the host has set the device's address. Fixed possibility of internal signature retrieval being corrupted if an interrupt occurs during a signature byte read (thanks to Andrei Krainev). | ||||
* | Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so ↵ | Dean Camera | 2010-05-03 | 4 | -5/+27 |
| | | | | that the stream functions early-abort if the bus is suspended before or during a transfer. | ||||
* | The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() ↵ | Dean Camera | 2010-04-29 | 2 | -31/+27 |
| | | | | functions are now inline, to reduce overhead. | ||||
* | Use puts_P() and printf_P() instead of the normal variants where possible in ↵ | Dean Camera | 2010-04-28 | 1 | -10/+4 |
| | | | | the Host mode Class Driver demos. | ||||
* | Oops - relocated USBInterrupt.h header file requires adjusted include paths ↵ | Dean Camera | 2010-04-28 | 1 | -3/+3 |
| | | | | for the other USB driver header files. | ||||
* | Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵ | Dean Camera | 2010-04-28 | 5 | -8/+7 |
| | | | | LowLevel directory as it is hardware-dependent. |