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.
This commit is contained in:
parent
44d2c5ef88
commit
dde0e9ee0a
@ -332,7 +332,7 @@ endif
|
||||
|
||||
ifeq ($(RELOC_WORKAROUND), 1)
|
||||
LD_PREFIX=-nodefaultlibs
|
||||
LD_SUFFIX=-lm -lgcc -lc -lgcc
|
||||
LD_SUFFIX=-lm -lgcc -lc -lgcc -L$(ARDUINO_INSTALL_DIR)/hardware/tools/avr/avr/lib/avr6 -l$(MCU)
|
||||
endif
|
||||
|
||||
#Check for Arduino 1.0.0 or higher and use the correct source files for that version
|
||||
|
Loading…
Reference in New Issue
Block a user