Commit Graph

12780 Commits

Author SHA1 Message Date
mikeller 6d726f7d5f Removed USE_MULTI_GYRO from targets that have it defined by default. 2018-11-28 00:31:18 +13:00
Michael Keller 9ef4a118b7
Merge pull request #7100 from TonyBlit/gps_total_distance_fix
Total Distance is reset on re-arming
2018-11-27 23:36:52 +13:00
Michael Keller 32068e3830
Merge pull request #7126 from jflyper/bfdev-generic-handling-of-target-default-mixer
Remove (literal) target dependency from "TARGET_DEFAULT_MIXER"
2018-11-26 21:52:04 +13:00
Michael Keller 06d931e245
Merge pull request #7125 from jflyper/bfdev-move-BEEPER_OPT-out-of-target.h
[BLUEJAYF4,YUPIF4] Move BEEPER_OPT out of target.h
2018-11-26 21:51:49 +13:00
Michael Keller 02c7ac8c93
Merge pull request #7124 from mikeller/rename_use_flash
Renamed USE_FLASH to USE_FLASH_CHIP for clarity.
2018-11-26 21:51:27 +13:00
Michael Keller 5a8ada0020
Merge pull request #7123 from mikeller/amend_parameter_group_documentation
Amended parameter group documentation to contain uniformity / atomicity constraints.
2018-11-26 21:51:09 +13:00
Michael Keller 5c594a5562
Merge pull request #7122 from etracer65/throttle_limit_msp
Add throttle_limit settings to MSP
2018-11-26 21:50:31 +13:00
borisbstyle 9d94619c39
Merge pull request #7130 from etracer65/increase_dshot_idle
Increase DSHOT digital idle default value
2018-11-26 08:53:50 +01:00
Tony Cabello 3199c48ee9 GPS Rescue no longer forces a reset home position when disarmed
Home position is deinitialized on disarm at gpsUpdate, so it can't be missed
DistanceFlown is reset inside GPS_calculateDistanceFlown
DistanceFlown was not calculated properly
2018-11-26 00:32:22 +01:00
Bruce Luckcuck b777c6f853 Increase DSHOT digital idle default value
The DSHOT digital idle value is quite low (4.5%) and is often the cause of support issues as users are unaware that they may have to adjust this based on their motor/ESC requirements - leading to de-syncs and "death rolls" or other flip-outs.

While DSHOT capable ESC's (BLHeli_S & BLHeli32) have faster MCU's and are often capable of smoother low speed idling, 4.5% is still quite low. For comparison the `min_throttle` default is 1070 equating to a 7% idle.

I propose raising the digital idle to 5.5% to reduce occurrences of de-syncs from too low idle speed.
2018-11-25 10:34:05 -05:00
Michael Keller 68402e6571
Merge pull request #7109 from phobos-/spi_rx_led
Unified SPI RX led and bind functionality
2018-11-26 00:31:49 +13:00
phobos- c88a5a3a22 Refactored SPI RX led blink and bind plug functionality to rx_spi_common 2018-11-25 10:37:18 +01:00
mikeller e4bd905f70 Added clarification about new parameters if 0 is an invalid value. 2018-11-25 15:51:26 +13:00
jflyper 68da794db8 Remove (literal) target dependency 2018-11-25 10:44:13 +09:00
jflyper 3b0a32e5b5 Move BEEPER_OPT out of target.h 2018-11-25 10:32:16 +09:00
mikeller c8e484df94 Renamed USE_FLASH to USE_FLASH_CHIP for clarity. 2018-11-25 13:47:31 +13:00
mikeller cad702b4f7 Amended parameter group documentation to contain uniformity / atomicity constraints. 2018-11-25 13:40:17 +13:00
Michael Keller 4246f06529
Merge pull request #7073 from ctzsnooze/Update-D-defaults
Set TPA default to D only, increase D about 10%
2018-11-25 13:31:29 +13:00
Michael Keller befd913e23
Merge pull request #7115 from jflyper/bfdev-protect-baro-and-mag-from-null-instance
[BARO,MAG,SPI] Protect mag and baro against NULL instance
2018-11-25 13:23:17 +13:00
Michael Keller 68eadcf6f3
Merge pull request #7117 from etracer65/add_throttle_limit_to_cms
Add throttle limit settings to CMS
2018-11-25 12:57:08 +13:00
Michael Keller 4b60befd83
Merge pull request #6965 from jflyper/bfdev-fix-bad-conditional-in-flash-pg
FLASH: Use USE_FLASH instead of USE_FLASHFS to protect flash pg
2018-11-25 12:48:17 +13:00
Bruce Luckcuck 78ecccd724 Add throttle_limit settings to MSP
The feature has been in place and stable since 3.4 so it seems reasonable to add it to MSP so it can be added to the configurator.
2018-11-24 17:58:54 -05:00
Michael Keller e24a4fe4de
Merge pull request #7113 from TonyBlit/gps_total_distance_hdop
Total Distance calculation fixes & cleanup
2018-11-24 12:17:42 +13:00
Bruce Luckcuck 9830681158 Add throttle limit settings to CMS
There have been a number of requests for this as it seems to be common for racers to tune these values and adjust the settings as they become more comfortable with a track. Previously the settings could only be adjusted in the CLI and required a computer. Adding them to the CMS makes it easy to adjust in the field.
2018-11-23 09:25:00 -05:00
Michael Keller 9486789204
Merge pull request #7098 from flywoo/master
Add new target FLYWOOF7DUAL
2018-11-23 20:28:45 +13:00
Michael Keller b418824f87
Merge pull request #7083 from McGiverGim/fix_throttle_max_msp_gps_rescue
Remove duplicated throttle max in MSP_GPS_RESCUE
2018-11-23 20:25:37 +13:00
Michael Keller 4c321ed672
Merge pull request #7081 from jflyper/bfdev-clockworks
[F4] System clock refactor to support configurable HSE crystal frequency
2018-11-23 20:21:05 +13:00
jflyper 9c45eee0e6 Protect mag and baro against NULL instance 2018-11-23 16:02:35 +09:00
jflyper 569f0bae62 Implement configurable system clock generation
PLL-HSE working

PLL-HSI working

Move SystemCoreClockUpdate in SystemInit to end

Switching from HSI-PLL to HSE-PLL (and back) is working

It works during various levels of overclocking.

Renamed CLI variable hse_mhz to system_hse_mhz

Restored the original position of the spectrum bind code

The internal logic of the spectrum bind code will prevent binding
process to fire if executed after soft reset.

Remove stale call to delay

Add a comment about call to spektrumBind placement

Declared SystemXXXSource functions, handled sign-ness warning.

Cleaned up commented out sections

USB clock generation for F446

Default HSE value for backward compatibility

Cleaned up more unused stuff

Handle non-F4 targets

Added comment about PLL_M selection

Removed fake gyro/acc from test target
2018-11-23 15:36:10 +13:00
flywoo e258f2ae3b Correction of board description error 2018-11-23 08:22:05 +08:00
Tony Cabello 16dfbe3fc2 Total Distance calculation fixes:
- Only updated when armed
- Less frequently updated when low GPS accuracy, to mitigate adding up error

Unused actual_speed cleanup
2018-11-22 14:23:56 +01:00
Michael Keller 2a748e73d0
Merge pull request #7074 from pulquero/telm_config2
Support for enabling individual telemetry sensors
2018-11-23 01:43:33 +13:00
Michael Keller 3d0a59ea09
Merge pull request #7104 from TonyBlit/motor_diag_idle
Motor diag showing low positions on idle
2018-11-23 01:37:34 +13:00
Michael Keller 656b70b419
Merge pull request #7107 from etracer65/gps_rescue_code_cleanup
GPS Rescue code cleanup
2018-11-23 01:35:43 +13:00
Michael Keller 6ab67274da
Merge pull request #7097 from TonyBlit/gps_rescue_gpslost
GPS Rescue: Add GPS LOST to Sanity Checks
2018-11-23 01:14:49 +13:00
Michael Keller c3e1e6a900
Merge pull request #7094 from jflyper/bfdev-protect-max7456-driver-from-unconfigured-spi
[MAX7456] Protect MAX7456 driver from unconfigured SPI
2018-11-23 01:08:50 +13:00
Michael Keller 233a68c9c1
Merge pull request #6163 from RicoKirstein/pll_osd_clock
added the USEMCO2ASOSDCLOCK define for the F7 cpus.
2018-11-22 20:58:25 +13:00
Michael Keller af8383993d
Merge pull request #7091 from etracer65/launch_control_iterm_limit
Launch Control: Add yaw iterm windup limit
2018-11-22 20:43:07 +13:00
Bruce Luckcuck 5783dfc1fa GPS Rescue code cleanup 2018-11-19 18:02:42 -05:00
Tony Cabello 13a4561cf3 Motor diag showing low positions on idle 2018-11-19 22:38:08 +01:00
flywoo 375729168c Add board description and default CAMERA_CONTROL pin 2018-11-18 13:14:39 +08:00
flywoo ce45539982 Add new target FLYWOOF7DUAL 2018-11-17 18:12:09 +08:00
Tony Cabello 888c0e48f6 GPS Rescue: Add GPS LOST to Sanity Checks 2018-11-16 15:01:24 +01:00
jflyper f434f53c35 Protect MAX7456 driver from unconfigured SPI 2018-11-16 16:43:09 +09:00
Michael Keller f57b3f3dc7
Merge pull request #7086 from jflyper/bfdev-fix-dashboard-buffer-overrun2
[DASHBOARD] Fix buffer overruns
2018-11-15 11:40:30 +13:00
Bruce Luckcuck 932b8e01c8 Launch Control: Add yaw iterm windup limit
When operating in `launch_control_mode = FULL` mode (all axes), limit the yaw iterm to reduce the risk of windup.
2018-11-14 17:23:20 -05:00
Michael Keller 3bf98bd9c7 Fixed outdated define. 2018-11-15 10:34:08 +13:00
Michael Keller 37c314976b
Merge pull request #7090 from mikeller/fix_spracingf3neo_flash_overflow
Fixed flash overflow on SPRACINGF3NEO.
2018-11-15 09:52:53 +13:00
mikeller 16b93eb618 Fixed flash overflow on SPRACINGF3NEO. 2018-11-15 07:18:15 +13:00
Michael Keller f0f98c920c
Merge pull request #7085 from etracer65/rc_smoothing_auto_factor
RC Smoothing: allow the user to adjust the "smoothness" of the auto cutoff calc
2018-11-15 07:07:23 +13:00