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 TESTSRC_DIR = test_src/
12 #uisp -dprog=bsd -dlpt=/dev/parport1 --upload if=$(PRG).hex
14 TESTPORT = /dev/ttyUSB1
16 TESTLOG_DIR = testlog/#
18 SPEEDTOOL = host/get_performance.rb
19 SPEEDLOG_DIR = speed_log/
21 SPEEDCMD = performance
25 AUTOASM_DIR = autoasm/#
30 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)
31 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)
33 override LDFLAGS = -gdwarf-2 -Wl,-Map,
34 override ASFLAGS = -mmcu=$(MCU_TARGET) -Wa,--gdwarf-2
36 SIZESTAT_FILE = sizestats.txt
43 GET_TEST = host/get_test.rb
45 MAKE2GRAPH = ~/bin/make2graph.rb