Hi,
I am tyring to use the LUFA serial to usb library I basically have an unbootloaded Arduino 2560 - and I dont want to use any bootloader at this stage for the mega16U2 that takes care of serial to usb.
I have downloaded the files from LUFA, and removed everything not to do with that project.
I get these errors:
../LUFA-120730/Projects/USBtoSerial/../../LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h: In function 'USB_PLL_On':
../LUFA-120730/Projects/USBtoSerial/../../LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h:334: error: 'USB_PLL_PSC' undeclared (first use in this function)
../LUFA-120730/Projects/USBtoSerial/../../LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h:334: error: (Each undeclared identifier is reported only once
../LUFA-120730/Projects/USBtoSerial/../../LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h:334: error: for each function it appears in.)
In file included from ../LUFA-120730/Projects/USBtoSerial/Descriptors.c:38:
../LUFA-120730/Projects/USBtoSerial/Descriptors.h: At top level:
../LUFA-120730/Projects/USBtoSerial/Descriptors.h:83: error: conflicting types for 'CALLBACK_USB_GetDescriptor'
../LUFA-120730/Projects/USBtoSerial/../../LUFA/Drivers/USB/Core/AVR8/../Device.h:133: error: previous declaration of 'CALLBACK_USB_GetDescriptor' was here
../LUFA-120730/Projects/USBtoSerial/Descriptors.c:55: error: 'FIXED_CONTROL_ENDPOINT_SIZE' undeclared here (not in a function)
../LUFA-120730/Projects/USBtoSerial/Descriptors.c:65: error: 'FIXED_NUM_CONFIGURATIONS' undeclared here (not in a function)
../LUFA-120730/Projects/USBtoSerial/Descriptors.c:217: error: conflicting types for 'CALLBACK_USB_GetDescriptor'
../LUFA-120730/Projects/USBtoSerial/../../LUFA/Drivers/USB/Core/AVR8/../Device.h:133: error: previous declaration of 'CALLBACK_USB_GetDescriptor' was here
I dont understand why it says these things are undefined. Has anyone done this before?