mikeller
60f3f7a8bc
Removed unneeded declaration of 'updateRcCommands()'.
2018-05-17 23:30:41 +12:00
Michael Keller
b5521b927d
Merge pull request #5909 from etracer65/gyro_calib_cleanup
...
Gyro calibration cleanup and use floating point calculations for zero offset
2018-05-17 23:19:43 +12:00
Michael Keller
fccca5220c
Merge pull request #5908 from SteveCEvans/fixmdtypos
...
Fix doc typos
2018-05-17 23:19:24 +12:00
Michael Keller
a786f8edfd
Merge pull request #5903 from mikeller/add_linker_memory_usage_display
...
Added memory usage output to linker.
2018-05-17 23:16:57 +12:00
Michael Keller
82500afb1b
Merge pull request #5902 from mikeller/optimise_gyro_sanity_checks_f7
...
Optimised gyro sanity checks for F7.
2018-05-17 23:16:38 +12:00
Michael Keller
edfa6cfcb0
Merge pull request #5900 from jflyper/bfdev-drop-stale-gyro-support
...
Gradually retire stale/unused acc/gyro support
2018-05-17 23:16:21 +12:00
Bruce Luckcuck
4913099803
Gyro calibration cleanup
...
Data type and variable name cleanup.
Calculate the calibration sum using floats to prevent possibilities of future overflows.
Rename the calibratingG element to cyclesRemaining to be more representative of its purpose. Change its data type to int32_t to avoid calculations with signed and unsigned variables.
Fix the zero offset calculation from the calibration results to return a floating point result rather than using integer math. This may result in slight improvements in reduced gyro drift.
2018-05-16 20:38:34 -04:00
Steve Evans
c05d9ef935
Fix doc typos
2018-05-16 22:13:51 +01:00
Michael Keller
2cb8f7e3e6
Merge pull request #5907 from etracer65/gyro_calib_fix
...
Fix gyro calibration zero offset calculation
2018-05-17 07:11:13 +12:00
Bruce Luckcuck
ce170990a2
Fix gyro calibration zero offset calculation
...
It seems like the gyro calibration sample count overflow fix (#5898 ) caused a downstream problem with the math to calculate the zero offset. Casting the components of the formula to (float) solves the problem.
2018-05-16 13:06:07 -04:00
mikeller
e823920662
Added memory usage output to linker.
2018-05-16 23:17:03 +12:00
Michael Keller
1c605c3842
Merge pull request #5898 from etracer65/gyro_cal_overflow
...
Fix numeric overflow for gyro calibration samples when using 32KHz sampling
2018-05-16 22:55:19 +12:00
Michael Keller
ba1cff8b39
Merge pull request #5889 from jflyper/bfdev-poc-pg-array-resource
...
Add handling for array of PG structures in cli resource command.
2018-05-16 22:54:51 +12:00
mikeller
0263428be7
Optimised gyro sanity checks for F7.
2018-05-16 22:45:50 +12:00
jflyper
6c044829cc
Mark unused acc/gyro support toward retirement.
2018-05-16 14:31:39 +09:00
Bruce Luckcuck
e4e4948c2a
Fix numeric overflow for gyro calibration samples when using 32KHz sampling
...
The current data type was uint16 and that would overflow when using 32KHz sampling. This caused the calibration to only run for about 0.9 seconds instead of the expected 3 seconds. At 32KHz the sample count is 96774 which overflows uint16 so changed the data types to uint32.
2018-05-15 13:24:08 -04:00
jflyper
20b187fea9
Add handling of array of pg structures in cli resource command.
2018-05-16 01:06:29 +09:00
Michael Keller
e405e41d0c
Merge pull request #5897 from jflyper/bfdev-serial-tx-buffer-size-temporary-fix
...
Temporary increase serial TX buffer sizes
2018-05-15 22:00:30 +12:00
jflyper
5877ee1ebf
Temporary increase serial TX buffer sizes
2018-05-15 07:16:51 +09:00
Michael Keller
6995f694a3
Merge pull request #5877 from mikeller/fix_target_dependencies
...
Removed some target dependencies, and added makefile target 'check-target-independence' to find dependencies.
2018-05-14 20:18:48 +12:00
Michael Keller
be3d75512e
Merge pull request #5879 from mikeller/fix_smartaudio_debugging
...
Cleaned up SmartAudio debugging.
2018-05-14 19:31:52 +12:00
mikeller
3a149dd450
Rebased, fixed regex for target name at end of line.
2018-05-14 19:18:20 +12:00
mikeller
4c11c6666b
Fix from review.
2018-05-14 19:13:37 +12:00
mikeller
7a03ead75e
Made SIMULATOR_BUILD a makefile driven option.
2018-05-14 19:13:37 +12:00
mikeller
ede204aa81
Removed some target dependencies, and added makefile target 'check-target-independence' to find dependencies.
2018-05-14 19:13:37 +12:00
Michael Keller
50ff0ddadb
Merge pull request #5878 from mikeller/enable_bidirectional_nmea_gps
...
Enabled bidirectional communication with NMEA GPS for all targets.
2018-05-14 19:08:53 +12:00
mikeller
65ecd84ec5
Removed unused function and invalid conditional.
2018-05-14 19:06:57 +12:00
Michael Keller
6a24c115a8
Merge pull request #5874 from etracer65/osd_warn_cli_parms
...
Add individual OSD warning options as cli parameters
2018-05-14 18:34:19 +12:00
mikeller
a48da6c1ee
Cleaned up SmartAudio debugging.
2018-05-13 02:08:27 +12:00
mikeller
6a605be73b
Enabled bidirectional communication with NMEA GPS for all targets.
2018-05-13 01:56:36 +12:00
Andrey Mironov
eab55fc3ee
Merge pull request #5875 from McGiverGim/add_blackbox_dterm_lpf2
...
Add Dterm filter stage 2 info to blackbox
2018-05-12 13:00:24 +03:00
Miguel Angel Mulero Martinez
0b0751a693
Add Dterm filter stage 2 info to blackbox
2018-05-12 10:37:29 +02:00
jflyper
fc92aea0f6
Merge pull request #5861 from mikeller/optimised_serial_port_t
...
Optimised 'serialPort_t' struct.
2018-05-12 09:56:46 +09:00
jflyper
58ea3a8180
Merge pull request #5860 from mikeller/eliminate_inefficient_serial_runtime_calls
...
Eliminated inefficient serial function calls at runtime.
2018-05-12 09:56:24 +09:00
Bruce Luckcuck
0916d117b8
Add OSD warning options as cli parameters
...
Previously only a single bitmapped parameter was available in the cli but this wasn't very useful as the users would have to understand the bit positions to enable/disable warning options. This change exposes each warning item as a separate parameter.
2018-05-11 20:06:34 -04:00
Michael Keller
9b16bf58ac
Merge pull request #5858 from mikeller/disable_unavailable_osd_characters
...
Disable unavailable OSD characters.
2018-05-12 12:03:51 +12:00
Michael Keller
2c1a4a2c08
Merge pull request #5857 from RolandChen/BF_official
...
FIX: Heli 120 Mixer
2018-05-12 12:02:36 +12:00
Michael Keller
ea8432b941
Merge pull request #5851 from robertlacroix/graveyard
...
Add Paralyze mode support
2018-05-12 12:02:18 +12:00
Michael Keller
f8bec77c58
Merge pull request #5850 from jflyper/bfdev-serialinit-nopin-uart
...
UART Treat uarts without a pin as non-existent
2018-05-12 12:01:52 +12:00
Michael Keller
7e6ba60d7d
Merge pull request #5831 from etracer65/osd_stats_reorder
...
Changes to support enhancements to BFC for OSD stats field ordering
2018-05-12 12:00:34 +12:00
Michael Keller
0363a0611a
Merge pull request #5787 from allenfor2017/update_pin_defines_for_sbf4
...
update target SPEEDYBEE F4
2018-05-12 11:53:18 +12:00
Michael Keller
81d265b481
Merge pull request #5862 from s0up/nav-removal
...
[GPS RESCUE] - Remove navigation.c and all references to USE_NAV
2018-05-12 11:51:21 +12:00
jflyper
2df482f2bd
Merge pull request #5865 from mikeller/enable_dshot_dmar_spracingf4neo
...
Enabled Dshot DMAR for SPRACINGF4NEO.
2018-05-12 08:36:20 +09:00
Andrey Mironov
5bb83a348a
Merge pull request #5870 from wind0r/remove_unused_define
...
remove unused swap serial define
2018-05-11 23:58:55 +03:00
Andrey Mironov
690d2d6ca7
Merge pull request #5871 from wind0r/fix_static_initialization
...
remove unneeded static initialization
2018-05-11 23:58:33 +03:00
Steffen Windoffer
e89680594c
remove unneeded static initialization
2018-05-11 21:08:41 +02:00
Steffen Windoffer
06178454c2
remove unused swap serial define
2018-05-11 21:04:38 +02:00
Andrey Mironov
59f5afe8a2
Merge pull request #5866 from mikeller/remove_uneeded_use_dshot_dmar
...
Removed uneeded USE_DSHOT_DMAR defines.
2018-05-11 11:18:47 +03:00
allenfor2017
b337cfb941
update target SPEEDYBEE F4
2018-05-11 11:44:33 +08:00
mikeller
1877a6fbf8
Amended DMA alternative selections for SPRACINGF4NEO.
2018-05-11 09:35:53 +12:00