I am building the LUFA bootloader (lufa-LUFA-210130.zip file downloaded from here). I am getting the following error when I use make all
:
BootloaderPrinter.c: In function 'ParseIntelHEXByte':
BootloaderPrinter.c:301:48: error: expected expression before ')' token
if (HEXParser.CurrAddress >= BOOT_START_ADDR)
I can't see any error in this line. I have changed these parameters in the make file:
MCU = atmega16u2
ARCH = AVR8
BOARD = UNO
F_CPU = 16000000
I want to configure my Arduino as a "generic text printer". For this purpose I think my first step should be to compile the LUFA bootloader in the printer directory of the LUFA sources.