Code by @conkerh, @jflyper and @mikeller
Only F4 and F7 are supported, since this feature takes ~9K of flash
and F3 only has ~15K free right now.
Use the new 'msc' CLI command to enable MSC mode. The FC will reboot
as a USB mass storage device. To exit the mode, just power cycle.
- Move navigation_wind_estimator.{c,h} to flight/wind_estimator.{c,h}
- Rename gpsThread() to gpsUpdate(), make it return a bool which is
true iff new GPS data was received.
- When the GPS returns new data, call into the wind estimator to
update itself.
- Make sure wind estimator can be disabled at compile time via
the USE_WIND_ESTIMATOR #ifdef
- Disable OSD wind indicators when wind estimator support is not
compiled in.
- Don't check for both GPS and USE_WIND_ESTIMATOR in ifdefs, instead
fail compilation with an error in USE_WIND_ESTIMATOR is defined
without defining GPS.
- Move est_wind_airspeed to navigation_wind_estimator
- Make a few stylistical changes in all the file to use
INAV conventions and constants for better readability.
- Add function for retrieving wind estimates in body frame.
- Mark with missing stuff with TODO
* Initial cut on cleaning up makefile and libraries.
* F3, F4, F7 support
* Add 'make release' to build targets for release
* Introduce BUILD_SUFFIX options; Comment fix
* Fix USB core
* Fix F7 warnings
* Clean up STM32F1 code
* More cleanups of unused files