X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/99c447c754e0b238aca99ac772b5dabb78fc8b48..0fdc1a2bc66f97048b94b967e80cd294189fca62:/Projects/Benito/makefile diff --git a/Projects/Benito/makefile b/Projects/Benito/makefile index 227012b16..d598122e4 100644 --- a/Projects/Benito/makefile +++ b/Projects/Benito/makefile @@ -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.) SRC = $(TARGET).c \ Descriptors.c \ + Lib/RingBuff.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/DevChapter9.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Host.c \ @@ -192,9 +193,9 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) -CDEFS += -DAVR_RESET_LINE_PORT="PORTB" -CDEFS += -DAVR_RESET_LINE_DDR="DDRB" -CDEFS += -DAVR_RESET_LINE_MASK="(1 << 0)" +CDEFS += -DAVR_RESET_LINE_PORT="PORTD" +CDEFS += -DAVR_RESET_LINE_DDR="DDRD" +CDEFS += -DAVR_RESET_LINE_MASK="(1 << 4)" CDEFS += -DAVR_RESET_PULSE_MS=10 CDEFS += -DTX_RX_LED_PULSE_MS=30 CDEFS += -DPING_PONG_LED_PULSE_MS=100 @@ -223,9 +224,9 @@ CFLAGS += -O$(OPT) CFLAGS += -funsigned-char CFLAGS += -funsigned-bitfields CFLAGS += -ffunction-sections +CFLAGS += -fno-inline-small-functions CFLAGS += -fpack-struct CFLAGS += -fshort-enums -CFLAGS += -finline-limit=20 CFLAGS += -Wall CFLAGS += -Wstrict-prototypes CFLAGS += -Wundef