Page 1 of 1

"invalid suffix "name" on integer constant"

Posted: Wed Jul 21, 2010 10:32 pm
by PaulBartell
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

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

Posted: Wed Jul 21, 2010 10:56 pm
by PaulBartell
Sorry. I typed "name" in my usbconfig.h file accidentally.. too much multitasking I guess.