lots and lots of bugfixes after running on reals hardware for the first time
This commit is contained in:
4
Makefile
4
Makefile
@ -28,7 +28,7 @@
|
||||
# FUSES ........ Parameters for avrdude to flash the fuses appropriately.
|
||||
|
||||
DEVICE = atmega168
|
||||
CLOCK = 20000000
|
||||
CLOCK = 16000000
|
||||
PROGRAMMER = -c avrisp2 -P usb
|
||||
OBJECTS = main.o motion_control.o gcode.o spindle_control.o wiring_serial.o serial_protocol.o stepper.o geometry.o
|
||||
FUSES = -U hfuse:w:0xd9:m -U lfuse:w:0x24:m
|
||||
@ -77,7 +77,7 @@ main.elf: $(OBJECTS)
|
||||
grbl.hex: main.elf
|
||||
rm -f grbl.hex
|
||||
avr-objcopy -j .text -j .data -O ihex main.elf grbl.hex
|
||||
avr-size grbl.hex *.o
|
||||
avr-size *.hex *.elf *.o
|
||||
# If you have an EEPROM section, you must also create a hex file for the
|
||||
# EEPROM and add it to the "flash" target.
|
||||
|
||||
|
Reference in New Issue
Block a user