v2-dev Linking error
jeanmarc_Scaled last edited by
Today I decided it was time I moved up to v2-dev from 1.21. We use modifications to the firmware (still with a few kinks we need to iron out), so I need to have a working Eclipse setup.
Using 1.12 I was able to compile for SAM4E8E, but having switched to v2-dev I am getting stuck at the linker stage. I have checked out the v2-dev branch of CoreNG and succesfully built this and FreeRTOS. When I try to build RepRapFirmware, I get:
makefile:68: recipe for target 'Duet2CombinedFirmware.elf' failed
This error is buried among several warnings such as:
warning: undefined reference to `SmartDrivers::SetDriverMode(unsigned int, unsigned int)'
Has anyone come across this and can point me in the direction of a fix?
(Full console log is copied here.)
If you are using the latest Github source then the stepper driver files have been moved into a new folder called StepperDrivers, and it sounds as though the files within are not being compiled. Try right-clicking on the project in Eclipse and select Refresh.
Caution: this source code is still experimental and I haven't even released it as a beta yet. If you want something more stable, download the source code as a zip file from https://github.com/dc42/RepRapFirmware/releases/tag/2.01beta2.
jeanmarc_Scaled last edited by jeanmarc_Scaled
@dc42 thank you for the information. I think I will checkout the version matching release 2.01 (d0505c8) as you suggest, then merge recent updates once the code has stabilised.
EDIT: I can confirm d0505... compiles. Thank you for your help.