"invalid suffix "name" on integer constant"

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
PaulBartell

"invalid suffix "name" on integer constant"

Post by PaulBartell » Wed Jul 21, 2010 10:32 pm

Im trying to port AVR-HID http://www.marktmarshall.com/projects/avr-hid to the atMega328p. With the last release on the 15th, the interrupt incompatibilities are fixed, but now im having other compile errors:


paulb@aslan:~/avr/AVR-HID-6-10/firmware$ make hex
avr-gcc -Wall -Os -DF_CPU=16000000 -Iusbdrv -I. -DDEBUG_LEVEL=0 -mmcu=atmega328p -c usbdrv/usbdrv.c -o usbdrv/usbdrv.o
usbdrv/usbdrv.c:65:5: error: invalid suffix "name" on integer constant
usbdrv/usbdrv.c:322:5: error: invalid suffix "name" on integer constant
make: *** [usbdrv/usbdrv.o] Error 1

Perhaps someone could shed some light on this or send me in the right direction. If you need a copy of the code, I can post it up.

Thanks

PaulBartell

Re: "invalid suffix "name" on integer constant"

Post by PaulBartell » Wed Jul 21, 2010 10:56 pm

Sorry. I typed "name" in my usbconfig.h file accidentally.. too much multitasking I guess.

Post Reply