Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Solved Firmware's entry point

    Firmware developers
    3
    4
    105
    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.
    • Arplyu
      Arplyu last edited by

      Hi everyone

      I'd like to study RepRapFirmware to (possibly) add some modifications in it in the future. I am sorry for a stupid question, but where is the entry point to the firmware? I was looking for a traditional C/C++' "int main()" or "int loop()" (as in Arduino's programs) function, but couldn't find it. I couldn't find this info on the forum neither. Thank you.

      oliof dc42 2 Replies Last reply Reply Quote 0
      • oliof
        oliof @Arplyu last edited by

        @arplyu check out the FreeRTOS library which provides the entry point as far as I understand.

        <>Creality CR-20 IDEX Duet3 mini 5+<>RatRig V-Minion SKR RRF 1.1<>

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

          @arplyu the main entry point is AppMain in file Tasks.cpp.

          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

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

            @dc42 Thank you! That's answered my question.

            @oliof said in Firmware's entry point:

            @arplyu check out the FreeRTOS library which provides the entry point as far as I understand.

            That's also a useful hint, I definitely should pay more attention to FreeRTOS. Thank you!

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