1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00
Open Source Flight Controller Firmware
Find a file
Dominic Clifton 9b8a10a09f Updating makefile so the binaries are build with the name of the fork,
in this case 'cleanflight'.  Updating binaries to reflect this change.  

Also renamed the 'startup' folder from 'baseflight_startups'.
2014-04-21 03:34:29 +01:00
lib a couple optimizations for dynamic HSE frequency - moved SetSysClock() to run after reset vector + bss init, and changed rcc which used hardcoded HSE_VALUE. 2013-07-02 00:58:50 +00:00
obj Updating makefile so the binaries are build with the name of the fork, 2014-04-21 03:34:29 +01:00
src Updating makefile so the binaries are build with the name of the fork, 2014-04-21 03:34:29 +01:00
support Enable automatic reset after (re)flashing, closes issue #19 2013-11-01 22:47:25 +00:00
.gitignore Updating git ignore list to ignore some common files. 2014-04-08 01:20:44 +01:00
baseflight.uvproj fixing fucked up struct definitions; 2014-04-08 08:25:25 +09:00
JLinkSettings.ini imported STM32 multiwii port into baseflight dir 2012-02-16 09:39:58 +00:00
Makefile Updating makefile so the binaries are build with the name of the fork, 2014-04-21 03:34:29 +01:00
README.md Updating the project readme. 2014-04-21 03:27:28 +01:00
stm32_flash.ld format 2014-04-16 15:06:37 +00:00

Cleanflight

Clean-code version of baseflight flight-controller - flight controllers are used to fly multi-rotor craft and fixed wing craft.

This fork differs from baseflight in that it attempts to use modern software development practices which result in:

  1. greater reliability through code robustness.
  2. easier maintainance through code cleanliness.
  3. easier to develop new features.
  4. easier to re-use code though code de-coupling and modularisation.

Before making any contributions, take a note of the https://github.com/multiwii/baseflight/wiki/CodingStyle

For this fork it is also advised to read about clean code, here are some useful links:

http://cleancoders.com/ http://en.wikipedia.org/wiki/SOLID_%28object-oriented_design%29 http://en.wikipedia.org/wiki/Code_smell http://en.wikipedia.org/wiki/Code_refactoring http://www.amazon.co.uk/Working-Effectively-Legacy-Robert-Martin/dp/0131177052

The MultiWii software, from which baseflight originated, violates many good software development best-practices. Hopefully this fork will go some way to address them. If you see any bad code in this fork please immediate raise an issue so it can be fixed, or better yet submit a pull request.