-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
When I compile with MCU=at90usb1286 I see the following error:
[GCC] : Compiling C file "Joystick.c"
avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=at90usb1286 -fshort-enums -fno-inline-small-functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bitfields -ffunction-sections -I. -DARCH=ARCH_AVR8 -DF_CPU=16000000UL -mrelax -fno-jump-tables -x c -Os -std=gnu99 -Wstrict-prototypes -DUSE_LUFA_CONFIG_HEADER -Iinclude/ -I. -Ilufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BOARD_NONE -DF_USB=16000000UL -MMD -MP -MF obj/Joystick.d src/Joystick.c -o obj/Joystick.o
In file included from include/Joystick.h:42:0,
from src/Joystick.c:21:
include/avr.h: In function ‘USART_Init’:
include/avr.h:27:5: error: ‘UCSR1D’ undeclared (first use in this function)
UCSR1D = 0; // no cts, no rts
^
include/avr.h:27:5: note: each undeclared identifier is reported only once for each function it appears in
lufa/LUFA/Build/DMBS/DMBS/gcc.mk:213: recipe for target 'obj/Joystick.o' failed
make: *** [obj/Joystick.o] Error 1
It compiles fine with MCU=atmega16u2. Anyone else get this problem before?
Metadata
Metadata
Assignees
Labels
No labels