diff --git a/ports/avr/Makefile b/ports/avr/Makefile index c5f214b..7fdb5c4 100644 --- a/ports/avr/Makefile +++ b/ports/avr/Makefile @@ -112,7 +112,7 @@ clean: # Send to STK500 program : $(BUILD_DIR)/$(app).hex - $(SIZE) -C $(BUILD_DIR)/$(app).elf + $(SIZE) -C --mcu=$(PART) $(BUILD_DIR)/$(app).elf $(UISP) -dprog=stk500 -dserial=$(UISP_DEV) -dpart=$(PART) --erase --upload --verify if=$(BUILD_DIR)/$(app).hex doxygen: