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 SPEEDLOG_DIR = speed_log/
23 AUTOASM_DIR = autoasm/
28 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)
29 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)
31 override LDFLAGS = -gdwarf-2 -Wl,-Map,
32 override ASFLAGS = -mmcu=$(MCU_TARGET) -Wa,--gdwarf-2
34 SIZESTAT_FILE = sizestats.txt
41 GET_TEST = host/get_test.rb
42 GET_PERFORMANCE = host/get_performance.rb
44 MAKE2GRAPH = ~/bin/make2graph.rb