bcflight
bcflight copied to clipboard
Restructure shared modules and refactor CMake; update controller & flight code
This MR restructures the repository to consolidate common code, refactors the CMake build system, and brings in a number of new drivers, features and clean-ups across both the controller and flight targets.
Key Changes
-
Project structure & shared modules
- Introduced a top-level
libs/directory for shared CMake scripts and common code - Renamed and reorganized
Find*.cmakescripts (MP4V2, Nasm, QScintilla2, Shine, etc.) - Added a new submodule folder to centralize code used by both flight and controller targets
- Introduced a top-level
-
Controller PC (
controller_pc/)- Updated
CMakeLists.txtto point at the newlibs/layout - Fixed broken references after tree reorg (main.cpp, Stream, UI files)
- Updated
-
Controller RC (
controller_rc/)- Overhauled
Configparsing (Config.cpp/.h) for more robust settings management - Refactored RPi-specific board code:
• Optimized SPI and GPIO backends
• Deprecated old
Socketinterface and replaced with cleaner client/server code
- Overhauled
-
Miscellaneous
- Fixed ambiguous Lua-to-Matrix casts in the maths library
- Small bug fixes and code style clean-ups throughout