I installed the LUFA extension for Atmel Studio 6.1 but I'm running into a problem building the examples:
Error 1 1643 : unknown register name 'r0' in asm
It happens in the wdt_enable() and wdt_disable() asm macro's in wdt.h:
for some reason PHPBB doesn't like me pasting the source code of those macro's here. Probably because of all the backslashes...
My target is atmega32U4. For some reason I suspect this hasn't got much to do with LUFA, rather my build environment, but I have no clue what to do about it..