Hi user529,
ich hab nen Fehler in deinem Makefile gefunden:
statt
Code:
# Program the device.
program: $(TARGET).hex $(TARGET).eep
$(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)
das stehen weil du ja mit PonyProg programmierst:
Code:
# Programming support using ponyprog. Settings and variables.
#PONYPROG= ponyprog2000.exe
PONYPROG= C:\Programme\ponyprog2000\ponyprog2000.exe
# Program the device.
program: $(TARGET).hex $(TARGET).eep
echo -e "SELECTDEVICE $(MCU)\nLOAD-PROG $(TARGET).hex\n#LOAD-DATA $(TARGET).eep\nWRITE-PROG" >isp.e2s
$(PONYPROG) isp.e2s
Gruß Michi
Lesezeichen