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

    Missing SAM4E8E_RTOS configurations in CoreNG dev branch

    Scheduled Pinned Locked Moved
    Firmware developers
    2
    4
    360
    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.
    • poofjuniorundefined
      poofjunior
      last edited by

      Hi there,

      It looks like the CoreNG dev branch is missing all the *_RTOS configurations on the dev branch. Going back through the commits, it looks like that may have happened here:

      https://github.com/dc42/CoreNG/commit/0cc6f90979c6f8b2afaccbf79b2a35791d4a4925#diff-cc687ffe64ec44df5d4bcd9deaf1a518

      Any shot someone with Push access can add them back?

      Finally, I encountered this issue when I was getting compilation errors while compiling CoreNG on the master branch. When I switched to the dev branch, I noticed that all the *_RTOS configurations weren't there.

      Thanks for taking a look!

      0 dc42 committed to dc42/CoreNG
      Common RTOS/non-RTOS builds
      
      Changed API so that we can use the same builds for both RTOS and non-RTOS projects
      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by dc42

        CoreNG no longer has separate builds for RTOS and non-RTOS systems. One build does for both, for a given processor and board. The API to CoreNG changed to make this possible.

        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
        • poofjuniorundefined
          poofjunior
          last edited by

          Gotcha; thanks for the update.

          In that case, I'm having a compilation issue within Eclipse at the linking step.

          arm-none-eabi-gcc: error: /home/poofjunior/Applications/eclipse/eclipse-workspaces/RepRapFirmware/CoreNG/SAM4E8E/cores/arduino/syscalls.o: No such file or directory
          makefile:70: recipe for target 'Duet2CombinedFirmware.elf' failed
          make: *** [Duet2CombinedFirmware.elf] Error 1
          "make -j12 all" terminated with exit code 2. Build might be incomplete.
          

          My setup is:

          1. CoreNG, FreeRTOS, RepRapFirmware, and RRFLibraries are opened in a single workspace.
          2. Branches and Configurations are:
            CoreNG: dev: SAM4E8E,
            FreeRTOS: master: SAM4E,
            RepRapFirmware: dev: Duet2_RTOS,
            RRFLibraries: dev: SAM4E_RTOS,
          3. I downloaded DuetWifiSocketServer and symlinked MessageFormats.h it to the src/Networking directory in the RepRapFirmware project.
          4. My ArmGccPath is set to point to a download of gcc-arm-none-eabi-8-2018-q4-major
          5. I built CoreNG, FreeRTOS, and RRFLibraries first. Then I cleaned and built RepRapFirmware, which is where I'm at now.

          For reference, my target board is a Duet Ethernet.

          I would much appreciate any pointers in the right direction; thanks!

          1 Reply Last reply Reply Quote 0
          • poofjuniorundefined
            poofjunior
            last edited by

            Whoop--I have fixed my own problem. These files were missing because the projects were not inside of the workspace folder created by Eclipse but instead located elsewhere, so they were compiling individually without issue but couldn't link.

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