/crazyflie-firmware-llvm-cmake

crazyflie firmware compile with LLVM and generate IR files. Run and test successfully with llvm-13, crazyflie 2.1. The modifications are only shown in the `llvm-ir` branch.

Primary LanguageCMake

Crazyflie firmware

This repository contains the source code for the crazyflie firmware. We are using it in order interact with the drones and also to implements new settings.

The code is used as basics and you can find it in the github repository of BitCraze. You can find it here:

https://github.com/bitcraze/crazyflie-firmware

You can find all the codes that we've added to manage the drones in the projects folder.

Please check the README.md present it each subfolder to know more about each work.

Important Notices

Make sure to have your two drones in the channel 56. The user must ensure that the drones have the addresses 0xE7E7E7E701 and 0xE7E7E7E702. You can have a maximum of 9 drones the address of the last must then be 0xE7E7E7E709.

Development

mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=Debug -D CMAKE_TOOLCHAIN_FILE=stm32f4-clang_plus_gcc.cmake ..

Production

mkdir build-gcc
cd build-gcc
cmake -D CMAKE_BUILD_TYPE=MinSizeRel -D CMAKE_TOOLCHAIN_FILE=stm32f4-gcc.cmake ..