Commit Graph

6501 Commits

Author SHA1 Message Date
blckmn e0d9e225d2 Fixed defaults for NAZE rev5 and above
Also included small rename of isOD to isOpenDrain for readability
2016-11-19 11:57:48 +11:00
blckmn 54238a66a7 Adding resource feedback upon setting (if duplication of pin) 2016-11-19 11:42:08 +11:00
Martin Budden abc2127a90 Merge pull request #1595 from jflyper/bfdev-cms-cleanup
CMS: Cleanup: Remove standard options from targets.
2016-11-18 16:41:25 +01:00
Martin Budden 01c272d0ef Simplified CRSF telemetry port handling since sharing not required 2016-11-18 15:04:13 +00:00
jflyper ab7c519cb0 CMS: Remove standard options from target.h
Remove USE_DASHBOARD, CMS and USE_MSP_DISPLAYPORT options from targets
used during development of the CMS. These options are standard for
>128K targets and defined in target/common.h
2016-11-18 23:57:15 +09:00
Anders Höglund 480774ade4 Merge pull request #1594 from mikeller/ledstrip_cleanup
Cleaned up some ambiguos names / illogical value ranges in 'ledstrip.c'.
2016-11-18 09:43:49 +01:00
Michael Keller c94d5922e0 Merge pull request #1593 from AndersHoglund/typeconversions
Another try in cleaning up typeconversions
2016-11-18 13:50:03 +13:00
Michael Keller 8d36b2ae89 Cleaned up some ambiguos names / unlogical value ranges in 'ledstrip.c'. 2016-11-18 13:26:22 +13:00
Anders Hoglund 7967a90836 Another try in cleaning up the typeconversions cppcheck is complaining about. 2016-11-18 00:54:38 +01:00
Anders Hoglund d4338b1a93 Revert "Fix a few cppcheck warnings."
This reverts commit 1dc90432cc.
2016-11-18 00:00:11 +01:00
Martin Budden e58d4bc0ad Changed CRSF RX to be bidirectional 2016-11-17 22:36:11 +00:00
Martin Budden 3c5dd1604e Ensured there is sufficient time to send a telemetry frame 2016-11-17 22:36:11 +00:00
Martin Budden 5d9c22e823 Changed telemetry to use broadcast address 2016-11-17 22:36:11 +00:00
Martin Budden 7249eefb9d Updated CRSF telemetry so that telemetry and RX frames do not overlap 2016-11-17 22:36:11 +00:00
Martin Budden e4997353c8 Fixed checkCrsfTelemetryState 2016-11-17 22:36:11 +00:00
Martin Budden c987f268b7 Fixed up CRSF CRC checking. Fixed telemetry port mask 2016-11-17 22:36:11 +00:00
Martin Budden de694386ba Fixed test code 2016-11-17 22:36:11 +00:00
Martin Budden 5cd1582b26 Removed unnecessary function declaration from crsf.h 2016-11-17 22:36:11 +00:00
Martin Budden e7928fc019 Added test code 2016-11-17 22:36:11 +00:00
Martin Budden 2a420d94f8 Added CRC checking. Renamed address constants. Updated tests. 2016-11-17 22:36:11 +00:00
Martin Budden 4a225cf9b1 Added test data. Improved build #defines 2016-11-17 22:36:11 +00:00
Martin Budden ad71436df3 Fixup after rebase 2016-11-17 22:36:11 +00:00
Martin Budden 302fd67321 Added comment about flight mode text 2016-11-17 22:36:11 +00:00
Martin Budden 2b343af861 Implemented flight mode telemetry 2016-11-17 22:36:11 +00:00
Martin Budden 818a91b6c1 Fixed baud rate and inversion. Added more tests 2016-11-17 22:36:11 +00:00
Martin Budden 6b53b200ae Removed unnecessary headers 2016-11-17 22:36:11 +00:00
Martin Budden 707bfbff93 Removed MAG from NAZE for ROM size reasons 2016-11-17 22:36:11 +00:00
Martin Budden 7cde105c24 Added CRSF to SERIAL_RX lookup table 2016-11-17 22:36:11 +00:00
Martin Budden 890eab203b First cut of CRSF RX and telemetry code 2016-11-17 22:36:11 +00:00
Martin Budden 935547fe50 Merge pull request #1525 from basdelfos/esc_telemetry_dshot_rebase
Implementation of KISS ESC Telemetry protocol (rebase)
2016-11-17 23:30:03 +01:00
Anders Höglund 6f7496db67 Merge pull request #1591 from Wind0r/remove_double_includes
remove double includes
2016-11-17 22:24:56 +01:00
Bas Delfos 248f7184eb Fixed build failure of AFROMINI target 2016-11-17 22:19:11 +01:00
Anders Höglund 5a0d91e12a Merge pull request #1590 from AndersHoglund/fix_zerodiv
Fixed zero div error.
2016-11-17 22:05:12 +01:00
Bas Delfos bc1109c546 Use motorCount from mixer.c instead of determine motor count again 2016-11-17 22:04:45 +01:00
Bas Delfos 0df4c63132 Fixed cell calculation when ESC telemetry is enabled 2016-11-17 22:04:44 +01:00
Bas Delfos a3da6e3288 Some improvements and fallback on vbat sensor when esc telemetry fails 2016-11-17 22:04:44 +01:00
Bas Delfos e9af6c5fed Get rid of build warning on non DSHOT targets 2016-11-17 22:04:44 +01:00
Bas Delfos a146a6bc4b Added ESC Telemetry to all targets that support DSHOT 2016-11-17 22:04:44 +01:00
Bas Delfos 7c154c98db Enabled ESC telemetry on X_RACERSPI target 2016-11-17 22:04:44 +01:00
Bas Delfos 8bef913430 Use MAX_SUPPORTED_MOTORS and some code cleanup 2016-11-17 22:04:44 +01:00
Bas Delfos 2e925de36f Fix for AFROMINI failing build in Travis CI 2016-11-17 22:04:44 +01:00
Bas Delfos 9fe84c0ff2 Fixed current updates and review comments 2016-11-17 22:04:44 +01:00
Bas Delfos 16178a0662 Implementation of KISS ESC Telemetry protocol 2016-11-17 22:04:44 +01:00
Steffen Windoffer fc0b4e3b50 remove double includes 2016-11-17 22:02:38 +01:00
Anders Hoglund b6e21fdee7 Fixed sero div error. 2016-11-17 21:44:53 +01:00
Anders Höglund 14370426af Merge pull request #1587 from Wind0r/save_size_mem_pwm_rx
removed not used static variables
2016-11-17 19:28:03 +01:00
Anders Höglund f113fc302b Merge pull request #1586 from AndersHoglund/fix_cppcheck_issues
Fix a few cppcheck warnings.
2016-11-17 19:27:39 +01:00
Anders Höglund 15ab4b55a7 Merge pull request #1585 from Wind0r/performance_redundantAssignment
fix cpplint redundant assignment warnings
2016-11-17 19:27:00 +01:00
Hydra c3943f4ec2 Allow ADC DMA stream to be specified. 2016-11-17 19:23:02 +01:00
Hydra dc7609faf7 Fix ADC debugging code. 2016-11-17 19:22:52 +01:00