Dan Nixon
3aeef39b5a
Add OSD and beeper warnings for anti turtle mode
2017-10-10 08:20:56 +01:00
Martin Budden
e7bee05005
Merge pull request #4210 from codecae/msp_shared_ringbuffer
...
Improved msp frame handling for CRSF
2017-10-09 15:05:56 +01:00
Curtis Bangert
4fd948cb24
Created buffer for msp frames and improved msp over telemetry performance for CRSF.
2017-10-09 08:52:16 -04:00
Martin Budden
6e025aeba6
Merge pull request #4230 from martinbudden/bf_rc_split_tidy
...
RC Split tidy
2017-10-09 13:12:51 +01:00
Michael Keller
610053b299
Merge pull request #4286 from mikeller/de-duplicate-os-detection
...
From Cleanflight: De-duplicate OS detection in test Makefile.
2017-10-10 00:41:14 +13:00
Dominic Clifton
36d0d7bc8f
Merge pull request #2954 from cleanflight/de-duplicate-os-detection
...
CF/BF - De-duplicate OS detection in test Makefile.
2017-10-05 20:36:42 +13:00
Curtis Bangert
99f02ffdd0
Added conditions to test for accelerometer configuration before sending telemetry
2017-10-04 13:38:32 -04:00
Petr Ledvina
acedb4676d
Add -flocks only to clang
2017-09-27 14:29:37 +02:00
Petr Ledvina
f564cdf952
Fix atomic in unittests ( #4240 )
...
Add unittest support for ATOMIC_BLOCK
- BASEPRI emulation on UNIT_TEST target
- documentation cleanup / fixed missspelings
- ATOMIC_BARRIER implemented for CLang, using blocks
- ATOMIC_BARRIER is using macros to separate barriers
gcc specific unittest for ATOMIC_BARRIER
ATOMIC_BARRIER clang unittest
quick hack to enable CLangs -flocks + ATOMIC_BARRIER tests
Needs cleanup
* Enable test
* Add libBlocksRuntime dependency to Travis
2017-09-27 13:12:37 +01:00
jirif
cbefe71a73
Fast stick commands ( #4208 )
...
Implemented time-based stick command handling
2017-09-26 13:36:54 +03:00
Martin Budden
170e2f5c07
Fixed test code
2017-09-25 07:58:30 +01:00
Adrian Miriuta
7146c40ca8
HEADFREE true 3D (second edition)...
...
reduced memory footprint ...
rebased squashed cleanup
2017-09-23 07:35:30 +02:00
Martin Budden
287a45659d
CRSF code tidy
2017-09-20 11:48:43 +01:00
mikeller
860ec23fbe
Fixed check for halfduplex mode in CRSF.
2017-09-19 01:43:55 +12:00
Michael Keller
ce824a60d6
Fixed mixer for 3D / Dshot. ( #4161 )
2017-09-17 15:45:39 +01:00
Curtis Bangert
5ccd39843d
Reset msp handling upon receipt of new incoming frames in msp_shared
2017-09-10 15:55:05 -04:00
Martin Budden
9b0e0a4f20
Merge pull request #4116 from DanNixon/osd_power_formatting
...
OSD power formatting
2017-09-10 17:25:32 +01:00
Martin Budden
0b17f44841
Merge pull request #4117 from mikeller/restore_smartport_msp_frame_handling
...
Restored SmartPort MSP frame handling to how it was before the addition of MSP over CRSF.
2017-09-10 17:24:15 +01:00
mikeller
aa1edbd978
Restored SmartPort MSP frame handling to how it was before the addition of MSP over CRSF.
2017-09-11 04:01:52 +12:00
mikeller
3bce54186c
Disabled MSP over telemetry for F1, re-enabled SERVOS.
2017-09-11 03:44:55 +12:00
Dan Nixon
3013229918
Left pad OSD electrical power readout
2017-09-10 15:23:01 +01:00
Dan Nixon
8a1ba09ee8
Test rendering of existing OSD power element
2017-09-10 15:20:11 +01:00
Curtis Bangert
863b24ae6a
Corrected smartport regression issue with msp_shared
...
Corrected condition where an extra padded zero was added to outgoing msp buffers.
Whitespace tidy and removal of unnecessary condition.
Commented OSD and CMS from STM32F3DISCOVERY target.h
Various improvements to msp_shared (removed byte loops, point arithmetic)
Raised schedule priority of CRSF device and MSP calls
Reworked buffers in msp_shared to enable writes.
Moved msp buffers to msp_shared
Added new custom frames and reworking msp implementation
Implemented CRSF device info reply
Adding crsf ping/pong device info functionality
Changed Colibri FC address to Betaflight address
Implementing MSP in CRSF Telemetry
Decoupled msp functionality from smartport into msp_shared
Moved USE_SERVOS to FLASH>128 per mikeller
2017-09-10 01:36:59 -04:00
Andrey Mironov
cd23e77031
Merge pull request #4012 from wind0r/fix_crsf_mAh
...
fix crsf mah telemetry
2017-09-08 21:58:29 +03:00
Steffen Windoffer
1d3a2f253e
fix crsf mah telemetry
2017-09-04 19:45:19 +02:00
Martin Budden
12583dc0d7
Unit test makefile fix
2017-09-02 08:53:38 +01:00
Martin Budden
604b661a62
Rationalised CRSF constants
2017-08-31 17:02:49 +01:00
Martin Budden
e6bbce53e6
Improved testability
2017-08-31 13:37:38 +01:00
Martin Budden
8c20811792
Added slew filter
2017-08-28 08:12:02 +01:00
Martin Budden
2f0a678cbe
Merge pull request #3920 from mikeller/inhibit_dshot_motor_beeping_when_motors_running
...
Inhibit Dshot motor beeping while motors are running (armed or motor test).
2017-08-25 07:33:07 +01:00
mikeller
c8f528c0af
Inhibit Dshot motor beeping while motors are running (armed or motor test).
2017-08-25 09:16:43 +12:00
Steffen Windoffer
03aa31acdd
remove not needed whitespaces
2017-08-24 11:33:39 +02:00
Dan Nixon
20f7c77089
Add BATT NOT FULL warning to OSD
...
Shows BATT NOT FULL when the connected battery has an everage cell
voltage of less than 0.2v lower then vbatmaxcellvoltage (when the craft
has yet to be armed)
Intended as a reminder to make sure pilots fly with a fresh battery
Adds an additional configuration option for the voltage at which a cell
is "full"
2017-08-18 08:07:20 +01:00
Martin Budden
387b52a1ae
Merge pull request #3831 from bkeinert/beeper_patch
...
Beeper patch
2017-08-14 18:29:45 +01:00
Michael Keller
8995dcec0e
Merge pull request #3826 from DanNixon/arming_conditions
...
Safer arming condition checks
2017-08-14 23:03:42 +12:00
bkeinert
5d258d11f2
sync order of beeperTable and beeperMode_e enum
...
add beeperModeMaskForTableIndex function and use it in CLI
add change to unittest to make it compile
2017-08-14 01:12:23 +02:00
Dan Nixon
ad540d8ad8
Add prevention for turning radio on at any time with arm switch on
2017-08-13 16:05:48 +01:00
Martin Budden
679258932d
Merge pull request #3817 from martinbudden/bf_crc_additions
...
Additional crc functions
2017-08-13 14:18:44 +01:00
Dan Nixon
0c0483d020
Add configurable boot grace time
...
This guards against the case when the RX takes longer to obtain a valid
link than the gyro takes to calibrate (previously this delay is all that
stopped immediate arming).
2017-08-13 13:17:25 +01:00
Dan Nixon
fd51cda9eb
Test new arming prevention functionality
2017-08-13 12:42:29 +01:00
Dan Nixon
f283d2460a
Test existing functionality
2017-08-13 12:42:29 +01:00
Martin Budden
4ba8669cc3
Additional crc functions
2017-08-13 12:02:46 +01:00
Martin Budden
a0f48f74c1
Merge pull request #3615 from DanNixon/osd_battery_current_formatting
...
Improve formatting of numerical OSD elements
2017-08-12 07:24:44 +01:00
Dan Nixon
e66f849a22
Also ensure default arm channel position is safe when range is high
2017-07-31 16:30:36 +01:00
Martin Budden
9f969bb48b
Merge pull request #3685 from DanNixon/rx_unittest_fix
...
Fix RX unit test
2017-07-31 06:16:42 +01:00
jflyper
b81d85a8e9
Merge pull request #3586 from jflyper/bfdev-avoid-stick-commands-while-in-cms
...
CMS Remove left stick constraints
2017-07-31 10:11:30 +09:00
Dan Nixon
fa39970cda
Fix RX unit test
2017-07-30 21:39:19 +01:00
Dan Nixon
312a7d73b9
Disable arming as soon as an RX link is lost
2017-07-30 15:56:23 +01:00
jflyper
4a2ef89ea8
Revert left stick constraints and introduce context
2017-07-30 19:12:22 +09:00
Martin Budden
b1ec3d04f2
Merge pull request #3660 from martinbudden/bf_uart_tidy
...
Tidied UART enum definitions
2017-07-29 15:15:16 +01:00