Welcome! Log In Create A New Profile

Advanced

Marlin RC7 wont compile if sd card is enabled

Posted by svalsorim 
Marlin RC7 wont compile if sd card is enabled
September 05, 2016 02:47PM
Just downloaded new Marlin after few years on my custom 3d printer and i cant enable sd support, if i do it throws this:

Arduino: 1.6.8 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Users\xxxxx\AppData\Local\Temp\ccQEJBsy.ltrans0.ltrans.o: In function `process_next_command()':

ccQEJBsy.ltrans0.osad smiley.text+0xf06): relocation truncated to fit: R_AVR_7_PCREL against `no symbol'

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.


What am I missing?
Re: Marlin RC7 wont compile if sd card is enabled
September 05, 2016 04:41PM
It kind of sounds like you just replaced the Configuration.h file with you old Configuration.h file. If so, that will cause problems. Can you use Notepad++ or another visual diff program to cross your settings over to the new format?
Re: Marlin RC7 wont compile if sd card is enabled
September 20, 2016 04:36AM
It's a linker issue. Most likely the specific problem is caused by the large-ish switch statement in `process_next_command` combined with the compiler doing code relocation and using "relative jumps."

Although 1.1.0-RC7 fails to compile, the current RCBugFix branch seems to not have this issue.


|
| Lead Developer of Marlin Firmware
| Help support my work at Patreon and Elsewhere.
|
Sorry, only registered users may post in this forum.

Click here to login