Split INVERTER_PIN_UART<n> into INVERTER_PIN_UART<n>_RX and
INVERTER_PIN_UART<n>_TX. This allows us to invert just one line
of the port in F4 based controllers, like we can do on F3.
Fixes#3466
- VTX with support for FC control are now totally managed from the
FC. The FC will store the VTX configuration and override any changes
made manually (e.g. with a button). Users can disable VTX control
to manage channels manually.
- OSD VTX item now shows the power level too.
- Added new parameters for VTX configuration: vtx_band, vtx_channel,
vtx_freq, vtx_halfduplex, vtx_low_power_disarm, vtx_pit_mode_freq
and vtx_power.
- Added support for automatically switching the VTX power when
arming (fixes#3112).
Note that there are a several changes from the BF code. We do support
an additional setting for the low power during disarm option and
the MSP messages contain more data to allow users to configure the
VTX channel/power from the configurator. Our MSP messages also work
when the VTX is offline (the settings are stored in the FC and applied
later once the VTX is powered up).
Thanks to Matek (http://www.mateksys.com) for providing an FCHUB-VTX
to test the Tramp protocol.
Thanks to AKK (https://www.akktek.com) for providing an X2-ultimate
to test SmartAudio.
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