Hobby Flight Control software for motors run with KatBot.
Note: This project is no longer under active development. Another
version is being developed for BeagleBone.
Download and install latest toolchain from arm for target
AArch32 bare-metal target (arm-none-eabi)
Or else download latest none-eabi Arm GNU toolchain and symlink to /usr/bin
git clone --recurse-submodules https://github.com/Vijay-C-Katoch/KatFC.git
This will clone the repository with submodules. If you already cloned the repository
without the --recurse-submodules
flag then run below in the KatFCfolder to
- clone cmake-utils
- clone thirdparty firmwares
- STM32CubeH7
git submodule update --init --recursive
- To build KatFC, in the
flightControl
directory run following cmake commands
$ BOARD=STM32H750B-DK \
TP_DIR=$(pwd)/../thirdParty \
HARDWARE_DIR=$(pwd)/../hardware cmake \
-DCMAKE_TOOLCHAIN_FILE=../cmake/tools/toolchain/stm32-h750-none-eabi.cmake \
-DCMAKE_EXPORT_COMPILE_COMMANDS=1 \
-G "Unix Makefiles" \
-H../flightControl \
-B../build
$ cmake --build ../build
In VSCode IDE cmake Build
can be run directly by clicking Build button, as all of above CMake commands are configured in
kfc.code-workspace file in the project.
Install Google bloaty.