aboutsummaryrefslogtreecommitdiffstats
path: root/usbdrv/usbdrv.c
Commit message (Collapse)AuthorAgeFilesLines
* Added 3rd endpoint (#1)HEADmasteryiancar2020-08-151-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added 3rd endpoint - Added 3rd endpoint check in asmcommon. This adds 2 extra cycles to the USB routine when enabled. With 16MHz clock (most if not all qmk build use that) the routine is still within spec. - Updated prototype.h file to add additional options. - Simulatanius changes in QMK to follow soon * Update usbdrv/usbdrv.c * Update usbdrv/usbdrv.c * Update usbdrv/usbdrv.c * Update usbdrv/usbdrv.c * Update usbdrv/usbdrvasm.S Accepted to keep changes minimal * Update usbdrv/usbdrvasm.S Accepted to keep changes minimal * Update usbdrv/usbdrvasm.S Accepted to keep changes minimal * Update usbdrv/usbdrvasm.S Accepted to keep changes minimal
* `USB_CFG_DESCR_PROPS_UNKNOWN` now honors the `USB_PROP_IS_RAM` flag.Christian Starkjohann2017-01-241-0/+6
|
* Made `usbMsgFlags` public.Christian Starkjohann2017-01-241-2/+1
| | | | Users can set it to `USB_FLG_MSGPTR_IS_ROM` and set `usbMsgPtr` to a flash memory address.
* Merge pull request #1 from patthoyts/masterstarkjohann2017-01-241-1/+2
|\ | | | | usbdrv: support HID descriptors over 255 bytes
| * usbdrv: support HID descriptors over 255 bytesPat Thoyts2014-01-201-1/+2
| | | | | | | | | | | | | | | | | | Implementing HID devices conforming to the Windows 8 Sensor API can produce quite large HID descriptors - well over 255 bytes. This requires USB_CFG_LONG_TRANSFERS to be enabled and also requires the recent patch to support large descriptors. That patch failed to enable large HID descriptors but this is fixed by this commit. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
* | For bus-powered devices add the "Remote Wake" attribute to the configuration ↵Christian Starkjohann2015-09-041-1/+1
|/ | | | descriptor.
* Made usbSetInterrupt() tolerant to zero sized blocks.Christian Starkjohann2013-11-121-1/+1
|
* Removed all references to the SVN expansion keyword $Id$.Christian Starkjohann2012-12-051-1/+0
|
* Removed unnecessary include of usbportability.h.Christian Starkjohann2012-12-051-1/+0
| | | | This include caused a header dependency problem. usbconfig.h must be included before usbportability.h because the PROGMEM macros must know the size of the memory model. usbdrv.h includes the headers in just this order.
* Add const keyword to all PROGMEM declarations as required by new gcc.Christian Starkjohann2012-12-051-6/+6
|
* usbMsgPtr now has a separate type so that it can be defined to an 8 bit type ↵Christian Starkjohann2012-12-051-5/+7
| | | | for tiny memory model
* - Fixed bug in usbDriverSetup() which prevented descriptor sizes above 255 ↵Christian Starkjohann2012-01-081-1/+4
| | | | bytes.
* - take endpoint 3 number from USB_CFG_EP3_NUMBER for config descriptorChristian Starkjohann2010-07-151-1/+1
|
* - fixed bmAttributes in configuration descriptorChristian Starkjohann2009-08-221-2/+2
|
* - great renaming: project is now renamed from AVR-USB to V-USBChristian Starkjohann2009-04-131-1/+1
|
* - debug print CRC as well, not just message.Christian Starkjohann2009-03-161-1/+1
|
* - allow distribution under GPLv3 as wellChristian Starkjohann2008-11-071-1/+1
|
* - implemented option USB_CFG_SUPPRESS_INTR_CODEChristian Starkjohann2008-10-211-4/+6
|
* - optimized 4 more bytesChristian Starkjohann2008-10-201-7/+7
|
* - longer delay for RESET detection accounts for higher clock ratesChristian Starkjohann2008-09-161-1/+1
|
* - Fixed bug in long transfer configurationChristian Starkjohann2008-07-011-2/+6
|
* - extended concept of usbportability header: moved all portability stuff thereChristian Starkjohann2008-06-181-11/+2
|
* - removed iarcompat.h in favor of usbportability.h which is intended to takeChristian Starkjohann2008-06-171-5/+1
| | | | | care of ports to other compilers such as CodeVision as well.
* - added usbconfig.h option USB_CFG_CHECK_DATA_TOGGLINGChristian Starkjohann2008-06-101-0/+3
|
* - documentation updateChristian Starkjohann2008-05-031-5/+6
|
* - we must initialize usbTxLen[13] to USBPID_NAK, otherwise the host isChristian Starkjohann2008-05-031-4/+6
| | | | | confused about the long initial packet and disqualifies the device
* - complete restructuringChristian Starkjohann2008-05-031-232/+282
| | | | | | | - allow long transfers - optimized code for multiple interrupt-in endpoints - added default endpoint if two interrupt-in endpoints are declared
* - some code size optimizationsChristian Starkjohann2008-04-301-89/+87
|
* - used wrong name in copy -- fixed thisChristian Starkjohann2008-04-171-0/+578