Преглед на файлове

Add missing library in Makefile

When using RELOC_WORKAROUND library needs to be linked explicitly, otherwise
eeprom functions are not available.

Thanks to @rfjakob for finding the crucial hint to solve this issue.
lumbric (antares) преди 7 години
родител
ревизия
dde0e9ee0a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      Marlin/Makefile

+ 1
- 1
Marlin/Makefile Целия файл

@@ -332,7 +332,7 @@ endif
332 332
 
333 333
 ifeq ($(RELOC_WORKAROUND), 1)
334 334
 LD_PREFIX=-nodefaultlibs
335
-LD_SUFFIX=-lm -lgcc -lc -lgcc
335
+LD_SUFFIX=-lm -lgcc -lc -lgcc -L$(ARDUINO_INSTALL_DIR)/hardware/tools/avr/avr/lib/avr6 -l$(MCU)
336 336
 endif
337 337
 
338 338
 #Check for Arduino 1.0.0 or higher and use the correct source files for that version

Loading…
Отказ
Запис