pms67 / HadesFCS

Complete flight control system designed from scratch. Hardware designed with KiCad.
http://philsal.co.uk
BSD 3-Clause "New" or "Revised" License
739 stars 246 forks source link

CMake as build system #3

Open zePanzerfaust opened 4 years ago

zePanzerfaust commented 4 years ago

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.

zePanzerfaust commented 4 years ago

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.