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 @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
                                    • seraserundefined
                                      seraser @dc42
                                      last edited by

                                      @dc42 I use this files:

                                      branch.JPG

                                      Changed toFreeRTOS dev branch all compiled and clean before compile Reprapfirmware and same errors.

                                      This is my build configuration of all projects:

                                      CoreNG SAM4E8E
                                      FreeRTOS SAM4E
                                      RRFLibraries SAM4E_RTOS
                                      Reprapfirmware Duet2_RTOS

                                      Are fine RRFLibraries and Reprapfirmware with RTOS added?

                                      Thank you

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

                                        Finally compiled latest version 3.2beta3.2 with only 5 motors active so great for me after few days, thank you @oliof and @dc42

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

                                          Glad you could figure it out!

                                          <>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
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA