added a new target to my microtouch Makefile

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
mtbf0
 
Posts: 1645
Joined: Sat Nov 10, 2007 12:59 am

added a new target to my microtouch Makefile

Post by mtbf0 »

i finally got around to playing with my microtouch and the first thing i did after getting something to compile was to add a new target to my the Makefile so that i could program the thing using the bootloader. just stuck the following on at the end.

Code: Select all

boot: $(TARGET).hex
        avrdude -p m32u4 -P /dev/ttyACM0 -c avr109 -U flash:w:$(TARGET).hex
also fixed the size target.

Code: Select all

size: $(TARGET)
        @echo
        @avr-size ${TARGET}

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”