Thorsten Laux
13c009da64
add shared.c
2019-03-03 11:34:32 +01:00
Thorsten Laux
cec679ac60
incorporte review feedback
2019-03-03 11:33:14 +01:00
mikeller
fe6583fa77
Fixed Dshot for hal (F7).
2019-03-03 23:30:09 +13:00
Pieter Kruger
d2e7abd5c6
Add fix for runtimeEntryFlags array overrun
2019-03-03 13:27:35 +10:00
mikeller
1c05c7ead6
Added Spektrum SPI driver.
2019-03-03 14:54:38 +13:00
ctzsnooze
0f8c85ad0d
Update unit test values for higher relax threshold
...
Update unit test values for higher relax threshold
2019-03-03 11:34:07 +11:00
ctzsnooze
3458a75283
use a define for ITERM_RELAX_CUTOFF_DEFAULT
...
use a define for ITERM_RELAX_CUTOFF_DEFAULT
lock in at 20hz by default
update comment about why do this
2019-03-03 11:34:07 +11:00
ctzsnooze
a0237e6cde
Defaults set, Annotations
...
Default threshold 40 deg/sec
Anotations provided to explain
- cutoff independence factor when calculating itermRelaxSetpointThreshold
- meaning of ITERM_RELAX_SETPOINT_THRESHOLD
2019-03-03 11:34:07 +11:00
mikeller
acf759b82e
Fixed detection of brushless / brushed motors.
2019-03-03 13:01:04 +13:00
Michael Keller
a646c09c2c
Merge pull request #7682 from dthubereng/mode-logic-rework
...
Updated mode logic to work more intuitively
2019-03-03 12:40:17 +13:00
Kenneth Mitchell
832306743e
Automatically adjust bin offset based on dyn notch minimum.
...
Changes per review.
Drop min HZ to allow for 7".
Put alignment back.
Fix mistakenly delete variable.
2019-03-02 18:06:04 -05:00
Michael Keller
111b023fcd
Merge pull request #7701 from mikeller/fix_target_independence_check
...
Fix false positives in target independence check.
2019-03-03 09:11:25 +13:00
Hans Christian Olaussen
69f17b2c6d
Make placing ADC DMA buffer in FAST RAM conditional to F7
...
Use FAST RAM for F7 mcus only
2019-03-02 18:18:30 +01:00
Michael Keller
8263e0bbac
Merge pull request #7687 from klutvott123/adc-dma-fix
...
Place ADC DMA buffer in DTCM RAM
2019-03-03 03:27:08 +13:00
mikeller
d0cb95a7e1
Fix false positives in target independence check.
2019-03-03 03:18:48 +13:00
MJ666
4a00223135
Fix AlienFlight F4 external ADC pin
2019-03-02 14:01:27 +01:00
MJ666
ddfbec5396
Update and move AlienFlight F4 and AlienFlightNG F7 genric target
...
configurations
2019-03-02 14:01:27 +01:00
Michael Keller
be66d46aa3
Merge pull request #7686 from joelucid/dshot_bidir_f3fix
...
allow use of dshot bidir on targets without burst
2019-03-03 01:15:24 +13:00
Michael Keller
05b75261f4
Merge pull request #7683 from mikeller/fix_travis_verbosity
...
Fix the verbosity of the tests when run in Travis.
2019-03-03 01:12:37 +13:00
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
Thorsten Laux
16b966fb70
revert target changes
2019-03-01 14:13:01 +01:00
Hans Christian Olaussen
15e5f9980f
Place ADC DMA buffer in DTCM RAM
...
Places adcValues in non cached DTCM RAM to avoid problems when D-cache is enabled for F7 mcus.
2019-03-01 13:31:45 +01:00
Thorsten Laux
f6ecf097e1
allow use of dshot bidir on targets without burst
2019-03-01 13:24:21 +01:00
Thorsten Laux
4af3308edf
fix debug variables on f3
2019-03-01 12:54:45 +01:00
Thorsten Laux
0bb52bd9b8
add a comment
2019-03-01 10:00:41 +01:00
Thorsten Laux
d2147d4ece
dshot bidir support for f7
2019-03-01 09:50:22 +01:00
Michael Keller
31150827de
Fix the verbosity of the tests when run in Travis.
2019-03-01 20:47:12 +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
Dave Huber
fbe42a0646
Updated mode logic to work more intuitively
...
Any OR macs OR all AND macs required to activate mode
2019-02-28 20:01:42 -06: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