X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/39ac72f2d12a9c62b2e876de4eee6c34a864ff74..b35f93a372d8c872aebab4e3626bfc58d85b84d7:/Projects/Benito/makefile diff --git a/Projects/Benito/makefile b/Projects/Benito/makefile index 839b7d731..9b19f0da2 100644 --- a/Projects/Benito/makefile +++ b/Projects/Benito/makefile @@ -63,6 +63,10 @@ MCU = atmega32u2 +# Target architecture (see library "Board Types" documentation). +ARCH = AVR8 + + # Target board (see library "Board Types" documentation, NONE for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. @@ -131,7 +135,7 @@ LUFA_OPTS += -D AVR_RESET_LINE_MASK="(1 << 4)" LUFA_OPTS += -D AVR_RESET_PULSE_MS=10 LUFA_OPTS += -D TX_RX_LED_PULSE_MS=30 LUFA_OPTS += -D PING_PONG_LED_PULSE_MS=100 -LUFA_OPTS += -D RECEIVE_BUFFER_FLUSH_MS=20 +LUFA_OPTS += -D RECEIVE_BUFFER_FLUSH_MS=10 # Create the LUFA source path variables by including the LUFA root makefile @@ -190,7 +194,7 @@ CSTANDARD = -std=c99 # Place -D or -U options here for C sources CDEFS = -DF_CPU=$(F_CPU)UL CDEFS += -DF_CLOCK=$(F_CLOCK)UL -CDEFS += -DBOARD=BOARD_$(BOARD) +CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH) CDEFS += $(LUFA_OPTS)