Merge pull request #120 from tmpvar/configurable-makefile
Add support for overriding DEVICE and PROGRAMMER
This commit is contained in:
commit
7eb85de821
4
Makefile
4
Makefile
@ -27,9 +27,9 @@
|
||||
# is connected.
|
||||
# FUSES ........ Parameters for avrdude to flash the fuses appropriately.
|
||||
|
||||
DEVICE = atmega328p
|
||||
DEVICE ?= atmega328p
|
||||
CLOCK = 16000000
|
||||
PROGRAMMER = -c avrisp2 -P usb
|
||||
PROGRAMMER ?= -c avrisp2 -P usb
|
||||
OBJECTS = main.o motion_control.o gcode.o spindle_control.o serial.o protocol.o stepper.o \
|
||||
eeprom.o settings.o planner.o nuts_bolts.o limits.o print.o
|
||||
# FUSES = -U hfuse:w:0xd9:m -U lfuse:w:0x24:m
|
||||
|
Loading…
Reference in New Issue
Block a user