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

Help for first time building PanelDue firmware

Scheduled Pinned Locked Moved
Firmware developers
5
13
673
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
    Rab
    last edited by 25 Nov 2020, 10:22

    Hello,

    I am attempting to build PanelDue firmware (1.24) I have the following installed:

    *gcc-arm-none-eabi-6-2017-q2-update-win32-sha1

    Eclipse IDE for C/C++ Developers
    Version: Oxygen.3a Release (4.7.3a)
    Build id: 20180405-1200*

    and have added make.exe from Arduino 1.5.8 to the GCC install path

    I have followed the build instructions but do not think I have everything set up correctly.
    When I try to build the PanelDue project (project>Build all) in Eclipse I get the following result:

    **10:03:50 **** Incremental Build of configuration Release-7.0 for project PanelDue ****
    make -j6 all

    10:03:51 Build Finished (took 113ms)**

    How can I tell if I have imported the PanelDue project to Eclipse correctly?
    and is there anything else I need to do before I can build the project?

    Thank you for the help!

    1 Reply Last reply Reply Quote 0
    • undefined
      Rab
      last edited by 25 Nov 2020, 16:47

      I now have some output after changing the Build type to internal builder in the project properties. However, the output is .elf and not .bin.

      There are also numerous warnings from Buzzer.cpp

      Appreciate any thoughts on what I am missing.

      1 Reply Last reply Reply Quote 0
      • undefined
        jay_s_uk
        last edited by 25 Nov 2020, 16:51

        Have you copied rrflibraries into the paneldue firmware folder as well?

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        1 Reply Last reply Reply Quote 0
        • undefined
          Rab
          last edited by 30 Nov 2020, 15:19

          I didn't have the rfflibraries and have since found them - they are not mentioned in any of the build instructions.
          (https://github.com/Duet3D/RRFLibraries)

          Are they to sit in the PanelDue project in an rfflibraries folder?

          1 Reply Last reply Reply Quote 0
          • undefined
            jay_s_uk
            last edited by 30 Nov 2020, 15:21

            like this
            8195ba56-d862-4724-a191-14e24db2bc9b-image.png

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            undefined 1 Reply Last reply 30 Nov 2020, 15:41 Reply Quote 0
            • undefined
              Rab @jay_s_uk
              last edited by 30 Nov 2020, 15:41

              Thank you for such a fast response!

              ![0_1606750563595_result.jpg](Uploading 100%)

              I'm not sure if the image upload worked - but as output I get :

              PanelDue-v2-4.3.elf
              PanelDue-v2-4.3.map
              and 92 files in the src folder

              Is this as expected?

              1 Reply Last reply Reply Quote 0
              • undefined
                jay_s_uk
                last edited by jay_s_uk 12 Apr 2020, 09:44 30 Nov 2020, 16:07

                • Download and install the gcc cross-compiler from https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads:
                  User version 9_2020_q2_update

                • Download and install Eclipse IDE for C/C++ Developers version 2020-06, from http://www.eclipse.org/downloads/eclipse-packages/. You do not need the Arduino add-on.

                • Download and install GNU Arm Eclipse from https://sourceforge.net/projects/gnuarmeclipse/files/Build Tools/gnuarmeclipse-build-tools-win64-2.6-201507152002-setup.exe/download. This provides versions of make.exe, rm.exe and other tools without the 8192-character command line limitation of some other versions.

                • Modify your PATH environment variable to include the 'bin' folder of the GNU ARM Eclipse installation.

                • Run "which rm" and "which make" to make sure that rm and make will be fetched from that folder.

                • In Eclipse create new workspace C:/Eclipse/Paneldue. Then exit Eclipse.

                • Download the paneldue project as a zip file from github and unzip it into C:/Eclipse/Paneldue. Then rename folder Paneldue-master in that folder to Paneldue.

                • Repeat the previous step for github project RRFlibraries (Dev Branch). Then rename folder RRFLibraries-dev in that folder to RRFLibraries.

                • list itemLoad Eclipse and tell it to import the Paneldue and RRFLibraries projects.

                • The build depends on the Eclipse workspace variable 'ArmGccPath" being set to the directory where your arm-none-eabi-g++ compiler resides. For example "C:\Program Files (x86)\GNU Arm Embedded Toolchain\9 2020-q2-update\bin" on Windows. To set it, go to Windows -> Preferences -> C/C++ -> Build -> Build Variables and click "Add..."

                • Change the build configuration for RRFlibraries to SAM4S

                • Change the build configuration for Paneldue to the panel you want.

                Build paneldue

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                1 Reply Last reply Reply Quote 0
                • undefined
                  Rab
                  last edited by 2 Dec 2020, 16:12

                  Thanks so much for the detailed instructions they've resolved everything for me and I'm now happily compiling - I hope they help out some other people too.

                  1 Reply Last reply Reply Quote 1
                  • undefined
                    Karabox
                    last edited by 3 Dec 2020, 21:48

                    7c7791fa-908a-44de-8be2-e2c71df27f64-image.png

                    I followed the instructions
                    Can't find String.h file in RRFLibraries\src\General \

                    Where can i find it?
                    Thanks.

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      alankilian
                      last edited by 3 Dec 2020, 22:08

                      Open up RRFLibraries/General and see if it's there first.

                      If it is, you need to get your INCLUDE path set to include RRFLibraries folder.

                      (I'm not sure how to do that.)

                      SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        Karabox
                        last edited by 4 Dec 2020, 06:41

                        Screenshot 2020-12-04 091215.png

                        I didn't find the file on GitHub too

                        1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators
                          last edited by 4 Dec 2020, 09:20

                          Make sure you are using the dev branch of the RRFLibraries project.

                          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 4 Dec 2020, 10:06 Reply Quote 1
                          • undefined
                            Karabox @dc42
                            last edited by 4 Dec 2020, 10:06

                            @dc42 thanks a lot !

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