Search found 5 matches

by icefire
Wed Apr 30, 2008 10:35 am
Forum: V-USB
Topic: How to send a report more than 255 bytes?
Replies: 3
Views: 3482

How to send a report more than 255 bytes?

I want to build a Hid report descripotr with more than 300 bytes, and then i meet the the limite of 255 bytes.
I need to modify the driver to send the report.
Does someone has hints ?
by icefire
Thu Dec 27, 2007 6:21 am
Forum: V-USB
Topic: IAR AVR build error with new usbdrv lib 2007-12-01
Replies: 5
Views: 8789

It is no use , even if i define the USB_INTR_PENDING, the warning also exist. I use the lazy way to solve this: // #if USB_INTR_PENDING < 0x40 /* This is an I/O address, use in and out */ # define USB_LOAD_PENDING(reg) in reg, USB_INTR_PENDING # define USB_STORE_PENDING(reg) out USB_INTR_PENDING, re...
by icefire
Thu Dec 27, 2007 5:28 am
Forum: V-USB
Topic: IAR AVR build error with new usbdrv lib 2007-12-01
Replies: 5
Views: 8789

Thank you christian.


I am sure i have never change any #if/#endif structure, my change is so simple:
// #warning "You should define USB_CFG_VENDOR_ID and USB_CFG_DEVICE_ID in usbconfig.h"
by icefire
Mon Dec 24, 2007 1:06 pm
Forum: V-USB
Topic: IAR AVR build error with new usbdrv lib 2007-12-01
Replies: 5
Views: 8789

after removed the redefine macro usbDeviceConnect and usbDeviceDisconnect in options.h , removed the #warning... in usbdrv.h, changed .macro to macro .endm to endm and then... only one error last: Building configuration: rcu - Release Updating build tree... 33 file(s) deleted. Updating build tree......
by icefire
Mon Dec 24, 2007 12:59 pm
Forum: V-USB
Topic: IAR AVR build error with new usbdrv lib 2007-12-01
Replies: 5
Views: 8789

IAR AVR build error with new usbdrv lib 2007-12-01

I try to build ppm RC to usb interface with the new released usbdrv 2007-12-01 and get following errors: Building configuration: rcu - Release Updating build tree... 36 file(s) deleted. Updating build tree... in_adc.c Warning[Pe047]: incompatible redefinition of macro "usbDeviceConnect" (d...