Commit Graph

13525 Commits

Author SHA1 Message Date
mikeller 96d5b5dcac Added configurability for FlySky. 2019-03-02 23:54:02 +13:00
mikeller 86a5a30267 Made CC2500 (FrSky, SFHSS) SPI RX runtime configurable. 2019-03-02 23:15:32 +13:00
Michael Keller 29db27584f
Merge pull request #7677 from mikeller/add_f411_f446_f745_support
Added support for F411, F446, F745, F765.
2019-03-02 11:48:34 +13:00
Michael Keller fa2bb3fc58
Merge pull request #7657 from mikeller/fix_gcc_8_build
Fixed build for gcc 8 (SITL).
2019-03-02 11:13:47 +13:00
Michael Keller 111834d6e3
Merge pull request #7680 from mikeller/fix_led_strip_transponder
Fixed LED_STRIP and TRANSPONDER.
2019-03-02 10:30:32 +13:00
Michael Keller daa6df8024
Merge pull request #7676 from mikeller/fix_cli_printerrorlinef
Fixed 'cliPrintErrorLinef'.
2019-03-01 20:22:00 +13:00
Michael Keller 2aeedced6b
Merge pull request #7675 from czchc/set_usb_detect_pin_ipd
set usbDetectPin to input pull down
2019-03-01 20:20:17 +13:00
Michael Keller 394807f558
Merge pull request #7679 from mikeller/fix_readme_formatting
Fixed formatting in README.md.
2019-03-01 13:52:56 +13:00
mikeller 1f0ab65c44 Fixed LED_STRIP and TRANSPONDER. 2019-03-01 04:53:32 +13:00
mikeller 3fd3b5cb68 Fixed formatting in README.md. 2019-03-01 04:34:07 +13:00
Michael Keller 1aef1a7448
Merge pull request #7629 from linuxdude21/patch-2
Profiles.md
2019-03-01 04:26:38 +13:00
mikeller 060759d9f1 Added STM32F745 unified target. 2019-03-01 04:21:03 +13:00
mikeller 6cacaf00a1 Added STM32F411 unified target. 2019-03-01 03:31:49 +13:00
mikeller de8f4028e3 Added support for F411, F446, F745, F765.
Added MATEKSYSF411 target config.

Added CRAZYBEEF4FR unified config.
2019-03-01 02:44:23 +13:00
Michael Keller 1507cc880c
Merge pull request #7667 from mikeller/fix_vtx_tramp_warning
Fixed VTX tramp unconfigured warning when VTX tables are not enabled.
2019-03-01 02:07:47 +13:00
Michael Keller fc9b39ddd7
Merge pull request #7652 from ctzsnooze/itermRelax-Setpoint-Fix
iTermRelaxFactor fixed to only attenuate amount added to I each loop
2019-03-01 01:53:03 +13:00
Michael Keller bf1d72c568
Merge pull request #7673 from mikeller/publish_feature_freeze_announcement
Updating README.md and the pull request template for the feature freeze / STM32F3 retirement.
2019-03-01 01:50:41 +13:00
Michael Keller 657e858ea6
Merge pull request #7672 from mikeller/make_fully_configurable
Made DMA options configurable.
2019-03-01 01:49:24 +13:00
mikeller 319dd7e109 Fixed 'cliPrintErrorLinef'. 2019-03-01 01:47:48 +13:00
mikeller e65c0f890e Fixed DMA option index check. 2019-02-28 20:27:04 +13:00
czchc 148ee91b1f set usbDetectPin to input pull down 2019-02-28 14:54:38 +08:00
mikeller 03dc1a1aee Fixed tests. 2019-02-28 19:52:11 +13:00
ctzsnooze 1d998ea404 iTermRelaxFactor now only attenuates amount added
The original setpoint based iTerm Relax code attenuated the amount of iTerm added per loop by a relax factor based on an HPF of setpoint.
At some point the code was re-factored and the relax factor multiplied the accumulating iterm error itself, such that almost any relax factor below 1.0 would quickly zero out iTerm.
This was bad for racing because when making sustained tight turns, I would abrubtly be zeroed when the setpoint for the starting of some relax was close to the threshold.
This was never the intent of the original proposal, which was for a smoother attenuation of iTerm, and for retention of some accumulation of iTerm during spirals around poles etc.
This PR fixes that error.
It also changes the default threshold up from 30 deg/s to 40 deg/s which better suits racing.
Also included us a form of simple cutoff independence. In the initial form, lowering cutoff would reduce the effectiveness but draw out the duration.  Now cutoff only really affects duration.
Lower cutoff values are better for quads with greater motor delay, faster values are better for quicker quads. For most of my quads a cutoff of 30 works best.
I've also removed newlines.

set to current cutoff maybe fix unit test

default cutoff set to current value

in unit test add itermRelaxSetpointThreshold as float

in unit test add itermRelaxSetpointThreshold as float, because ITERM_RELAX_SETPOINT_THRESHOLD doesn't exist any more

Move itermRelaxFactor limit, remove from fast ram

remove unncessary max, revert unit test changes, restore original defaults.

remove max from debug
restore old defaults and revert unit test changes temporarily to see if will pass unit test with defaults

whoops

lets see if unit test passes when cutoff is 20

lets see if unit test passes when cutoff is 20
2019-02-28 19:51:50 +13:00
Michael Keller b5dd2d80b7 Updating README.md and the pull request template for the feature freeze / STM32F3 retirement. 2019-02-28 09:23:31 +13:00
mikeller 31425f5171 Made DMA options configurable. 2019-02-28 02:20:43 +13:00
Michael Keller 750e7c30cf
Merge pull request #7620 from mikeller/add_timer_management_to_all_f4
Enabled timer management for all F405 / F722 boards.
2019-02-28 01:21:23 +13:00
mikeller f8103b8c86 Added DMA mapping (readonly for now), and enabled timer management for all F4 boards.
Converting the universal target as well.

Simplified timer management some.

Added F722 support for good measuer.

Fixed SITL, tests.

Cleanup after rebase.

Added support for all timer consumers and F7.

Fixed 'USE_DMA_SPEC' for F3, some cleanups.
2019-02-28 00:25:43 +13:00
Michael Keller 9f8ad1aa44
Merge pull request #7665 from mikeller/temporarily_disable_spi_transactions
Temporarily disable SPI transactions for the 4.0 release.
2019-02-27 23:00:41 +13:00
Michael Keller 6a41cdb914 Temporarily disable SPI transactions for the 4.0 release. 2019-02-27 19:55:51 +13:00
Michael Keller 846888038b
Merge pull request #7664 from mikeller/temporarily_disable_vtx_tables
Temporarily disable VTX tables for the 4.0 release.
2019-02-27 19:53:52 +13:00
Michael Keller 337494e700
Merge pull request #7663 from hydra/rebuild-if-linker-script-changes
Rebuild ELF if linker script is changed.
2019-02-27 19:53:33 +13:00
Michael Keller 10e6e0f46d
Merge pull request #7658 from mikeller/add_pre_push
Added 'pre-push' build targets, added to pull request instructions.
2019-02-27 06:43:01 +13:00
Michael Keller ff28ccc328
Merge pull request #7660 from etracer65/fix_kiwif4_use_acc
Add missing USE_ACC to KIWIF4, KIWIF4V2 and PLUMF4 targets
2019-02-27 06:16:00 +13:00
mikeller c89ee81fff Fixed VTX tramp unconfigured warning when VTX tables are not enabled. 2019-02-27 06:06:42 +13:00
mikeller d3745d7e31 Removed 'size' parameter from 'pgResetFunc'. 2019-02-26 22:37:16 +13:00
mikeller 35bb19d6d4 Made PRE_PUSH_TARGET_LIST settable from 'make/local.mk'. 2019-02-26 21:02:45 +13:00
Michael Keller dc6aad22c5
Merge pull request #7650 from 4712betaflight/serial-4way-if-v20003
Increase serial-4way-if version number
2019-02-26 14:38:16 +13:00
Michael Keller 56d55c9b8c
Merge pull request #7651 from etracer65/tramp_cms_config_msg_fix
Fix logic for tramp CMS "PLEASE CONFIGURE VTXTABLE" message
2019-02-26 14:38:00 +13:00
Michael Keller d00fb6d61c Temporarily disable VTX tables for the 4.0 release. 2019-02-26 13:02:00 +13:00
Dominic Clifton dbdb6d30fc Rebuild ELF if linker script is changed.
# Conflicts:
#	Makefile
2019-02-25 23:18:20 +01:00
Bruce Luckcuck fe15ded26b Add missing USE_ACC to KIWIF4, KIWIF4V2 and PLUMF4 targets 2019-02-25 10:07:22 -05:00
Michael Keller 94bf95bf3c
Merge pull request #7646 from etracer65/osd_handle_delayed_gps
Fix OSD active elements init logic to handle items with delayed activation
2019-02-25 19:49:59 +13:00
Michael Keller 2b29c2d7d0 Added 'pre-push' build targets, added to pull request instructions. 2019-02-25 15:57:12 +13:00
Michael Keller 93f933f01f Fixed build for gcc 8 (SITL). 2019-02-25 15:34:34 +13:00
Bruce Luckcuck 1fedac2b35 Fix logic for tramp CMS "PLEASE CONFIGURE VTXTABLE" message 2019-02-24 09:43:04 -05:00
4712 a51840ef6f Increase serial-4way-if version number 2019-02-24 12:38:42 +01:00
Michael Keller b5fba14cb3
Merge pull request #7642 from mikeller/fix_missing_platform_includes
Fix missing 'platform.h' includes in compilation units, and make them stay away.
2019-02-24 22:25:18 +13:00
Michael Keller 40d6c44220
Merge pull request #7641 from etracer65/use_beeper_compile_warnings
Fix compile warnings when USE_BEEPER is not defined
2019-02-24 12:34:06 +13:00
Michael Keller 50a342232a
Merge pull request #7640 from 4712betaflight/serial-4way-if-v20003
Update serial 4way-if to v20003
2019-02-24 12:33:48 +13:00
Michael Keller 496f066394
Merge pull request #7606 from dthubereng/mode-links-and-ranges
Update activation masks with linked mode
2019-02-24 12:26:41 +13:00