1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00
Commit graph

7242 commits

Author SHA1 Message Date
Martin Budden
cdbbad2012 Alignment with iNav 2017-01-31 00:50:26 +01:00
Michael Keller
7cdd381857 Fixed typo in generated comment. 2017-01-31 00:50:26 +01:00
Petr Ledvina
0fb5128d4a Improve ATOMIC_BARRIER documentation 2017-01-31 00:50:26 +01:00
Petr Ledvina
108d9d6b61 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 00:50:26 +01:00
Martin Budden
46fa01a4b8 Added STM32F722xx FLASH page size 2017-01-31 00:50:26 +01:00
Martin Budden
4dee6b7ddd Fixed up unit tests and ROM sizes 2017-01-31 00:50:26 +01:00
Martin Budden
83343e1d86 Preparation for doing PG differencing in CLI 2017-01-31 00:50:26 +01:00
Martin Budden
9e529a28ca Updates as per iNav 2017-01-31 00:50:26 +01:00
Martin Budden
87570f2dc9 Added dummy PG. Fixed setting of profile 2017-01-31 00:50:26 +01:00
Martin Budden
dd87908a56 Fixed typo 2017-01-31 00:50:26 +01:00
Martin Budden
44f4e479eb Parameter groups EEPROM migration 2017-01-31 00:50:26 +01:00
Michael Keller
0307bf6f87 Rebase of #1917: Update SDK to 6.2.1 2016q4 (thanks to @TheAngularity). 2017-01-31 00:50:26 +01:00
Raphael Coeffic
50ddce7227 added MSP_VTX_CONFIG & MSP_SET_VTX_CONFIG 2017-01-31 00:50:26 +01:00
Raphael Coeffic
82405fd50c some fixes for vtx_common 2017-01-31 00:50:26 +01:00
Martin Budden
6dc16ce42c Changed back to using -Ofast optimisation 2017-01-31 00:50:26 +01:00
Martin Budden
b8b790ba1f Reorder accgyro_mpu.c functions for clarity and to avoid forward declarations 2017-01-31 00:50:26 +01:00
Martin Budden
0aa83ad4f8 Updated version, MSP version and EEPROM_CONF_VERSION for 3.2 2017-01-31 00:50:26 +01:00
Martin Budden
135acdddaa Reviewed and revised compiler speed optimisations 2017-01-31 00:49:11 +01:00
DieHertz
90e7bef9e4 Added PWM inversion to motor config 2017-01-31 00:49:11 +01:00
Martin Budden
8f3ef2676f Tidied cms imu code 2017-01-31 00:49:11 +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
mikeller
990c13b7ea Set MINIMAL_CLI to be default for F3. Added more size reductions to MINIMAL_CLI. 2017-01-29 01:15:42 +01:00
fishpepper
b24cdcdbd3 fixes led strip 2017-01-29 00:53:19 +01:00
borisbstyle
6295b7b98f Set version // undefine GPS on BFF3 // Bump EEPROM 2017-01-29 00:50:30 +01:00
Dan Nixon
7e69f3bb6e Correct filesize conversion for flash 2017-01-29 00:33:54 +01:00
Dan Nixon
7f8a6c24fa Show storage unit, protect blackbox config changes 2017-01-29 00:33:43 +01:00
Dan Nixon
8fb5ea5156 Add blackbox storage and device selection to CMS 2017-01-29 00:33:38 +01:00
blckmn
1330c8998e Newline 2017-01-29 00:30:51 +01:00
blckmn
ab8f045c4f Fixes for REVONANO (thanks @velez for hardware) 2017-01-29 00:30:39 +01:00
Dan Nixon
1ad3d74f9f Add PID and rate profile and battery warn to OSD 2017-01-29 00:27:25 +01:00
borisbstyle
c89a88a9f2 Merge branch 'patch_v3.1.1' of https://github.com/betaflight/betaflight into patch_v3.1.1 2017-01-29 00:24:58 +01:00