Commit Graph

7350 Commits

Author SHA1 Message Date
Michael Keller 51b91ec3a9 Merge pull request #2286 from mikeller/cleanup_spracingf3_target
Cleaned up SPRACINGF3 (and TINYBEEF3 variant) targets.
2017-02-03 19:06:16 +13:00
Michael Keller eaf1fb6d65 Merge pull request #2311 from Szpero/patch-1
Update target.c for AIR32 - DSHOT fix
2017-02-03 15:56:31 +13:00
Szpero 0d931c7f51 Update target.c 2017-02-03 03:40:29 +01:00
Szpero 8eead7d1aa Update target.c
Fix for non working DSHOT. Old file not maping motors to DMA channels so DSHOT was unable to work.
Still motor 1 need to be remaped to PPM PA7.
2017-02-03 02:46:13 +01:00
Michael Keller ecaccebc02 Merge pull request #2267 from brycedjohnson/blackboxerase
Added Blackbox Erase to a switch
2017-02-03 08:29:24 +13:00
borisbstyle be74098162 Merge tag 'v3.1.3' 2017-02-02 14:18:48 +01:00
borisbstyle 73b498e472 Bump version 2017-02-02 14:11:43 +01:00
Martin Budden 2406e0744a Minor improvement to efficiency of PID calculation 2017-02-02 13:59:17 +01:00
Martin Budden 080f9b7923 Fix to calculation of ITerm anti-windup 2017-02-02 13:59:11 +01:00
Martin Budden 80700c2158 Merge pull request #2288 from martinbudden/bf_pg_preparation3
Preparation for conversion to parameter groups 3
2017-02-02 09:06:17 +00:00
Bryce Johnson 22d11e35b2 Added blackbox erase for flashchips
revert back initBlackbox

Fixed blackbox erase when full.
Change BOXBLACKBOXERASE to the end

Blackbox erase changes
Moved the ARM detect into the blackbox statemachine
Added blackbox erase start and end beep

Tab to space
2017-02-01 22:07:56 -06:00
borisbstyle 51b19855dd Merge tag 'v3.1.2' 2017-02-02 00:23:33 +01:00
borisbstyle 70807d016b Slightly less agressive defaults 2017-02-02 00:09:35 +01:00
mikeller f0cd1c8b03 Fixed CLI setting names. 2017-02-02 00:02:33 +01:00
borisbstyle 0b3d385924 Bump Version 2017-02-01 23:53:57 +01:00
borisbstyle 58bcb981ed Decouple min_check from throttle // Add modern expo calculation to throttle curve 2017-02-01 23:53:29 +01:00
MJ666 afc229d07f Merge pull request #2289 from AlienWiiBF/F7_SPI_Fix
F7 SPI HAL driver fix
2017-02-01 23:07:12 +01:00
Michael Jakob ef54903604 F7 SPI HAL driver fix 2017-02-01 22:36:53 +01:00
Martin Budden 07dc35d441 Removed mixer and battery config static copies 2017-02-01 13:09:46 +00:00
Martin Budden 5851b21e4a Removed a number of static config pointers 2017-02-01 12:58:29 +00:00
Martin Budden a3951a3340 Preparation for conversion to parameter groups 3 2017-02-01 12:24:58 +00:00
Martin Budden 5d5845d9af Merge pull request #2285 from martinbudden/bf_pg_preparation2
Preparation for conversion to parameter groups 2
2017-02-01 12:24:09 +00:00
Martin Budden e41d6a3b5b Preparation for conversion to parameter groups 2017-02-01 10:44:12 +00:00
Martin Budden 9828b7c444 Merge pull request #2204 from martinbudden/bf_pg_preparation
Preparation for conversion to parameter groups
2017-02-01 09:18:36 +00:00
Martin Budden 79d4b2146d Preparation for conversion to parameter groups 2017-02-01 08:46:19 +00:00
Martin Budden 2ce712658b Merge pull request #2280 from blckmn/res_update1
Added brackets around MAX_RESOURCE_INDEX in cli
2017-02-01 08:15:53 +00:00
Martin Budden 6f872ba899 Merge pull request #2273 from martinbudden/bf_mpu_fn_ptr
Renamed MPU function pointers, align with iNav
2017-02-01 08:13:14 +00:00
Michael Keller db600a26b0 Merge pull request #2277 from DanNixon/osd_stats_blackbox
Display used blackbox storage space on OSD stats screen
2017-02-01 13:19:11 +13:00
blckmn 023309245a Update based on suggestion from @ledvinap 2017-02-01 08:34:27 +11:00
Dan Nixon c02ff31580 Add blackbox state and free space to OSD stats 2017-01-31 14:31:22 +00:00
borisbstyle e7d90eb431 Merge branch 'master' of https://github.com/betaflight/betaflight 2017-01-31 14:21:25 +01:00
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