Petr Ledvina
107fc11939
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-26 09:40:17 +13:00
Michael Keller
42256ca8b5
Merge pull request #2216 from mikeller/bump_sdk_to_6_2_1_q4
...
Rebase of #1917 : Update SDK to 6.2.1 2016q4 (thanks to @TheAngularity).
2017-01-26 09:26:22 +13:00
Michael Keller
db393b8bca
Merge pull request #2211 from mikeller/fixed_ibus_telemetry_handling
...
Fixed iBus telemetry handling (cherry-pick from @marcroe 's work in #2170 ).
2017-01-26 09:25:28 +13:00
Martin Budden
e4c860d4dd
Added STM32F722xx FLASH page size
2017-01-25 20:23:52 +00:00
Martin Budden
fc296533cd
Fixed up unit tests and ROM sizes
2017-01-25 20:23:52 +00:00
Martin Budden
0bca9e0c7a
Preparation for doing PG differencing in CLI
2017-01-25 20:23:52 +00:00
Martin Budden
6ef5f0579a
Updates as per iNav
2017-01-25 20:23:52 +00:00
Martin Budden
6ee5cf1d5d
Added dummy PG. Fixed setting of profile
2017-01-25 20:23:52 +00:00
Martin Budden
106542008f
Fixed typo
2017-01-25 20:23:52 +00:00
Martin Budden
44004b0b0b
Parameter groups EEPROM migration
2017-01-25 20:23:52 +00:00
Michael Keller
bce0415218
Merge pull request #2146 from raphaelcoeffic/vtx-msp
...
Vtx MSP requests (rebased / squashed)
2017-01-26 09:23:38 +13:00
Michael Keller
2070246314
Rebase of #1917 : Update SDK to 6.2.1 2016q4 (thanks to @TheAngularity).
2017-01-26 08:56:22 +13:00
Raphael Coeffic
ebce3d9847
added MSP_VTX_CONFIG & MSP_SET_VTX_CONFIG
2017-01-25 20:32:35 +01:00
Raphael Coeffic
bdbd7b1a8a
some fixes for vtx_common
2017-01-25 20:32:35 +01:00
mikeller
733e515610
Fixed iBus telemetry handling (cherry-pick from @marcroe 's work in #2170 .
2017-01-26 08:19:53 +13:00
Martin Budden
73308e8246
Reorder accgyro_mpu.c functions for clarity and to avoid forward declarations
2017-01-25 18:16:05 +00:00
Martin Budden
deb2052d8e
Updated version, MSP version and EEPROM_CONF_VERSION for 3.2
2017-01-25 17:08:51 +00:00
borisbstyle
2a3104606b
Revert "Increased MSP API version number for next release."
2017-01-25 08:39:56 +01:00
jflyper
753afe0562
Don't write back uninitialized features on onGlobalExit
2017-01-25 11:49:32 +09:00
Michael Keller
109b9b2ca1
Merge pull request #2208 from mikeller/moved_lua_scripts_to_new_repo
...
Moved lua scripts to 'betaflight-tx-lua-scripts' repository.
2017-01-25 13:17:49 +13:00
Michael Keller
8a32f9b875
Moved lua scripts to 'betaflight-tx-lua-scripts' repository.
2017-01-25 13:17:16 +13:00
Michael Keller
1fe48b913a
Merge pull request #2193 from mikeller/disable_current_sensing_without_battery
...
Disabled battery current sensing if no battery is connected.
2017-01-25 12:56:32 +13:00
Michael Keller
0bbbc1290c
Increased MSP API version number for next release.
2017-01-25 12:54:07 +13:00
borisbstyle
6ea7f34745
Bump EEPROM version
2017-01-24 22:36:52 +01:00
borisbstyle
38abced6a9
Fix truncated blackbox logging by restoring PID scale
2017-01-24 22:33:18 +01:00
borisbstyle
c96ffe5164
Add fpvCamAngle to MSP
2017-01-24 21:53:39 +01:00
borisbstyle
68b1f51926
Apply fpv angle mix to calculated rate instead of rcCommand
2017-01-24 13:34:45 +01:00
borisbstyle
c5c5dccd0f
Change OSD defaults
2017-01-24 12:46:56 +01:00
borisbstyle
e84f2c8796
Increase Configurable Filter Range
2017-01-23 09:27:19 +01:00
Michael Keller
07c743e352
Merge pull request #2192 from mikeller/fix_amperage_latest_type
...
Adjusted 'amperageLatest' data type to be 'int32_t' to be consistent with 'amperage'.
2017-01-23 12:46:58 +13:00
Michael Keller
6ad09ee244
Merge pull request #2175 from mikeller/reinstate_telemetry_msp_port_sharing
...
Reinstated telemetry / MSP port sharing, since it can work if 'telemetry_switch' is set to true.
2017-01-23 12:46:33 +13:00
Michael Keller
1395d1cd34
Merge pull request #2145 from mikeller/added_flip32f3osd_target
...
Added FLIP32F3OSD target, changed ZCOREF3 target into a variant of SPRACINGF3.
2017-01-23 12:46:12 +13:00
Michael Keller
1b5ad8dd4f
Increased MSP API version for next release.
2017-01-23 12:43:21 +13:00
Michael Keller
33c020fcc3
Disabled battery current sensing if no battery is connected.
2017-01-23 12:41:45 +13:00
Michael Keller
c6e9b6b772
Adjusted 'amperageLatest' data type to be 'int32_t' to be consistent with 'amperage'.
2017-01-23 11:48:25 +13:00
Martin Budden
8e79e8092e
Fixed up whitespace
2017-01-22 22:42:45 +00:00
borisbstyle
951e8271a5
Merge pull request #2176 from AndersHoglund/bff3_spek_bind_pin
...
BFF3 correct Spektrum sat bind pin.
2017-01-21 14:19:58 +01:00
Anders Hoglund
1ea0756718
BFF3 correct Spektrum sat bind pin.
2017-01-21 13:40:37 +01:00
borisbstyle
977d69657f
Revert "Some Flash space savings. Not relevant parameters are not shown"
...
This reverts commit 8f017b93e5
.
2017-01-21 13:20:11 +01:00
mikeller
8319bf4c69
Reinstated telemetry / MSP port sharing, since it can work if 'telemetry_switch' is true.
2017-01-21 22:48:01 +13:00
borisbstyle
e1024619cd
Merge pull request #2174 from martinbudden/bf_cli_valuetable_rom_save
...
Saved ROM in CLI valuTable by limiting min/max to int16_t
2017-01-21 09:03:34 +01:00
Martin Budden
5aa6187b00
Saved ROM in CLI valuTable by limiting min/max to int16_t
2017-01-21 07:42:18 +00:00
Anders Höglund
a1aa44945c
Merge pull request #2144 from blckmn/patch
...
Added define for turning on MSP on first UART for custom build
2017-01-20 18:08:18 +01:00
DieHertz
c932bd7313
Added PWM inversion to motor config
2017-01-19 22:53:50 +03:00
borisbstyle
33316a40df
Merge pull request #2158 from jflyper/bfdev-remove-contamenation-vtx_singularity
...
Remove bogus files vtx_singularity.[ch]
2017-01-19 17:24:08 +01:00
borisbstyle
cdce6d59fe
Merge pull request #2163 from AndersHoglund/usb_vcp_f1_only
...
USB VCP Interrupt fix only for STM32F10X, problem on DOGE fixed.
2017-01-19 17:23:06 +01:00
J Blackman
85ce599bdd
Merge pull request #2164 from raphaelcoeffic/sport-no-timeout
...
smartport: removed disabling on timeout
2017-01-20 03:21:31 +11:00
Raphael Coeffic
07a6cf92b7
smartport: removed disabling on timeout
...
and refuse to initialise in case the port is shared with something else (would not work anyway).
2017-01-19 15:18:24 +01:00
Anders Hoglund
ec50e1c041
USB VCP Interrupt fix only for STM32F10X, problem on DOGE xied.
2017-01-19 14:53:03 +01:00
MJ666
3d6a331fc9
Merge pull request #2161 from AlienWiiBF/F7LibFix
...
Cleanup F7 CMSIS and HAL Library compiler warnings
2017-01-19 00:21:46 -08:00