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