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
11 TESTBIN_DIR = test_bin/
12 TESTSRC_DIR = test_src/
13 #uisp -dprog=bsd -dlpt=/dev/parport1 --upload if=$(PRG).hex
15 TESTPORT = /dev/ttyUSB1
17 TESTLOG_DIR = testlog/#
19 SPEEDTOOL = host/get_performance.rb
20 SPEEDLOG_DIR = speed_log/
22 SPEEDCMD = performance
26 AUTOASM_DIR = autoasm/#
31 override CFLAGS_A = -MMD -MF$(DEP_DIR)$(patsubst %.o,%.d,$(notdir $(1))) -I. -Itest_src -gdwarf-2 -pedantic -std=$(CSTD) -Wall -Wstrict-prototypes $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
32 override CFLAGS = -MMD -MF$(DEP_DIR)$(patsubst %.o,%.d,$(notdir $@)) -I. -Itest_src -gdwarf-2 -pedantic -std=$(CSTD) -Wall -Wstrict-prototypes $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
34 override LDFLAGS = -gdwarf-2 -Wl,-Map,
35 override ASFLAGS = -mmcu=$(MCU_TARGET) -Wa,--gdwarf-2
37 SIZESTAT_FILE = sizestats.txt
44 GET_TEST = host/get_test.rb
46 MAKE2GRAPH = ~/bin/make2graph.rb