27 lines
457 B
Makefile
27 lines
457 B
Makefile
#
|
|
# Set toolchain.
|
|
# AVR-GCC and AVRDUDE need to be installed
|
|
#
|
|
CC = avr-gcc
|
|
OBJ2HEX = avr-objcopy
|
|
AVRDUDE = avrdude
|
|
REMOVE = rm -f
|
|
|
|
#
|
|
# You probably want to change this to your own programming device.
|
|
# Some commonly used examples shown below.
|
|
#
|
|
|
|
# STK500
|
|
PGMDEV = stk500v2
|
|
PGMOPT = -P /dev/ttyS0
|
|
|
|
|
|
# AVR ISP mkII
|
|
#PGMDEV = avrispmkII
|
|
#PGMOPT = -P usb # Try -B 10 in case of programming errors
|
|
|
|
# Pony-STK200
|
|
#PGMDEV = pony-stk200
|
|
#PGMOPT = -E noreset
|