Commit Graph
4757 Commits
Author SHA1 Message Date
Arne SchwabeandBertrand Songis 5dd0ac75bc Use nano.spec for linking bootloader (#6004)
This saves about 2kB on the Taranis X-Lite
2018-06-30 17:40:33 +02:00
Arne Schwabe a26879dca8 Revert "Remove -nostartfiles linker option from bootloader (#5996)"
This reverts commit 17b4aa2466.

Removing the -nostartfiles caused the Taranis bootloader to include
a number of strange functions. Instead define _fini to avoid the linker
issues.
2018-06-30 00:46:50 +02:00
3djcandBertrand Songis 7db74cb017 Review pulse start sequence (#5998) 2018-06-29 08:05:08 +02:00
Raphael CoefficandBertrand Songis 1492a346d3 fixes #5988 (#5992) 2018-06-27 16:12:33 +02:00
Arne SchwabeandBertrand Songis 968e7233e5 Clean up PWM stick reads, remove double averaging (#5995)
We already do averaging in the normal anaIn/getADC().
Also according to Mike's and my own research we don't need the averaging.

Tested on two X-Lites with PMW sticks
2018-06-27 16:10:27 +02:00
Arne SchwabeandBertrand Songis 17b4aa2466 Remove -nostartfiles linker option from bootloader (#5996)
* Remove -nostartfiles linker option from bootloader

Compiling with this option creates undefined references to _fini

* Remove now empty init.c
2018-06-27 16:09:12 +02:00
Kilrah c3b23fcc6e Prevent users from cheating (fix #5990) 2018-06-25 09:44:16 +02:00
3djc c8205c4cff Cosmetics around R9M Lite FCC 2018-06-22 19:33:25 +02:00
3djc 4d126dd91a Fix setFailafe SF
Fixes #5984
2018-06-22 07:51:05 +02:00
Kilrah 23f53077cf PPM frame length default was missing 2018-06-18 10:07:50 +02:00
Kilrah 091bf2fdf0 Hide hidden files 2018-06-17 22:07:33 +02:00
3djcandAndre Bernet 0d9aca84a9 Fix X7 R9M power line not enabled (#5973)
* Do not expect MODULE_R9M_FULLSIZE to be defined for non xlite

* Cosmetics
2018-06-16 19:24:46 +02:00
Kilrah a0c2f0bf19 Timer mode overflow (fix #5927) 2018-06-16 11:44:34 +02:00
3djcandAndre Bernet bd1c9274b3 Xlite adc stick fix (#5972)
* Xlite ADC stick order fix

* In the right order this time
2018-06-16 11:24:39 +02:00
Kilrah 60cf6b8058 DE translation fix 2018-06-15 23:00:06 +02:00
Kilrah ee4f8bda88 Don't reinitialise last flight mode on flight reset (Fix #5932) 2018-06-15 22:48:43 +02:00
3djcandBertrand Songis cd7c075b3b Do not display disabled trim on main views (#5962)
* Proof of concept

* Add Horus

* Better implementation

* AVR compilation fix
2018-06-13 22:26:49 +02:00
Raphael CoefficandBertrand Songis 6595bcfc3c fix models list reload after USB mass storage connection (#5963) 2018-06-13 22:26:11 +02:00
3djcandBertrand Songis 60423b81ad Turn backlight on for switch warning (#5965)
* Turn backlight on for switch warning

* Turn backlight on for splash screen
2018-06-13 22:25:42 +02:00
3djcandBertrand Songis 6898efcc02 Prevent X9E simu crash when BT is enabled (#5966)
* Better 'non horus BT' XE handling

* Cleanup

* Adjust BT message for X9E

* [Companion][HardwarePanel][X9E] Change BT Mode options to OFF/Enabled, X9E only.
2018-06-13 22:25:22 +02:00
Arne Schwabe 6f116510da Fix tts for German number over 100 with decimal point 2018-06-12 17:31:45 +02:00
3djcandAndre Bernet 9bdd0c682d Fix 2.2.2RC1 no gvar compile (#5961)
* Make model_gars.cpp flag dependend

* Cosmetics
2018-06-11 19:05:40 +01:00
3djc add297920a Cosmetics 2018-06-09 12:04:36 +02:00
3djc 8cc61e5a8a Merge branch '2.2' of https://github.com/opentx/opentx into 2.2 2018-06-09 11:59:11 +02:00
3djc d58c660822 Add translation for HORUS text viewer 2018-06-09 11:59:02 +02:00
3djcandBertrand Songis 13c5387dc9 Disable pulse while model notes are displayed (#5758)
* Implement model note view without menu handler. Use it before pulse starts

* Also at model change. Handle wd reset and start pulses after mixer

* Fix Horus compile

* Fix Horus crash

* Fix coding style issue
2018-06-09 11:34:56 +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 a6afbebc94 support for CLI (over USB CDC) without DEBUG (#5940) 2018-06-03 23:17:29 +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
Arne SchwabeandBertrand Songis e3f2664440 Update multi protocol definitions (#5930) 2018-06-02 18:15:13 +02:00
Arne SchwabeandBertrand Songis ce77fbd2ff No longer use deprecated qt5_use_modules (#5931)
QT 5.11 finally removes the qt5_use_modules macro.
Instead target_link_libraries with the Qt5::Lib added should be used.
Since we already use that in one place, it should work everywhere. Since
the common companion lib already depends on Core, widges and multimedia
components that link against it, also implicitly link against those
libraries.
2018-06-02 18:14:49 +02:00
Kilrah 2cd4e6acfa Horus UI cosmetics 2018-05-27 17:57:03 +02:00
Kilrah b8e9d5542d Xlite LRUD key REPT events were missing in lua 2018-05-27 12:01:28 +02:00
Kilrah 487bf8bce7 Xlite can now change telemetry screens 2018-05-27 11:34:47 +02:00
3djc 535e41d43e Add required keyword for xlite. Fix #5909 2018-05-26 08:51:08 +02:00
3djc ce344bc704 Cleanup 2018-05-23 17:12:48 +02:00
Kilrah a1de19c105 Xlite simu shift working, dirty hack to get mouse wheel to do the right thing 2018-05-22 23:09:32 +02:00
Kilrah f0bea027c1 Match voltage settings and fix simu giving voltage below default min 2018-05-22 22:27:59 +02:00
Kilrah e4fc76503c VC++ compilation 2018-05-22 21:29:55 +02:00
Kilrah 88c72e0cb9 VC++ compilation 2018-05-22 19:29:48 +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
Raphael CoefficandBertrand Songis ea898e5122 [Horus] font fixes (#5901)
* avoid generating a blank part for font size that do not have extras

* use “stretch” instead of “jessie”

.. and add libgtest-dev.

* keep space width equal 4, no matter what

* updated generated fonts

* updated reference images

* Replace PyQt completely (#5902)

* ported img2lbm.py to Pillow (and get rid of PyQt)

* removed PyQt from Dockerfile

* fixed travis

* fixed issue with img2lbm and Horus bitmaps
2018-05-21 19:03:15 +02:00
Kilrah a368d74619 Revert "Xlite PPM/Heartbeat trainer input (#5881)"
This reverts commit 25049d041d.
2018-05-21 11:17:19 +02:00
Raphael CoefficandBertrand Songis 526f460cd4 Generate font bitmaps without Qt (using Python Pillow) (#5891)
* Generate font bitmaps without Qt (using Python Pillow)
* Roboto font now default
2018-05-21 10:45:13 +02:00
Andre BernetandBertrand Songis 8e7e036591 Potential fix for #5895 (#5897)
Fixes #5895
2018-05-21 10:43:44 +02:00
Bertrand SongisandGitHub 993e543162 Bsongis/issue 5896 (#5898)
* Fixes #5896
* No voltage alarm during X-Lite debugging ...
* Some cleanups
2018-05-21 10:40:34 +02:00
marbalonandBertrand Songis 1b3897a425 Validate RSSI instance to allow user defined RSSI source (issue #5842) (#5846) 2018-05-21 10:37:09 +02:00
Andre BernetandBertrand Songis 25049d041d Xlite PPM/Heartbeat trainer input (#5881)
* Xlite PPM/Heartbeat trainer input

* UI adaptations

* Sky9x has no trainer settings!
2018-05-21 10:06:59 +02:00
3djc ae1aff6863 Fix scrolling on x7 model setup screen when pot warn is set to off 2018-05-20 15:45:06 +02:00
3djc 9227edac18 Revert "Fix #5896 (xlite center beep config missing last collumn)"
This reverts commit f5d61306c9.
2018-05-18 12:42:45 +02:00