-PROG=dragon_jtag
-PORT=usb
+#PROG=-c dragon_jtag -P usb
PMCU=m16
GCCMCU=atmega16
#Fuses for 1MHz:
$(OBJCOPY) -j .text -j .data -O binary $^ $@
flash: bmc.bin
- avrdude -v -c $(PROG) -P $(PORT) -p $(PMCU) -U flash:w:$^
+ avrdude -v $(PROG) -p $(PMCU) -U flash:w:$^
debug: bmc bmc.bin
setsid avarice -g -D :4242