Entry point for out-of-firmware projects

Hey there!

So I just finished reading the documentation on how to store a project’s source outside of the firmware and build it. The one thing that I don’t think was specified was how to define the entry point. With in-firmware projects, I think the default file is named application.cpp. Do I have to have this function at the root level of my source code? Or can it be any c/cpp file with loop and setup functions? Typically the entry point is just the main function, but I think main is abstracted away by the firmware.

Thanks in advance for any and all help!

You just need setup() and loop() in one of the source files in the local project directory.

1 Like