-
-FLASHCMD = avrdude -p $(MCU_TARGET) -P /dev/ttyUSB0 -c avr911 -U flash:w:$(PRG).hex
-# -U eeprom:w:$(PRG)_eeprom.hex
+PROGRAMMER = stk500v2 # avr911
+DEFS = -D$(call uc, $(MCU_TARGET))
+FLASHCMD = avrdude -p $(MCU_TARGET) -P /dev/ttyUSB0 -c $(PROGRAMMER) -U flash:w:# no space at the end
+#FLASHCMD = avrdude -p $(MCU_TARGET) -c usbasp -U flash:w:# no space at the end
+DEP_DIR = deps/
+BIN_DIR = bin/
+TESTBIN_DIR = test_bin/
+TESTSRC_DIR = test_src/