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

    Little help to build rrf3

    Scheduled Pinned Locked Moved
    Firmware developers
    3
    23
    1.1k
    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.
    • seraserundefined
      seraser
      last edited by seraser

      Hello, I am stuck trying compiling rrf3 using this guide:

      https://github.com/Duet3D/RepRapFirmware/blob/dev/BuildInstructions.md

      My problem is point 4 and 5 of the guide I dont know how to do.

      Thank you.

      Screenshot_20201122-174508.jpg

      1 Reply Last reply Reply Quote 0
      • oliofundefined
        oliof
        last edited by oliof

        These are the latest build instructions: https://github.com/Duet3D/RepRapFirmware/blob/v3.02-dev/BuildInstructions.md but they don't answer your question because those steps have not been updated.

        This guide to modifying the PATH environment variable seems to be comprehensive: https://www.opentechguides.com/how-to/article/windows-10/113/windows-10-set-path.html

        The equivalent to the which command in Windows 10 Powershell (version 3 and later) is Get-Command (with -CommandType Application to avoid listing Powershell-internal implementations, and filtered just to return a path if the command is found):

        PS C:\Users\oliof> (Get-Command -CommandType Application make).Path
        C:\Program Files\GNU ARM Eclipse\Build Tools\2.6-201507152002\bin\make.exe
        C:\SysGCC\avr\bin\make.exe
        PS C:\Users\oliof> (Get-Command -CommandType Application rm).Path
        C:\Program Files\GNU ARM Eclipse\Build Tools\2.6-201507152002\bin\rm.exe
        PS C:\Users\oliof>
        

        If you use CMD, the equivalent is where:

        PS C:\Users\oliof> cmd
        Microsoft Windows [Version 10.0.19042.630]
        (c) 2020 Microsoft Corporation. Alle Rechte vorbehalten.
        
        C:\Users\oliof>where rm
        C:\Program Files\GNU ARM Eclipse\Build Tools\2.6-201507152002\bin\rm.exe
        
        C:\Users\oliof>where make
        C:\Program Files\GNU ARM Eclipse\Build Tools\2.6-201507152002\bin\make.exe
        C:\SysGCC\avr\bin\make.exe
        
        C:\Users\oliof>
        

        In my case, make is found twice, but the GNU ARM Eclipse one is the first, so it'll be fine.

        <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

        1 Reply Last reply Reply Quote 1
        • seraserundefined
          seraser
          last edited by seraser

          Thank you for your time and support @oliof very appreciated.

          I try with your info do steps 4 and 5 but Im an totally noob and dont work and <Im very frustated.

          In pics you can see, maybe best choice is wait to @dc42 for a gcode to set max number of motors to free Ram and can run 12864 mini, maybe months or trash this lcd impossible run today.

          path.JPG

          nowhererm.JPG

          1 Reply Last reply Reply Quote 0
          • oliofundefined
            oliof
            last edited by

            if you run

            echo %PATH%

            on the command line prompt, what is the result?

            It is possible you need to restart your computer for the new system path to apply.

            <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

            seraserundefined 1 Reply Last reply Reply Quote 1
            • seraserundefined
              seraser @oliof
              last edited by seraser

              @oliof said in Little help to build rrf3:

              if you run

              echo %PATH%

              on the command line prompt, what is the result?

              It is possible you need to restart your computer for the new system path to apply.

              I think path is fine but no rm or make detected.

              Microsoft Windows [Versión 10.0.17134.1006]
              (c) 2018 Microsoft Corporation. Todos los derechos reservados.

              C:\Users\Óscar>echo %PATH%
              C:\WINDOWS\System32;C:\Program Files (x86)\GNU Tools ARM Embedded\8 2018-q4-major\bin

              C:\Users\Óscar>where rm
              INFORMACIÓN: no se pudo encontrar ningún archivo para los patrones dados.

              C:\Users\Óscar>

              1 Reply Last reply Reply Quote 0
              • oliofundefined
                oliof
                last edited by

                It looks like you did replace PATH to just contain the GNU Tools binary, instead of adding that to the existing paths. That's why where can't be found.

                On my system:

                C:\Users\oliof>where where
                C:\Windows\System32\where.exe
                

                Make sure your PATH variable includes at least
                C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

                Otherwise your windows system will very likely misbehave.

                <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                1 Reply Last reply Reply Quote 1
                • seraserundefined
                  seraser
                  last edited by seraser

                  Thank you @oliof

                  I think my windows is garbage.

                  variables.JPG ![where.JPG](/assets/uploads/files/1606171771132-where.jpgecho.JPGwhere.JPG

                  1 Reply Last reply Reply Quote 0
                  • oliofundefined
                    oliof
                    last edited by

                    ok, that looks better. Now try where rmand where make again.

                    <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                    seraserundefined 1 Reply Last reply Reply Quote 1
                    • seraserundefined
                      seraser @oliof
                      last edited by seraser

                      @oliof same happened no RM results after reboot

                      1 Reply Last reply Reply Quote 0
                      • oliofundefined
                        oliof
                        last edited by

                        Are you absolutely sure you installed the 2018 Q4 gcc cross-compiler from the ARM developer site as outlined in step #1? I.e., what happens if you run cd C:\Program Files (x86)\GNU Tools ARM Embedded\8 2018-q4-major\bin in your command line window?

                        <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                        seraserundefined 1 Reply Last reply Reply Quote 1
                        • dc42undefined
                          dc42 administrators
                          last edited by dc42

                          Your original post indicated that "make" was not found on the path. This file is not part of Eclipse. That's the reason for steps 3, 4 and 5 of https://github.com/Duet3D/RepRapFirmware/blob/dev/BuildInstructions.md. So you can't have executed those 3 steps successfully.

                          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

                          seraserundefined 1 Reply Last reply Reply Quote 0
                          • seraserundefined
                            seraser @oliof
                            last edited by

                            @oliof said in Little help to build rrf3:

                            Are you absolutely sure you installed the 2018 Q4 gcc cross-compiler from the ARM developer site as outlined in step #1? I.e., what happens if you run cd C:\Program Files (x86)\GNU Tools ARM Embedded\8 2018-q4-major\bin in your command line window?

                            For sure 2018 Q4 installed.

                            cd1.JPG

                            cd2.JPG

                            Maybe I need rm.exe and make.exe inside bin folder?

                            Thank you @oliof

                            1 Reply Last reply Reply Quote 0
                            • seraserundefined
                              seraser @dc42
                              last edited by seraser

                              @dc42 said in Little help to build rrf3:

                              Your original post indicated that "make" was not found on the path. This file is not part of Eclipse. That's the reason for steps 3, 4 and 5 of https://github.com/Duet3D/RepRapFirmware/blob/dev/BuildInstructions.md. So you can't have executed those 3 steps successfully.

                              Point 3:Gnu Arm Eclipse is installed fine.

                              Point 4:Path is done fine.

                              Point 5:But no rm or make

                              I cant see rm.exe or make.exe, maybe bad Gnu Arm Eclipse installation? I do it 2 times and same happened.

                              1 Reply Last reply Reply Quote 0
                              • seraserundefined
                                seraser
                                last edited by seraser

                                @oliof @dc42 thank you very much.

                                The problem is gnu arm eclipse is installed in program files due is 64 bits and gnu tools arm is in program files x86 due is 32 bits.

                                So I copy paste bin folder from the first one to the second one and bomm, rm and make is fine and compiled fine CoreNG, yeah.

                                1 Reply Last reply Reply Quote 1
                                • seraserundefined
                                  seraser
                                  last edited by seraser

                                  Well, compiled fine CoreNg, FreeRTOS, RRFLibraries and RepRapFirmware but I cant see Duetcombined.bin, I think set duetwifi is needed but I dont Know in this moment.

                                  And the path to edit active motors to free ram.

                                  Only a little little help is needed.

                                  Thank you.

                                  COMPILADONOSEQUE.JPG

                                  1 Reply Last reply Reply Quote 0
                                  • dc42undefined
                                    dc42 administrators
                                    last edited by dc42

                                    Looks like you have built the legacy Duet configuration, because I see Duet085 in the path in that output window. The build configuration you want will be called DuetNG or Duet 2.

                                    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

                                    seraserundefined 1 Reply Last reply Reply Quote 0
                                    • seraserundefined
                                      seraser @dc42
                                      last edited by seraser

                                      Compile 2.05 branch fine but 3.2beta3.2 have errors and dont compile.

                                      ufff.JPG

                                      ufff2.JPG

                                      1 Reply Last reply Reply Quote 0
                                      • oliofundefined
                                        oliof
                                        last edited by

                                        Try building RepRapFirmware 3.1.1 first

                                        • checkout with the 3.1.1 / 3.1 tags as needed (see BuildInstructions)
                                        • clean all projects
                                        • make sure you have the right Build Configurations selected
                                        • rebuild all projects in the right order

                                        If you managed to build 3.1.1, check out the appropriate latest dev /3.02-dev branches, clean and rebuild all projects again.

                                        <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                                        seraserundefined 1 Reply Last reply Reply Quote 1
                                        • seraserundefined
                                          seraser @oliof
                                          last edited by

                                          @oliof all your instructions done with 3.1.1. but no luck errors appear with right build configurations checked in buildinstructions and clean projects before compile Reprapfirmware.impossible.JPG

                                          1 Reply Last reply Reply Quote 0
                                          • dc42undefined
                                            dc42 administrators
                                            last edited by

                                            I think you are using the wrong branch of the RRFLibraries project. Use the dev branch for RRF 3.1 and later. Likewise, use the dev branch of FreeRTOS.

                                            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

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