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

    Firmware's entry point

    Scheduled Pinned Locked Moved Solved
    Firmware developers
    3
    4
    250
    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.
    • Arplyuundefined
      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.

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

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

        <>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 0
        • dc42undefined
          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

          Arplyuundefined 1 Reply Last reply Reply Quote 0
          • Arplyuundefined
            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