-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage from a regular CMake project #33
Comments
Hey, sorry about the delay. I don't have a problem with adding the cmake file, but I'm very curious about this use case. Where does portduino make sense outside of platformio? |
platformio is not a requirement to compile an Arduino project You can have a regular CMake project, with portduino providing the desktop implementations, allowing you to develop and run on desktop with a standard stack rather than platformio |
A bit of a side comment: to me platformio makes no sense whatsoever. CMake already has all the necessary stuff to cross-compile onto any kind of device. It's rather disappointing to me from the ecosystem perspective that platformio went with their custom thing rather than simply providing CMake toolchain configurations. |
I'd like to use this from a regular CMake project, without platformio/arduino IDE/etc, e.g. by adding this as a dependency via
FetchContent
. Is there an example of doing so somewhere?The text was updated successfully, but these errors were encountered: