We have done some work merging the Crazyflie Nano (1.0) and the Crazyflie 2.0 firmware together. The current status is that they have been merged and seem to work as expected. We have not yet done any extensive testing though.
The merge has been made so it is keeping the old structure as much as possible which should make rebasing and updating forks less painless. The future plan is not to keep it this way though as we want the firmware to be cleaner and easier to develop upon which will require some refactoring and new APIs. It will mean moving files around, renaming them, building new abstracting layers etc. So before we start doing this work it would be the least job if we received pull reqests etc. Also it might be worth mentioning that it will be mainly the DRIVERS and HAL files that will be affected.
So if you are developing on the crazyflie-firmware please merge in the changes from the bigmerge branch and give us feedback on how it turns out. A tip is to try it out on a local branch of your working branch first to see how it works out.
Also if you have any suggestions on how to organize things make sure to post it here!
Some notes about building it. Since a common Makefile is now used for both firmware one have to specify which one to build with "PLATFORM=CF1" or "PLATFORM=CF2". The binaries will be called cf1.bin and cf2.bin respectively. You can put this either in config.mk or specify it as a parameter to make e.g.
Code: Select all
make PLATFORM=CF2 CLOAD=1 DEBUG=0