• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

v2-dev Linking error

Scheduled Pinned Locked Moved
Firmware developers
2
3
614
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    jeanmarc_Scaled
    last edited by 20 Jul 2018, 14:08

    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.)

    Jean-Marc Giacalone
    Scaled

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 20 Jul 2018, 16:44

      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.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      1 Reply Last reply Reply Quote 0
      • undefined
        jeanmarc_Scaled
        last edited by jeanmarc_Scaled 20 Jul 2018, 17:57

        @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.

        Jean-Marc Giacalone
        Scaled

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA