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.
    • Rabundefined
      Rab
      last edited by

      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
      • jay_s_ukundefined
        jay_s_uk
        last edited by

        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

        Rabundefined 1 Reply Last reply Reply Quote 0
        • Rabundefined
          Rab @jay_s_uk
          last edited by

          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
          • jay_s_ukundefined
            jay_s_uk
            last edited by jay_s_uk

            • 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
            • Rabundefined
              Rab
              last edited by

              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
              • Karaboxundefined
                Karabox
                last edited by

                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
                • alankilianundefined
                  alankilian
                  last edited by

                  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
                  • Karaboxundefined
                    Karabox
                    last edited by

                    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

                      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

                      Karaboxundefined 1 Reply Last reply Reply Quote 1
                      • Karaboxundefined
                        Karabox @dc42
                        last edited by

                        @dc42 thanks a lot !

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