[INFO] : Begin compilation of project "Joystick"...
avr-gcc.exe (AVR_8_bit_GNU_Toolchain_3.6.1_1750) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[GCC] : Compiling C file "Joystick.c"
avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -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 -IConfig/ -I. -I../../../../LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BOARD_UNO -DF_USB=16000000UL -MMD -MP -MF obj/Joystick.d Joystick.c -o obj/Joystick.o
In file included from ../../../../LUFA/../LUFA/Drivers/Board/Joystick.h:114:0,
from Joystick.h:49,
from Joystick.c:37:
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Joystick.h: In function 'Joystick_Init':
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Joystick.h:100:5: error: 'DDRE' undeclared (first use in this function)
DDRE &= ~JOY_EMASK;
^
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Joystick.h:100:5: note: each undeclared identifier is reported only once for each function it appears in
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Joystick.h:103:5: error: 'PORTE' undeclared (first use in this function)
PORTE |= JOY_EMASK;
^
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Joystick.h: In function 'Joystick_Disable':
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Joystick.h:109:5: error: 'DDRE' undeclared (first use in this function)
DDRE &= ~JOY_EMASK;
^
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Joystick.h:112:5: error: 'PORTE' undeclared (first use in this function)
PORTE &= ~JOY_EMASK;
^
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Joystick.h: In function 'Joystick_GetStatus':
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Joystick.h:118:56: error: 'PINE' undeclared (first use in this function)
return (((uint8_t)~PINB & JOY_BMASK) | (((uint8_t)~PINE & JOY_EMASK) >> JOY_PORTE_MASK_SHIFT));
^
In file included from ../../../../LUFA/../LUFA/Drivers/Board/Buttons.h:102:0,
from Joystick.h:51,
from Joystick.c:37:
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Buttons.h: In function 'Buttons_Init':
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Buttons.h:78:5: error: 'DDRE' undeclared (first use in this function)
DDRE &= ~BUTTONS_BUTTON1;
^
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Buttons.h:79:5: error: 'PORTE' undeclared (first use in this function)
PORTE |= BUTTONS_BUTTON1;
^
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Buttons.h: In function 'Buttons_Disable':
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Buttons.h:84:5: error: 'DDRE' undeclared (first use in this function)
DDRE &= ~BUTTONS_BUTTON1;
^
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Buttons.h:85:5: error: 'PORTE' undeclared (first use in this function)
PORTE &= ~BUTTONS_BUTTON1;
^
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Buttons.h: In function 'Buttons_GetStatus':
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Buttons.h:91:14: error: 'PINE' undeclared (first use in this function)
return ((PINE & BUTTONS_BUTTON1) ^ BUTTONS_BUTTON1);
^
In file included from ../../../../LUFA/../LUFA/Drivers/Board/Joystick.h:114:0,
from Joystick.h:49,
from Joystick.c:37:
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Joystick.h: In function 'Joystick_GetStatus':
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Joystick.h:119:4: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from ../../../../LUFA/../LUFA/Drivers/Board/Buttons.h:102:0,
from Joystick.h:51,
from Joystick.c:37:
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Buttons.h: In function 'Buttons_GetStatus':
../../../../LUFA/../LUFA/Drivers/Board/AVR8/UNO/Buttons.h:92:4: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make: *** [obj/Joystick.o] Error 1