Commit Graph
721 Commits
Author SHA1 Message Date
Bertrand Songis e4fa31be28 Rename char2idx to char2zchar 2019-02-21 10:35:48 +01:00
Bertrand Songis 4736ff0300 RAM saving 2019-02-09 12:12:36 +01:00
MRC3742andAndre Bernet 350acc3cc3 Multi protocol updates to MPM version 1.2.1.16 (#6249) 2019-01-06 10:59:40 +01:00
Kilrah d35a8bdea3 R9M 1W setting is Auto up to 1W 2019-01-06 10:19:49 +01:00
KilrahandBertrand Songis 8ab05f89c3 Add jack config to companion 2018-11-03 16:56:51 +01:00
KilrahandBertrand Songis 78650bb662 Companion support 2018-11-03 16:56:51 +01:00
Kilrah 4ab9730ed6 flexr9m also for non-frsky arm (fix #6224) 2018-10-21 09:49:11 +02:00
MRC3742 3dbcd436e8 Multiprotocol listing updates for 2.3 branch 2018-10-11 21:53:05 -04:00
Max Paperno f8afc40198 [Companion][Boards] Remove final usage of two function alias macros. 2018-09-19 06:47:36 -04:00
Max Paperno 681bc82185 [Companion] Move CHECK_IN_ARRAY() to macros.h; Change DIM() return type; Refactor/fix removeAccents() to handle uppercase. 2018-09-19 06:47:36 -04:00
Max Paperno b4d992f490 [Companion][Firmware] Make Option struct a member; Add/use typedefs for options group and list; Use accessor functions for languages and options; Re-arrange fw options a little for better layout in UI; Remove dead code, cosmetics. 2018-09-19 06:47:36 -04:00
Max Paperno fdcee1ca9f [Companion][Firmware] Cosmetics on translation calls. 2018-09-19 06:47:35 -04:00
Max Paperno 02655d055c [Companion][Firmware] Remove all AVR flavors and options from available firmwares list, but keep base types for import purposes; Consolidate "ARM9X" flavor options; Consolidate Rf options. 2018-09-19 06:47:35 -04:00
3djcandKilrah 1257b50bf4 Fix for non certified firmware 2018-09-18 10:51:29 +02:00
Kilrah aa9fa1dc84 eu and flexr9m now mutually exclusive 2018-09-18 10:51:24 +02:00
elecpower a006abb94b Fix getSize corrupting model and settings 2018-09-05 19:13:32 +10:00
3djc 95c035ed73 Support for non certified firmwares (#6118)
* Support new r9m firmwares

* More future proof, thx Kilrah

* (significant) typo

* Companion part

* Make support a compilation option

* Fix compilation for normal users

* Warning popup for usability tests

* Better implementation

* All sizes

* Cosmetics

* Flex is EU+/AU+ only

* [Companion] Handle "flexr9m" option in module settings UI (to match radio UI, including warning msg); Move some "toString" functions out of ModelPrinter into ModuleData/Multiprotocols; "Future-proof" available R9M power options based on "stdr9m" fw option; Fix missing "Hitec" MM protocol name; Fix printing of R9M-EU power level in ModelPrinter.

* Cosmetics

* Rename R9M flex option

* Move failsafe further back to prevent nav oddity
2018-08-30 13:16:39 +02:00
Bertrand Songis 2c47883cc2 Companion GCC8 warnings removed 2018-08-05 19:33:28 +02:00
Bertrand SongisandGitHub bba0e5e00c Merge pull request #6038 from opentx/mpaperno/cpn_src_models
Conitnued RawSource/RawSwitch data models refactoring
2018-08-04 10:19:53 +02:00
Arne Schwabe eaae858a38 Update Multi protocols 2018-08-03 13:21:31 +02:00
Max Paperno df5722717a [Companion] Centralize download URLs; URLs now based on build major.minor version macros; Remove AVR fw download URL; Make some QStrings cheaper. 2018-07-16 17:36:33 -04:00
Max Paperno ca63b92e5b [Companion] Refactor RawSource & RawSwitch data models to abstract the base classes and reduce redundancy; Move data models to own folder. 2018-07-12 13:20:07 -04:00
Max Paperno 81c33b6432 [Companion] Refactor RawSwitchItemModel and RawSwitchFilterItemModel for better efficiency, does not invalidate whole model on updates (structure is almost identical to the RawSource variants). 2018-07-12 13:20:07 -04:00
Max Paperno 3b8d177861 [Companion] Start RawSource / RawSwitch data models refactor; Create RawSourceItemModel and RawSourceFilterItemModel. 2018-07-12 13:20:06 -04:00
3djcandBertrand Songis f76c23d7f7 Remove nofp option for a few board (#5986)
* Remove nofp option for a few board

* Little fix
2018-06-23 09:06:43 +02:00
Kilrah d74c6acc0b We can now know what radio a random file comes from a little more easily... 2018-06-11 23:01:50 +02:00
Max Paperno 41419b4cee [Companion] Move some single-use functions out of helpers module; cosmetics. 2018-06-04 05:15:16 -04:00
Max PapernoandBertrand Songis 487c0de90f [Companion][InputsPanel] Fix "ghost" input names being left over when moving items (closes #5740); Cut/paste and drag-move will now also copy the input name if destination input is nameless and source input becomes empty (will not duplicate names); Clean up/simplify some code. (#5942) 2018-06-03 23:16:20 +02:00
Bertrand SongisandGitHub 806715e166 Bsongis/companion r9m fixes (#5914)
* Cosmetics

* First part ...

* First part ...

* Second part ...

* End?

* Handle new  R9M and R9M lite

* Display 'mini' module in case of R9M and xlite
2018-06-02 18:16:51 +02:00
3djcandBertrand Songis a87722b078 Add BT mode handling (#5926)
Enable BT for Xlite and X7
2018-06-02 18:15:37 +02:00
Arne SchwabeandBertrand Songis e3f2664440 Update multi protocol definitions (#5930) 2018-06-02 18:15:13 +02:00
Kilrah 1df88dcb5f Disable option until implemented 2018-05-23 14:12:18 +02:00
Kilrah 5fefc69eb6 Cosmetics 2018-05-22 22:29:08 +02:00
Kilrah f0bea027c1 Match voltage settings and fix simu giving voltage below default min 2018-05-22 22:27:59 +02:00
Sebastien CharpentierandAndre Bernet 0e93a43ab5 Updated French translation (#5886)
* Initial version

* Updated French Translation

* Clarification
2018-05-13 21:25:29 +02:00
3djcandBertrand Songis f2d444e2d5 some xlite peripheral settings (#5877)
* Refine xlite compilation options

* noras is for 9d+ only
2018-05-08 22:19:04 +02:00
3djcandBertrand Songis a778116b9a Dirty fix (but can we do any better ?) (#5863) 2018-05-04 15:10:08 +02:00
Bertrand SongisandGitHub 99604dccc9 XLite support (#5806) 2018-04-25 23:07:04 +02:00
3djc cbf596e410 Remove internalppm from x7 options since it was never coded into 128 gui 2018-03-03 08:50:09 +01:00
Kilrah 4cccff934f AVR version handling issues 2018-02-26 20:31:20 +01:00
3djcandAndre Bernet 323b30a14b Fix companion x7 radio data and model read (#5638)
* Fix

* Typo
2018-01-19 13:46:44 +01:00
Kilrah bf29ebc354 Currently no working Bluetooth implementation on sky9x family 2018-01-06 13:21:09 +01:00
3djc e50fc2022f Fix #5558 2018-01-05 19:45:51 +01:00
Max Paperno a63e0eed4c [Companion] Fix logical switch misnumbering since a951292 (closes #5597). 2018-01-05 07:27:30 -05:00
Bertrand SongisandGitHub c4001c8507 Bsongis/frsky xlite (#5574)
FrSky X-Lite support added
2018-01-02 14:36:48 +01:00
Bertrand SongisandGitHub 269831e0c4 Fixes #5502 (#5575)
* Fixes #5502

* RAS renamed to SWR
2018-01-02 10:41:15 +01:00
Max PapernoandBertrand Songis f018425e12 [Companion] Qualify all translation strings (#5557)
* [Companion] Qualify all remaining QObject translations with proper class/object names; Centralize some common strings into constants.h.

* [Companion] Replace all instances of some common strings with macros from constants.h.

* [Companion] Fix translation warnings from lupdate.
2017-12-25 13:36:34 +01:00
Max PapernoandBertrand Songis a951292f27 [Companion] Radio data translation/strings (#5554)
* [Companion] Add Qt tr() functions to all radio data classes instead of using generic QObject type.  (no functional changes)

* Small fix for gcc.

* Move more element name string generation to individual classes; settle on nameToString as function name.

* Also put firmware build options translations into Firmware scope.
2017-12-21 18:26:11 +01:00
Max PapernoandBertrand Songis 59a835b1b3 [Companion] Radio data refactoring (#5551)
* [Companion] Refactor radio data classes to own files, out of eeprominterface.cpp.  No functional changes.

* Move files related to refactoring. No functional or code changes.

* Fix clang warning and an include path.

* Fix indents on curvereference.cpp. [ci skip]
2017-12-20 13:31:43 +01:00
Max PapernoandBertrand Songis 0dbad182e8 [Companion] Radio conversion improvements (#5534)
* Move MultiposPots & MultiposPotsPositions capability lookups and getAnalogInputName() to Boards class.

* Add RawSource::isAvailable() and RawSwitch::isAvailable(); Add board type param to various RawSource lookup functions.

* Add CustomFunctionData::toString(), FlightModeData::toString(), FactoryInstalledPots board capability, MAX_SWITCH_TYPE, & break out GeneralSettings source/switch defaults to own function.

* Add RadioDataConversionState class for tracking conversion actions.

* Implement RadioDataConversionState handler, add conversion process report, and improve/fix conversion issues:
    * Make sure all switches/pots/knobs have default configs for destination board type;
    * Try to move more custom control names, intelligently;
    * Convert model timers and throttle source;
    * Adjust for Horus 6P switch in place of Taranis S2 knob;
    * Adjust for extra sliders on X12 and X9E to move LS and RS to proper slots as needed;
    * Make sure ALL controls are validated, eg. to always account for extra trims/analogs/switches/etc which don't exist on destination;
    * Properly indicate invalid RawSource::toString() items with "???".

* Allow user to cancel out of file conversions & provide ample warnings if switching radio type/profile with unsaved file(s) still open;
Also: Fix bug with some orphaned MdiChild windows never being deleted; Create static bool Storage::isBoardCompatible(b1, b2).

* Add maxLibQt "stub" (will not compile).

* Add ExportableTableView for better presentation of conversion results table.

* Move getFourCC() and isBoardCompatible() to Boards class.
2017-12-18 22:56:39 +01:00