4 DEFS = -D$(call uc, $(MCU_TARGET))
5 FLASHCMD = avrdude -p $(MCU_TARGET) -P /dev/ttyUSB0 -c avr911 -U flash:w:# no space at the end
6 #FLASHCMD = avrdude -p $(MCU_TARGET) -c usbasp -U flash:w:# no space at the end
9 TESTBIN_DIR = test_bin/
10 TESTSRC_DIR = test_src/
11 #uisp -dprog=bsd -dlpt=/dev/parport1 --upload if=$(PRG).hex
13 TESTPORT = /dev/ttyUSB1
15 TESTLOG_DIR = testlog/
22 override CFLAGS = -MMD -MF$(DEP_DIR)$(patsubst %.c,%.d,$(patsubst $(TESTSRC_DIR)%,%,$<)) -I. -gdwarf-2 -pedantic -std=$(CSTD) -Wall -Wstrict-prototypes $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
24 override LDFLAGS = -gdwarf-2 -Wl,-Map,
25 override ASFLAGS = -mmcu=$(MCU_TARGET) -Wa,--gdwarf-2
27 SIZESTAT_FILE = sizestats.txt
33 GET_TEST = host/get_test.rb
35 MAKE2GRAPH = ~/bin/make2graph.rb