Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 42 | -880/+887 |
| | | | | Minor tweaks to the library documentation. | ||||
* | Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵ | Dean Camera | 2010-06-16 | 16 | -28/+28 |
| | | | | 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 | 13 | -114/+109 |
| | |||||
* | 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 | 30 | -68/+68 |
| | |||||
* | 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 | 20 | -158/+158 |
| | |||||
* | 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. | ||||
* | Added new ADC_DisableChannel() function (thanks to Mich Davis). | Dean Camera | 2010-05-18 | 1 | -0/+43 |
| | |||||
* | 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 | 130 | -26336/+26336 |
| | | | | 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. | ||||
* | Fix up the ADC driver for the U4 parts to remove a typo on one of the ↵ | Dean Camera | 2010-05-04 | 1 | -2/+2 |
| | | | | register names. | ||||
* | 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. | ||||
* | USB_Init() no longer calls sei() to enable global interrupts - this must now ↵ | Dean Camera | 2010-04-28 | 2 | -4/+6 |
| | | | | be done in the user application once all init code has run. | ||||
* | Fixed HID Device Class Driver not allocating a temporary buffer when the ↵ | Dean Camera | 2010-04-20 | 2 | -4/+9 |
| | | | | | | host requests a report via the control endpoint and the user has set the PrevReportINBuffer driver configuration element to NULL (thanks to Lars Noschinski). Clean up incomplete BluetoothHost debugging commands to use GCC extension to avoid NULL parameters when no formatting is required. | ||||
* | Rename FunctionAttributes.h to Attributes.h, as some attributes are ↵ | Dean Camera | 2010-04-15 | 2 | -5/+5 |
| | | | | | | | | applicable to variables also. Add new ATTR_NOINIT attribute for global variables. Add the beginnings of a SDP implentation to the incomplete BluetoothHost demo. Add const attribute to the Mass Storage Host driver functions where it was applicable, but missing. | ||||
* | Fixed Set/Clear Feature requests directed to a non-configured endpoint not ↵ | Dean Camera | 2010-04-14 | 2 | -15/+15 |
| | | | | | | returning a stall to the host. Make TeensyHID bootloader use an 8 byte control endpoint to match the official Teensy, just in case Paul decides to authenticate on that attribute in the future. | ||||
* | Removed two-step endpoint/pipe bank clear and switch sequence for smaller, ↵ | Dean Camera | 2010-04-13 | 12 | -29/+69 |
| | | | | | | | | faster endpoint/pipe code. Added spacing between multiple paragraphs in Doxygen \note sections. Removed call to the clock prescaler reset function in the Teensy bootloader to save space - the user application is accessed via a watchdog reset anyway, so the prescale reset would only affect the speed of the bootloader itself. | ||||
* | Oops, incorrectly edited the Benito buttons driver file instead of the ↵ | Dean Camera | 2010-03-30 | 3 | -20/+15 |
| | | | | | | JM-DB-U2 buttons driver file. Fix up preprocessor guards in the new board driver files. | ||||
* | Add missing board Buttons driver for the USBTINY MKII board target. | Dean Camera | 2010-03-30 | 2 | -0/+99 |
| | |||||
* | Oops - make sure board driver dispatch headers test for the correct BOARD ↵ | Dean Camera | 2010-03-30 | 4 | -8/+112 |
| | | | | | | define values. Add button support for the BENITO board target. | ||||
* | Added support for the JM-DB-U2 board hardware. | Dean Camera | 2010-03-30 | 4 | -0/+228 |
| | |||||
* | Added board hardware driver support for the Benito programmer. | Dean Camera | 2010-03-30 | 2 | -1/+132 |
| | |||||
* | Added board hardware driver support for Tom's USBTINY MKII programmer. | Dean Camera | 2010-03-30 | 6 | -11/+139 |
| | |||||
* | Add briefs for the library core structures. | Dean Camera | 2010-03-29 | 66 | -78/+373 |
| |