arduino / arduino/ArduinoCore-avr
arduino-usbserial: conflicting CALLBACK_USB_GetDescriptor [imported]
- Dominant language
- C
- Stars
- 1.5k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
This is [Issue 886](http://code.google.com/p/arduino/issues/detail?id=886) moved from a Google Code project.
Added by 2012-04-13T20:49:25.000Z by [hans.sc...@gmail.com](http://code.google.com/u/116198662861373906544/).
Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Defect, Priority-Medium
### Original description
**What steps will reproduce the problem?**
1. Install LUFA101122
2. cd hardware/arduino/firmwares/arduino-usbserial
3. make
What is the expected output?
A file: Arduino-usbserial-mega.hex
What do you see instead?
avr-gcc (GCC) 4.5.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiling C: Arduino-usbserial.c
avr-gcc -c -mmcu=atmega8u2 -I. -gdwarf-2 -DF_CPU=16000000UL -DF_CLOCK=16000000UL -DARDUINO_MODEL_PID=0x0001 -DBOARD=BOARD_USER -D USB_DEVICE_ONLY -D FIXED_CONTROL_ENDPOINT_SIZE=8 -D FIXED_NUM_CONFIGURATIONS=1 -D USE_FLASH_DESCRIPTORS -D INTERRUPT_CONTROL_ENDPOINT -D DEVICE_STATE_AS_GPIOR=0 -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DAVR_RESET_LINE_PORT="PORTD" -DAVR_RESET_LINE_DDR="DDRD" -DAVR_RESET_LINE_MASK="(1 << 7)" -DTX_RX_LED_PULSE_MS=3 -DPING_PONG_LED_PULSE_MS=100 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=./Arduino-usbserial.lst -I../../ -std=gnu99 -Wundef -MMD -MP -MF .dep/Arduino-usbserial.o.d Arduino-usbserial.c -o Arduino-usbserial.o
In file included from Arduino-usbserial.h:45:0,
from Arduino-usbserial.c:37:
Descriptors.h:84:12: error: conflicting types for 'CALLBACK_USB_GetDescriptor'
./LUFA/Drivers/USB/HighLevel/../LowLevel/Device.h:205:13: note: previous declaration of 'CALLBACK_USB_GetDescriptor' was here
In file included from Arduino-usbserial.h:50:0,
from Arduino-usbserial.c:37:
./LUFA/Drivers/Board/LEDs.h:120:18: warning: "BOARD_USBFOO" is not defined
make: **\* [Arduino-usbserial.o] Error 1
**What version of the Arduino software are you using? On what operating**
**system? Which Arduino board are you using?**
Version: git://github.com/arduino/Arduino.git
Linux, Ubuntu
**Please provide any additional information below.**
I have tried to compile with LUFA-120219 but it gave even more errors.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.