Commit Graph

80 Commits (96115be10e902afb2d443f41ee0e291507ad1284)

Author SHA1 Message Date
KiteAnton 96115be10e Separation of MSP code into protocol and config parts, will ease further development and readability 2016-08-11 22:20:23 +02:00
KiteAnton 2ffefb065f Some cleanup of MSP code 2016-08-06 15:59:43 +02:00
mikeller 6130798490 Made configurator aware of number of profiles supported by firmware. Made backup / restore more robust. 2016-07-18 19:51:55 +12:00
gaelj b6e6e95881 Set profile count to 3 instead of 2.
Fixes hang on configuration restore.
2016-07-18 00:42:31 +02:00
borisbstyle ae38d51600 Merge pull request #44 from gaelj/Betaflight_LED_strip
CF new LED strip port
2016-07-16 11:06:13 +02:00
Rodrigo Pérez d4dea611c2 Fix #86 2016-07-06 17:11:19 -04:00
gaelj b62abd74e7 MSP versioning CF compatible 2016-06-30 22:13:15 +02:00
gaelj 92ec31f80b CF new LED strip port 2016-06-30 22:12:46 +02:00
U-DESKTOP-12PPI61\boris.bozic bacea00546 Remove 3rd Profile selection 2016-06-20 22:57:08 +02:00
Dominic Clifton 0d3fbbddac Fix for https://github.com/cleanflight/cleanflight/issues/1551 2016-01-12 11:24:53 +01:00
Dominic Clifton 66034a1831 Update servo angles to match
https://github.com/cleanflight/cleanflight/pull/1573
2016-01-11 15:37:36 +01:00
NightHawk32 c58829ba14 some renaming to RC_DEADBAND in the receiver tab 2015-12-27 18:56:00 -05:00
NightHawk32 d70a3f6e69 correcting Typo ;) RC_DEADBAND 2015-12-27 18:36:37 -05:00
NightHawk32 952afb1e46 renaming RC_CONTROLS to RC_READBAND 2015-12-27 16:22:37 -05:00
NightHawk32 a13db678a9 adapting RC_CONTROLS to Dominic's changes 2015-12-27 16:17:41 -05:00
skaman82 47bf426c29 fix 2015-12-18 00:07:00 +01:00
skaman82 ba18e4eee1 Merge branch 'cleanflight/development' into NewPIDFunctions
# Conflicts:
#	js/backup_restore.js
#	js/msp.js
2015-12-17 23:46:09 +01:00
ProDrone 1a0c6735a9 RXFAIL send method that allows more future RX channels
- Fixed the bug found by Nighthawk32
- Correction for camelCase
- Some bugfixes
2015-12-17 11:33:39 +01:00
NightHawk32 dc8f06fcc9 Hint by ProDrone: fixing double-save on backup restore 2015-12-16 16:19:27 -05:00
NightHawk32 da1f456b87 Messed up some brackets 2015-12-15 16:00:01 -05:00
NightHawk32 c1a7452b27 Merge remote-tracking branch 'upstream/NewPIDFunctions' into NewPIDFunctions
Conflicts:
	js/backup_restore.js
	js/data_storage.js
	js/msp.js
2015-12-15 01:27:55 -05:00
skaman82 d4969d73a1 resolving conflicts 2015-12-15 01:59:58 +01:00
skaman82 2d6feb0e6a Merge branch 'cleanflight/development' into NewPIDFunctions
# Conflicts:
#	_locales/en/messages.json
#	js/backup_restore.js
#	js/data_storage.js
#	js/msp.js
#	tabs/configuration.html
2015-12-15 01:43:24 +01:00
NightHawk32 067999c5e8 added MSP support for sensor orientation, some fixes for 3D backup and restore 2015-12-14 18:06:25 -05:00
skaman82 c498e7de34 Added support for failsafe TAB
Made in cooperation with skaman82.

Summary of modifications:
- Extended data storage to hold data for new/changed MSP messages.
- Added support for added/changed MSP messages.
- Added assigned mode(s) to AUX labels.
- Tooltip changes.
- Included style modifications to configuration tab from Skaman82.
- Moved all texts from failsafe tab .html to `messages.json`.
- Removed failsafe settings from configuration tab (now obsolete).
- Added failsafe-tab variables to Backup & Restore.
- Reorganized stage 2 elements, cleanup and corrections.
2015-12-13 17:50:26 +01:00
NightHawk32 5ba359fe17 FIX: LED config from backup file was not saved to EEPROM after reading the file 2015-12-12 15:36:05 -05:00
NightHawk32 6d7c6a4576 FIX: RC controls is profile dependent, now this saving for every profile 2015-12-12 14:41:32 -05:00
NightHawk32 1df0a14877 MSP communication for deadband and yaw_deadband 2015-12-09 18:56:42 -05:00
Dominic Clifton ec57aa9d1a Fix 3D support.
Add missing backup and restore functionalty
Add missing configuration migration logic
Add missing visibility toggling of 3D section when API version <
`1.14.0`
Add missing logic for issuing the correct sequence of MSP commands
issues when API version < `1.14.0` when viewing the configuration tab.
2015-11-16 22:28:21 +00:00
Dominic Clifton ac78dbc8c0 Support cleanflight API 1.14.0 (pid controller removal/reindex). 2015-11-14 00:41:23 +00:00
Dominic Clifton 7bf70092d3 Fix backup, broken by a missed rename in 1cb6413. 2015-10-14 21:48:09 +01:00
Dominic Clifton 687c0f1a84 Remove legacy servo configuration which originated from the overloaded
use of the servo 'rate'.  All servos are free to be configured
regardless of whether the mixer actually uses those servos.
2015-07-13 02:01:19 +01:00
Dominic Clifton 1cb64130cc update servo tab on configurator
1) work around 1.9.0 MSP buffer size bug.
2) support updated API for 1.12 (CF >= 1.10.0)
2015-07-13 00:02:58 +01:00
Dominic Clifton 244685c9a6 Update version checking code to use semantic versioning - see
http://semver.org/

semver.js creating using browserify.

https://www.brcdn.org/?module=semver&version=4.3.4
2015-05-07 22:10:26 +01:00
Dominic Clifton bf353192ef Avoid backing up invalid looptime/arming configuration for firmware with
api < 1.8
2015-04-14 13:29:44 +01:00
Dominic Clifton 2398f10b62 Fix for restoring backups created with 0.63.0 for firmwares with api <
1.8.0 that were saved with incorrect looptime.
2015-04-14 13:25:45 +01:00
Dominic Clifton 045d2b0ca4 Use updated IDs for MSP_LOOP_TIME and MSP_SET_LOOP_TIME. Cleanup and
fix backup/restore arming config.  Backup restore/looptime.  Add config
migration of looptime and arming config.  Rename MSP_RCMAP to
MSP_RX_MAP to match cleanflight code.
2015-03-29 15:01:54 +01:00
Dominic Clifton 52d7670977 Move apiVersion to appear before profiles in backup file. 2015-03-22 09:25:32 +00:00
Dominic Clifton 2e5acfc1bd Fix the 0.63.0 serial port configuration migration code. 2015-03-22 09:19:10 +00:00
Dominic Clifton b2be2853b4 Provide a migration path from pre-1.8.0 firmware backups. 2015-03-11 23:34:24 +00:00
Dominic Clifton 4b2704e784 Support independent configuration of pitch and roll rates. Cleanup of
tpa breakpoint configuration support.
2015-03-11 22:50:07 +00:00
Dominic Clifton e672dde6e2 Fix backup of PID controller. 2015-01-29 21:50:02 +01:00
Dominic Clifton 35200e5a36 Support changing PID controller in the GUI. 2015-01-29 18:27:50 +01:00
Dominic Clifton 8c10f39606 Add support for backup and restore of led strip config.
Various minor code cleanups.
2015-01-19 20:41:41 +01:00
Dominic Clifton 0285723fab First cut of working configuration migration. 2015-01-07 20:15:22 +00:00
Dominic Clifton d671bff583 First cut of functional 'Ports' tab. Support backup and restore of
serial port scenarios and baud rates.  Add note to 'features' tab.
2015-01-03 00:58:52 +00:00
Dominic Clifton 32820853ce Updating to use API version 1.1. 2015-01-02 19:31:50 +00:00
Dominic Clifton 502cf718ab Update backup/restore functionality so that it restores adjustments,
auxiliary settings and channel forwarding (per-profile).  Add "Warning
Cell Voltage" to the UI.
2014-12-21 12:29:36 +00:00
cTn 9ee7670af7 add backupFileMinVersionAccepted in data storage, release 2014-10-31 11:27:15 +01:00
cTn b35590f052 exprimental restore procedure 2014-10-12 18:00:44 +02:00