Betaflight/betaflight — reverse-engineered prompt
Reverse engineered prompt
Build me open source flight controller firmware for drones and fixed wing aircraft, similar to Betaflight. I want the focus to be stable and responsive flight, with wide board support for common STM32 flight controllers.
It should handle motor output protocols like DShot, receiver inputs like serial, SPI, PWM and PPM, telemetry, failsafe detection, OSD, GPS and configurable serial ports. Include practical pilot features like Blackbox logging, RGB LED status lights, OLED display info, battery monitoring, rate profiles, PID and filter tuning sliders, and in flight adjustment where it makes sense.
Please set it up as a C firmware project that can be built from the command line for a selected target board, with a clean default structure, build instructions, and a developer container so people on Windows can compile it too. Keep the code organized enough for contributors to add new flight controller targets later.
Look up current docs online if you need to, and make sure the first version builds successfully.
Want more depth? Deep Reverse