Commit Graph

7252 Commits

Author SHA1 Message Date
Martin Budden ae9fc8a58d Changed back to using -Ofast optimisation 2017-01-31 14:20:38 +01:00
Martin Budden c1e84c1bfd Updated version, MSP version and EEPROM_CONF_VERSION for 3.2 2017-01-31 14:20:37 +01:00
Martin Budden 7521cd0fcb Reviewed and revised compiler speed optimisations 2017-01-31 14:20:36 +01:00
Martin Budden 7e76dc80a4 Put #includes into alphabetical order 2017-01-31 14:20:35 +01:00
Martin Budden 003d331291 Fixup test code 2017-01-31 14:20:34 +01:00
Martin Budden ca11e3de8e Moved gps_conversion to common/ directory 2017-01-31 14:20:33 +01:00
jflyper 3e85d1fe14 Fix TARGET_IO_PORTx defs
So bogus ports don’t show up on “resource list”.
2017-01-31 14:20:32 +01:00
Martin Budden 8a26c3bcfb Alignment with iNav 2017-01-31 14:20:31 +01:00
Michael Keller deb5363873 Fixed typo in generated comment. 2017-01-31 14:20:31 +01:00
Petr Ledvina 2171d0115a Improve ATOMIC_BARRIER documentation 2017-01-31 14:20:30 +01:00
Petr Ledvina 5b11326eb1 Fix atomic.h
`=m` output operand means that value is write only, gcc may discard previous value because it assumes that it will be overwritten. This bug was not triggered in gcc v4 because `asm volatile` triggered full memory barrier.

With old version, this code will increase `markme` only by 2, not 3:
```
static int markme = 0;
markme++;
ATOMIC_BLOCK_NB(0xff) {
  ATOMIC_BARRIER(markme);  // markme is marked as overwritten, previous increment can be discarded
  markme++;
}
markme++;
```
2017-01-31 14:20:29 +01:00
Martin Budden 3dc03d7735 Added STM32F722xx FLASH page size 2017-01-31 14:20:28 +01:00
Martin Budden ec12c35555 Fixed up unit tests and ROM sizes 2017-01-31 14:20:27 +01:00
Martin Budden cbc4629834 Preparation for doing PG differencing in CLI 2017-01-31 14:20:27 +01:00
Martin Budden 1c08319ef9 Updates as per iNav 2017-01-31 14:20:26 +01:00
Martin Budden 2aa89cf791 Added dummy PG. Fixed setting of profile 2017-01-31 14:20:25 +01:00
Martin Budden 029015afd8 Fixed typo 2017-01-31 14:20:24 +01:00
Martin Budden 974037c150 Parameter groups EEPROM migration 2017-01-31 14:20:23 +01:00
Michael Keller cbd036a187 Rebase of #1917: Update SDK to 6.2.1 2016q4 (thanks to @TheAngularity). 2017-01-31 14:20:23 +01:00
Martin Budden c190c55ce3 Changed back to using -Ofast optimisation 2017-01-31 14:20:20 +01:00
Martin Budden 5852e99998 Reorder accgyro_mpu.c functions for clarity and to avoid forward declarations 2017-01-31 14:20:20 +01:00
Martin Budden 18a65575e7 Updated version, MSP version and EEPROM_CONF_VERSION for 3.2 2017-01-31 14:20:19 +01:00
Martin Budden 34fcf7666a Reviewed and revised compiler speed optimisations 2017-01-31 14:20:18 +01:00
DieHertz 0e75b4131e Added PWM inversion to motor config 2017-01-31 14:20:17 +01:00
Martin Budden 8c4914b330 Tidied cms imu code 2017-01-31 14:20:16 +01:00
borisbstyle b7c1c58abb Fix KISSCC orientation // Remove unsupported softserial 2017-01-31 14:19:32 +01:00
Raphael Coeffic 8e0dbc04ae added MSP_VTX_CONFIG & MSP_SET_VTX_CONFIG 2017-01-31 12:54:02 +01:00
Raphael Coeffic 46b7579cac some fixes for vtx_common 2017-01-31 12:53:50 +01:00
Michael Keller 950ed79749 Clarified resource remapping output and fixed output in case of double mapping. 2017-01-31 12:52:41 +01:00
blckmn ed1ba7a89a Updated resource mapping for RCEXPLORERF3 2017-01-31 12:51:31 +01:00
borisbstyle 02b778438f Change Warning to Note 2017-01-31 00:40:15 +01:00
borisbstyle ed48051f5b Merge pull request #2274 from mikeller/fix_map_diff_default_bug
Fixed bug causing 'map' to be shown in 'diff' even if it was default.
2017-01-31 00:12:45 +01:00
borisbstyle 08f744af27 Merge branch 'resource_fix' of https://github.com/blckmn/betaflight into blckmn-resource_fix 2017-01-31 00:06:04 +01:00
blckmn 4364fcb230 Allow resources to be reassigned (when in the same resource group)
Minor improvement to allow index for non-indexable settings, such that duplicate code removed for DIFF.
2017-01-31 10:00:24 +11:00
Michael Keller d375906742 Fixed bug causing 'map' to be shown in 'diff' even if it was default. 2017-01-31 11:52:49 +13:00
borisbstyle a112c1d7d0 Separate fc_core.c from RC processing 2017-01-30 23:46:04 +01:00
borisbstyle 3d8c098bd8 Separate fc_core.c from RC processing 2017-01-30 23:43:08 +01:00
borisbstyle 98f8a4d59e Add KISSCC (KISSFC alias) 2017-01-30 17:01:54 +01:00
borisbstyle 7bfd2b5d1c Get rid of unneeded constrain 2017-01-30 16:09:58 +01:00
jflyper 3bcf96e6eb Manage BLINK attribute separate from config vars 2017-01-30 15:02:15 +01:00
Michael Keller 605066ecf5 Fix rounding of float parameters when sent over MSP. 2017-01-30 15:02:14 +01:00
blckmn 3c20108a99 Performance improvement based on feedback from @martinbudden 2017-01-30 15:02:14 +01:00
blckmn a7f50ad30a Mixer protection for not enough motors initialised 2017-01-30 15:02:13 +01:00
borisbstyle 638ed22fa8 Minor pid init precalculation optimalisations // Simplify dynC 2017-01-30 15:02:12 +01:00
borisbstyle d1944b532c Simplify cli names // flash space savings 2017-01-30 15:02:11 +01:00
borisbstyle cf04294f70 Prevent ItermAccel and windup to clash with each other 2017-01-30 15:02:10 +01:00
borisbstyle 12a6d2f848 Increase default Idle offset 2017-01-30 15:02:02 +01:00
borisbstyle ff8be19b8f Optimise / fix new transition calculations // Dont use accelerator during anti windup 2017-01-30 15:01:49 +01:00
borisbstyle ad892400e5 Cleanup and optimize new anti windup // Simplify relaxFactor to Dterm 2017-01-29 02:35:11 +01:00
Martin Budden 9dfb3e45ee Add ITerm anti-windup based on motor output saturation
Added noise threshold for PID ITerm accumulation

Removed ITerm setpoint scaler. Added CLI and MSP settings

Made default ITerm noise threshold zero. Added CLI setting.

Removed itermWindupPointPercent from MSP
2017-01-29 01:30:35 +01:00