浏览代码

makefile: use /etc/avrdude/avrdude.conf on linux

No need to look for arduino specific avrdude configuration
as distributions ship their own avrdude.conf file that
is compatible with arduino.
Richard Marko 10 年前
父节点
当前提交
0e064357f4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/Makefile

+ 1
- 1
Marlin/Makefile 查看文件

@@ -350,7 +350,7 @@ LDFLAGS = -lm
350 350
 AVRDUDE_PORT = $(UPLOAD_PORT)
351 351
 AVRDUDE_WRITE_FLASH = -Uflash:w:$(BUILD_DIR)/$(TARGET).hex:i
352 352
 ifeq ($(shell uname -s), Linux)
353
-AVRDUDE_CONF = $(ARDUINO_INSTALL_DIR)/hardware/tools/avrdude.conf
353
+AVRDUDE_CONF = /etc/avrdude/avrdude.conf
354 354
 else
355 355
 AVRDUDE_CONF = $(ARDUINO_INSTALL_DIR)/hardware/tools/avr/etc/avrdude.conf
356 356
 endif

正在加载...
取消
保存