avravr-studio5

AVR Studio build error 255


I am running through a tutorial for making a LUFA, VirtualSerial project with AVR studio 5. When I clean the project no errors are shown but when I build I get the following error message:

    -f was unexpected at this time.
    make: *** [sizebefore] Error 255

Has anyone else had this message and knows what to do?

Thanks


Solution

  • While not a answer I have found a solution! installation of winAVR toolchain. I read somewhere that LUFA needs the winAVR toolchain, which is not included in Atmel studio 5. I cannot find the link, but it solved the issue.