-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Allow out of tree build of the Crazyflie firmware #485
Comments
Now fixed, an example of the push demo implemented using out of tree build can be found in this repos: https://github.com/ataffanel/crazyflie-push-demo |
Does it makes sense to add some external Makefile targets in order to allow external app to build dependencies? For example, adding a variable to this line
What do you think about this change? |
Sure, I do not see an actual use for (you could just add libs to |
In order to simplify implementation of autonomous behavior for the Crazyflie is would be good to be able to 'include' the Crazyflie Makefile from another Makefile in order to build outside code together with the Crazyflie firmware. This would allow to create separate repos implementing autonomous behavior (for example the STEM bundle push demo) without having to put the code in the Crazyflie repos.
To allow this, there should be a variable added in the Cazyflie firmware makefile that contains the base path of the Crazyflie firmware, this variable can be used to locate the source code.
Since we use VPATH, all build artifact will be created in the folder where
make
is called, this will make out-of-tree builds completely independent and will allows to share one Crazyllie source folder for many builds.The text was updated successfully, but these errors were encountered: