pms67 / HadesFCS

Complete flight control system designed from scratch. Hardware designed with KiCad.

Home Page:http://philsal.co.uk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMake as build system

zePanzerfaust opened this issue · comments

Hello,

is there an interest in moving the C/C++ projects to CMake?
At the moment there are Eclipse and Visual Studio based projects.

For my private embedded software projects I switched to CMake some time ago and it opens the door for other IDEs on a variety of platforms.

Did you ever spend time thinking about it or would you be open to accept PR's?

Thanks for making your interesting project open source with all the documentation and videos on Youtube.

If you want to check it out, I added the necessary files on my fork at https://github.com/zePanzerfaust/HadesFCS/tree/feat/add_cmake_files.
Sample configuration files for VS Code can be found in Samples/Configuration/vscode which have to be copied to .vscode in the root. Then modify them to your needs.
The following projects have been implemented.
Communication/UAVDataLink
Firmware/F4Quad
GPS/

For the Cortex-M4 project which requires cross-compilation, some additional VS Code plugins are required/recommended. They are listed in Firmware/F4Quad/README.md.