Commit Graph
81 Commits
Author SHA1 Message Date
Bertrand Songis 354cd97fd3 Compilation fixes 2019-04-25 15:10:25 +02:00
3djc 1d797a9ccf Compilation fix for x9 R9 2019-04-24 20:37:04 +02:00
3djc a051c032a4 Compilation fix for x9 R9 2019-04-24 18:17:33 +02:00
Bertrand Songis 3a99fcd826 [PXX2] R9M/R9 BIND options added 2019-04-24 11:13:29 +02:00
Bertrand Songis a34877c083 Modules renamed 2019-04-18 09:17:23 +02:00
Bertrand Songis 428c986c91 Compilation fixes 2019-03-27 14:46:31 +01:00
Bertrand Songis db316af98d PXX2 refactoring + Popups refactoring 2019-03-26 13:11:32 +01:00
Bertrand Songis 0c99545b27 Progress screen refactoring 2019-03-25 17:27:57 +01:00
3djc ce0a58b790 Multi fixes 2019-03-16 15:28:53 +01:00
Bertrand Songis cb6ee5e0b0 Compilation fixes on all boards 2019-03-15 12:24:22 +01:00
Bertrand Songis 096fac2f27 [Exit] in a popup menu now calls onPopupHandler(nullptr) 2019-03-08 15:30:47 +01:00
3djc a90b1c43de Allow registration from hardware setup 2019-02-22 08:08:59 +01:00
3djc cbe2ce9887 Allow registration from hardware setup 2019-02-22 08:06:59 +01:00
Bertrand Songis 6d4e908de0 Custom popup for receiver registration 2019-02-14 17:09:15 +01:00
Bertrand Songis 43fa3a4fae X9D+ fixes 2019-02-09 13:47:16 +01:00
Bertrand Songis c7404998f9 BIND menu added (still not tested) 2019-02-06 14:12:54 +01:00
Bertrand Songis ab77595c6c Another lot of refactoring 2019-02-05 14:18:45 +01:00
3djc aef3ff7473 Fix various compilation issues 2019-02-04 17:39:25 +01:00
Bertrand Songis 274543a57f Data structs ready ... 2019-02-04 16:26:44 +01:00
3djc d08910778b X9 UI 2018-12-14 09:38:26 +01:00
3djc e97cdd00a8 Merge fixes 2018-08-30 13:34:13 +02: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 f3bfde242b RTOS refactoring + more AVR removal 2018-08-05 12:06:48 +02:00
Bertrand Songis 85ad25e0e8 All macros for modules removed 2018-08-04 00:13:32 +02:00
Kilrah 23f53077cf PPM frame length default was missing 2018-06-18 10:07:50 +02:00
3djcandBertrand Songis 45804b318a Improve r9m power handling (#5950)
* Rework around reusable buffer

* small fix

* Rework 212 & 480 handling too

* Optimize

* Compilation fix
2018-06-06 17:07:27 +02:00
Raphael CoefficandBertrand Songis 7379f6064e Horus: add receiver number check (#5841)
* add receiver number check for Horus

* find the first free model ID on LONG ENTER

* use the next free model ID for new models

* improve free model ID support for std LCD as well

* fixed “duplicate model”

* fixed ModelsList::isModelIdUnique()
2018-05-21 19:03:51 +02:00
3djcandBertrand Songis 23e2e3743c Future R9MEU firmware preparation (#5869)
PXX update for R9M FCC/EU
2018-05-07 21:54:20 +02:00
Raphael CoefficandBertrand Songis 2ad0db2d80 Set all custom failsafe channels at once (#5834)
* added setCustomFailsafe()

* failsafe setup: set all custom channels with ENTER long press

implements #5820

* added “outputs -> failsafe” menu item on horus

* change “Trims >> Subtrims” to “Trims => Subtrims”

* use translated string for “Outputs => Failsafe”

* fixed entered TR_TRIMS2OFFSETS and TR_OUTPUTS2FAILSAFE

When using ZCHARs in Horus texts, there are some artefacts when highlighted.

* added “outputs -> failsafe” menu item on taranis 212x64 LCD

* added “outputs -> failsafe” menu item on taranis 128x64 LCD

* fixed indentation
2018-04-24 08:13:09 +02:00
3djc 78b3c5ec3f TARANIS_INTERNAL_PPM fixes 2018-03-02 16:01:01 +01:00
3djcandBertrand Songis 8ee9199abc R9M : activate automatically MODULE telem when possible (#5553)
* Fix #5543

* Auto activate R9M telem

* Adjust radio ui

* Thx @schwabe

* Stop being stupid ?

* PR rework

* [Companion] Removed "Module Telemetry" checkbox.
2017-12-29 09:47:45 +01:00
3djcandBertrand Songis 75b382e619 Simply hide unavailable choices (#5509) 2017-12-13 12:51:01 +01:00
3djcandBertrand Songis 977262232a Better handle interactions with internal module telemetry (#5506) 2017-12-12 20:32:53 +01:00
3djcandBertrand Songis 8e5027dcb2 Better support for R9M EU (#5487)
* POC for X9, requires -DBINDING_OPTIONS=YES

* There are apparently 4 valid choices

* - make BINDING_OPTIONS part of standard code
- adapt R9M EU LBT dialog to choice on bind

* - remove option from Companion
- cosmetics

* Compilation fixes
2017-12-09 10:17:56 +01:00
Bertrand SongisandGitHub a6044a684d Bsongis/r9 m fixes (#5406)
R9M support
2017-12-08 11:26:46 +01:00
3djcandBertrand Songis 81dbebb663 Show multi failsafe to x7 UI (#5471)
* Show multi failsafe to x7 UI

* Cosmetics

* Fix also horus ui and remove useless ifs
2017-12-07 18:49:55 +01:00
Arne Schwabe 37b7b25208 Use IS_PXX instead of IS_XJT for failsafe, closes #5373 2017-11-15 22:19:47 +01:00
Arne SchwabeandBertrand Songis 613b2edf49 Multi improvements (#5322)
* implementing syncing with multi

* Send config command

* Implement setting failsafe for multimodule

* Fix

* Fix last bugs. Multi sync now working as expected.

* Add eww multi protocol
2017-11-11 08:57:04 +01:00
Arne SchwabeandBertrand Songis fd782538d8 Implement SBUS output for external module bay. (#5225)
* Implement SBUS output for external module bay.

* Bugfixes and Companion support
2017-09-29 18:29:39 +02:00
3djcandBertrand Songis 6f3577c9a5 x9e with horus bt module (#5214)
* Basics to allow Horus BT module on X9E

* wip

* Temporary hack to prevent X9E to enter reset loop

* The wait game starts :)

* Temporary compil fixes

* More sensibles defines
2017-09-16 16:08:21 +02:00
Bertrand SongisandGitHub bd6bd4deeb Bluetooth fixes (reconnection issues, telemetry mode not working) (#5186)
Bluetooth fixes (reconnection issues, telemetry mode not working)
2017-09-05 18:21:29 +02:00
Arne SchwabeandBertrand Songis e16b48db30 Reduce RF_PROTO_OFF logic, disable R9M Sport out when internal telemetry is on (#5159)
* Remove most of the special logic associated with RF_PROTO_OFF

This simplifies code in many areas since the internal module does not require special handling and also fixes a few bugs with INTERNAL_PPM

* Disable R9M sport option if internal module has telemetry

* Fix X12s build

* Use macros instead of direct comparisions

* Fix sport bit sent the wrong way. Rename S.port out to Telemetry

* Compile fix
2017-08-15 21:47:45 -07:00
3djcandBertrand Songis 5a8a074f0c Neutralise BT on X9E, unless DEBUG is defined (#5148)
* Neutralise BT on X9E, unless DEBUG is defined

* Adjust to Bertrand comments
2017-08-14 22:03:26 -07:00
Bertrand SongisandGitHub 8d8fef23c9 Bsongis/x7 bluetooth (#5068)
* Trainer Bluetooth support added
X7S board added (X7 has no bluetooth while X7S has)
X10 HAL updated

* Bluetooth Telemetry

* En fix
Add all languages

* Temporary test for @bsongis

* Missing translations
2017-08-12 00:49:54 +02:00
Arne SchwabeandBertrand Songis 51be7b000e Add support for R9M module (#5101)
* Implement R9M protocol according to PXX spec 1.7

Some of the things here are guesswork as I don’t have a R9M at hand. Also Companion support for the extra R9M options is not implemented yet.

* Fix build errors
2017-08-12 00:27:23 +02:00
3djcandBertrand Songis fbc3bac6d3 Review handling of combine INTERNAL_PPM and MULTIMODULE (#4826)
* First attempt

* Fix

* Review IS_INTERNAL_MODULE_ENABLED() macro
2017-04-23 10:10:43 +02:00
3djcandBertrand Songis 76f3edb50d Handles premature exit (no pun intended) (#4762) 2017-04-08 10:32:59 +02:00
3djcandBertrand Songis 3a8f9adb4d Enable set binding mode as a firmware option for frsky radios (#4743)
* Enable set binding mode as a firmware option for frsky radios

* Improvements based on Bertrand's comments

* Last feedbacks
2017-04-06 22:36:10 +02:00
3djcandBertrand Songis 80b44444ec Fix lcdLastPos (#4487)
* Fix lcdLastPos
Introduce lcdLeftPos

* Cosmetics

* Cosmetics

* Non ARM code cleanup

* Move telem screen to midsize

* Fine tune

* Renaming
2017-03-04 10:16:45 +01:00
Max PapernoandBertrand Songis 7762bac360 [firmware][gui] Extended limits fixes, issue #4447 (#4453)
* [firmware][gui] Adjust custom failsafe (and some channel display) ranges for proper extended limits (fixes #4447).  This also fixes some display issues in *x64 GUIs when adjusting failsafe settings and cleans up code in those functions.

* [firmware][gui] Fix 480x272 channel output progress bars to show full extended limits; Fix alignment issues on all 212x & 480x gui mixes screens with custom channel names; Streamline some channel outputs display code.

* Fix AVR build.
2017-02-15 16:25:40 +01:00