You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
The at90usb1286 support is from the original project. You'll need to consult the datasheet for that MCU in order to rewrite the serial receive code, as the registers are different.
When I compile with MCU=at90usb1286 I see the following error:
It compiles fine with MCU=atmega16u2. Anyone else get this problem before?
The text was updated successfully, but these errors were encountered: