Commit Graph

7422 Commits

Author SHA1 Message Date
Martin 8c96d9e1ab CLI: use strtok_r instead of strtok 2017-01-31 12:25:44 -05: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
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
Michael Jakob 61d72b8738 Renamed MPU function pointers, align with iNav 2017-01-31 10:11:05 +00:00
J Blackman 48e7c62506 Merge pull request #2276 from mikeller/clarify_resource_remapping_output
Clarified resource remapping output and fixed output in case of double mapping.
2017-01-31 19:25:05 +11:00
Michael Keller 4765ff4109 Clarified resource remapping output and fixed output in case of double mapping. 2017-01-31 14:11:37 +13:00
borisbstyle 46e1526103 Merge branch 'master_test' 2017-01-31 00:51:59 +01:00
Martin Budden 4868b60b5b Put #includes into alphabetical order 2017-01-31 00:50:26 +01:00
Martin Budden 431e0e23dd Fixup test code 2017-01-31 00:50:26 +01:00
Martin Budden 14a126c52e Moved gps_conversion to common/ directory 2017-01-31 00:50:26 +01:00
jflyper 7ce3753eac Fix TARGET_IO_PORTx defs
So bogus ports don’t show up on “resource list”.
2017-01-31 00:50:26 +01:00
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