Changed HIDParser to only zero out important values in the Parsed HID Report Item...
[pub/USBasp.git] / Projects / Benito / makefile
index 88c62e9..d598122 100644 (file)
@@ -66,7 +66,7 @@ MCU = at90usb162
 # Target board (see library "Board Types" documentation, USER or blank for projects not requiring\r
 # LUFA board drivers). If USER is selected, put custom board drivers in a directory called \r
 # "Board" inside the application directory.\r
-BOARD  = USBKEY\r
+BOARD  = USER\r
 \r
 \r
 # Processor frequency.\r
@@ -134,6 +134,7 @@ LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENAB
 # List C source files here. (C dependencies are automatically generated.)\r
 SRC = $(TARGET).c                                                 \\r
          Descriptors.c                                               \\r
+         Lib/RingBuff.c                                              \\r
          $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/DevChapter9.c        \\r
          $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c           \\r
          $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Host.c               \\r
@@ -192,9 +193,9 @@ CSTANDARD = -std=gnu99
 \r
 # Place -D or -U options here for C sources\r
 CDEFS  = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS)\r
-CDEFS += -DAVR_RESET_LINE_PORT="PORTB"\r
-CDEFS += -DAVR_RESET_LINE_DDR="DDRB"\r
-CDEFS += -DAVR_RESET_LINE_MASK="(1 << 0)"\r
+CDEFS += -DAVR_RESET_LINE_PORT="PORTD"\r
+CDEFS += -DAVR_RESET_LINE_DDR="DDRD"\r
+CDEFS += -DAVR_RESET_LINE_MASK="(1 << 4)"\r
 CDEFS += -DAVR_RESET_PULSE_MS=10\r
 CDEFS += -DTX_RX_LED_PULSE_MS=30\r
 CDEFS += -DPING_PONG_LED_PULSE_MS=100\r
@@ -223,9 +224,9 @@ CFLAGS += -O$(OPT)
 CFLAGS += -funsigned-char\r
 CFLAGS += -funsigned-bitfields\r
 CFLAGS += -ffunction-sections\r
+CFLAGS += -fno-inline-small-functions\r
 CFLAGS += -fpack-struct\r
 CFLAGS += -fshort-enums\r
-CFLAGS += -finline-limit=20\r
 CFLAGS += -Wall\r
 CFLAGS += -Wstrict-prototypes\r
 CFLAGS += -Wundef\r