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

Compiling/Building PanelDue Firmware

Scheduled Pinned Locked Moved Solved
PanelDue
5
30
1.3k
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
    R006 @R006
    last edited by 4 Apr 2023, 13:06

    @dc42 qoi.h error resolved by adding that file into that particular folder.
    but now freelistManagment.h file giving error.
    I am building RRF 3.4.4.

    C:\Users\rishita.butala\eclipse-workspace\Firmware\RRFLibraries\src/General/FreelistManager.h:31:33: error: expected initializer before 'Freelist'
    31 | template<size_t Sz> void null Freelist<Sz>::freelist = nullptr;
    | ^~~~~~~~
    C:\Users\rishita.butala\eclipse-workspace\Firmware\RRFLibraries\src/General/FreelistManager.h: In static member function 'static void
    FreelistManager::Freelist<Sz>::AllocateItem()':
    C:\Users\rishita.butala\eclipse-workspace\Firmware\RRFLibraries\src/General/FreelistManager.h:39:7: error: 'freelist' was not declared in this scope; did you mean 'Freelist'?
    39 | if (freelist != nullptr)
    | ^~~~~~~~
    | Freelist
    C:\Users\rishita.butala\eclipse-workspace\Firmware\RRFLibraries\src/General/FreelistManager.h: In static member function 'static void FreelistManager::Freelist<Sz>::ReleaseItem(void*)':
    C:\Users\rishita.butala\eclipse-workspace\Firmware\RRFLibraries\src/General/FreelistManager.h:54:35: error: 'freelist' was not declared in this scope; did you mean 'Freelist'?
    54 | *reinterpret_cast<void **>(p) = freelist;
    | ^~~~~~~~
    | Freelist
    src/ObjectModel/subdir.mk:30: recipe for target 'src/ObjectModel/Axis.o' failed
    make[1]: *** [src/ObjectModel/Axis.o] Error 1
    Finished building: ../src/UI/ColourSchemes.cpp

    so any suggestions? i am waiting your reply.

    undefined 1 Reply Last reply 4 Apr 2023, 14:14 Reply Quote 0
    • undefined
      dc42 administrators @R006
      last edited by 4 Apr 2023, 14:14

      @R006 which version of RRFLibraries do you have in your workspace?

      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

      undefined 1 Reply Last reply 5 Apr 2023, 04:24 Reply Quote 0
      • undefined
        R006 @dc42
        last edited by 5 Apr 2023, 04:24

        @dc42 RRFLibraries 3.4.4 version

        undefined 1 Reply Last reply 5 Apr 2023, 08:35 Reply Quote 0
        • undefined
          dc42 administrators @R006
          last edited by 5 Apr 2023, 08:35

          @R006 I have PanelDueFirmware master and RRFLibraries master in my PanelDue build workspace, and it builds for me. It sounds to me that you may be using RRFLibraries 3.4-dev branch.

          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

          undefined 1 Reply Last reply 7 Apr 2023, 06:52 Reply Quote 0
          • undefined
            R006 @dc42
            last edited by R006 4 Jul 2023, 06:59 7 Apr 2023, 06:52

            @dc42 hi, sorry for late reply.
            i am build panel FM as per you mentioned but when i am flashing it's paneldue screen was blank.

            and getting this error:Generating binary
            "/arm-none-eabi-objcopy" -O binary "C:\Users\rishita.butala\eclipse-workspace\Firmware\PanelDueFirmware\Release-7.0/PanelDueFirmware-v2-7.0.elf" "C:\Users\rishita.butala\eclipse-workspace\Firmware\PanelDueFirmware\Release-7.0/PanelDueFirmware-v2-7.0.bin" && cat "C:/Users/rishita.butala/eclipse-workspace/Firmware/PanelDueFirmware/Release-7.0/PanelDueFirmware-v2-7.0.bin" "C:/Users/rishita.butala/eclipse-workspace/Firmware/PanelDueFirmware/SplashScreens/SplashScreen-Duet3D-800x480.bin" >"C:/Users/rishita.butala/eclipse-workspace/Firmware/PanelDueFirmware/Release-7.0/PanelDueFirmware-v2-7.0-logo.bin"
            c:/program files (x86)/gnu arm embedded toolchain/10 2020-q4-major/bin/sh: /arm-none-eabi-objcopy: not found
            makefile:101: recipe for target 'post-build' failed
            make[1]: [post-build] Error 127 (ignored)

            but i am go through this topic:https://forum.duet3d.com/topic/22876/solved-paneldue-firmware-compile-error/10
            and try to generating .bin file so .bin file was generated. but it's blank.

            i am waiting for your reply @dc42
            Any Suggestions? @jay_s_uk

            undefined 1 Reply Last reply 10 Apr 2023, 10:49 Reply Quote 0
            • undefined
              R006 @R006
              last edited by 10 Apr 2023, 10:49

              @dc42 i am waiting for your reply

              undefined 1 Reply Last reply 11 Apr 2023, 12:46 Reply Quote 0
              • undefined
                dc42 administrators @R006
                last edited by dc42 4 Nov 2023, 12:48 11 Apr 2023, 12:46

                @R006 looks like you haven't defined variable ArmGccPath in Window->Preferences->C/C++->Build->Build Variables. It need to be defined as the path to the folder where the C++ compiler and related tools (including arm-none-eabi-objcopy) live. This is what mine is set to, although a more recent version of the compiler than that should also work.

                4c5fdbf3-b61a-431d-a99b-f3a17fea849a-image.png

                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

                undefined 1 Reply Last reply 12 Apr 2023, 04:15 Reply Quote 0
                • undefined
                  R006 @dc42
                  last edited by 12 Apr 2023, 04:15

                  @dc42 it's already defined.

                  undefined 1 Reply Last reply 12 Apr 2023, 12:23 Reply Quote 0
                  • undefined
                    dc42 administrators @R006
                    last edited by dc42 12 Apr 2023, 12:23

                    @R006 fba1f389-b9cf-400f-ae34-0c4bd3bb4c93-image.png

                    If you look at the Command box in the above image, you can see that it tries to invoke "${ArmGccPath}/arm-none-eabi-objcopy". As it's trying to invoke"/arm-none-eabi-objcopy" according to the error message you posted, there must be something wrong with your definition of that build variable, or else the post build step command line in your system doesn't match mine.

                    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

                    undefined 1 Reply Last reply 13 Apr 2023, 05:31 Reply Quote 0
                    • undefined
                      R006 @dc42
                      last edited by 13 Apr 2023, 05:31

                      @dc42
                      Post-build steps in my eclipse.
                      "${ArmGccPath}/arm-none-eabi-objcopy" -O binary "${workspace_loc:/${ProjName}/${ConfigName}}/${BuildArtifactFileBaseName}.elf" "${workspace_loc:/${ProjName}/${ConfigName}}/${BuildArtifactFileBaseName}.bin" && cat "${ProjDirPath}/${ConfigName}/${BuildArtifactFileBaseName}.bin" "${ProjDirPath}/SplashScreens/SplashScreen-Duet3D-800x480.bin" >"${ProjDirPath}/${ConfigName}/${BuildArtifactFileBaseName}-logo.bin"

                      undefined 1 Reply Last reply 13 Apr 2023, 06:08 Reply Quote 0
                      • undefined
                        dc42 administrators @R006
                        last edited by 13 Apr 2023, 06:08

                        @R006 and how have you set ArmGccPath ?

                        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

                        undefined 1 Reply Last reply 13 Apr 2023, 06:09 Reply Quote 1
                        • undefined
                          R006 @dc42
                          last edited by 13 Apr 2023, 06:09

                          @dc42 ArmGccPath is C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2020-q4-major\bin

                          undefined 1 Reply Last reply 13 Apr 2023, 06:16 Reply Quote 0
                          • undefined
                            dc42 administrators @R006
                            last edited by 13 Apr 2023, 06:16

                            @R006 and is file arm-none-eabi-objcopy.exe in that folder?

                            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

                            undefined 1 Reply Last reply 13 Apr 2023, 06:22 Reply Quote 0
                            • undefined
                              R006 @dc42
                              last edited by R006 13 Apr 2023, 06:22

                              @dc42 yes
                              but as per error c:/program files (x86)/gnu arm embedded toolchain/10 2020-q4-major/bin/sh: /arm-none-eabi-objcopy: not found may be it's search in sh folder

                              undefined undefined 2 Replies Last reply 13 Apr 2023, 12:39 Reply Quote 0
                              • undefined
                                R006 @R006
                                last edited by 13 Apr 2023, 12:39

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  oliof @R006
                                  last edited by oliof 13 Apr 2023, 13:14

                                  @R006 remove /sh from the path

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

                                  undefined 1 Reply Last reply 14 Apr 2023, 04:15 Reply Quote 0
                                  • undefined
                                    R006 @oliof
                                    last edited by R006 14 Apr 2023, 04:15

                                    @dc42 thank you for support .
                                    now i am able to build it. and generating PanelDueFirmware.bin file successfully by changing the name of ArmGccPath.

                                    but after flashing successfully & restart panel, it was blank.

                                    Any Suggestions?@chrishamm

                                    undefined 1 Reply Last reply 14 Apr 2023, 11:51 Reply Quote 0
                                    • undefined
                                      R006 @R006
                                      last edited by R006 14 Apr 2023, 11:51

                                      @dc42 @chrishamm can any one try my build bin file of panelduefirmware & Check what's wrong in that file & check in your panel if it's working or not.
                                      Firmware varsion:3.4.beta3
                                      souce code of panel:https://github.com/Duet3D/PanelDueFirmware
                                      bin file:68a650ee-e619-4847-8f02-267908ce9181-PanelDueFirmware-v2-7.0.bin

                                      undefined 2 Replies Last reply 14 Apr 2023, 12:31 Reply Quote 0
                                      • undefined
                                        dc42 administrators @R006
                                        last edited by dc42 14 Apr 2023, 12:31

                                        @R006 where is your binary file, and which build configuration is it?

                                        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

                                        undefined 1 Reply Last reply 17 Apr 2023, 06:25 Reply Quote 1
                                        • undefined
                                          R006 @dc42
                                          last edited by R006 17 Apr 2023, 06:25

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