Commit Graph
58 Commits
Author SHA1 Message Date
Raphael CoefficandGitHub a778aea8fb Fixes datacopy target (#7619)
- removed GCC includes from parameters (causes duplicated typedef btw. GCC & clang otherwise).
- make "frskyInstance" NOBACKUP (only 1 member can be backed up per union).
2020-05-22 19:36:45 +02:00
Raphael CoefficandBertrand Songis 6ba214725c Try to contact MPM with inverted and non-inverted RX. (#7092) 2019-11-17 22:26:15 +01:00
Raphael Coefficand3djc 6d77932f89 Add support for multi-protocol trainer (#6896)
* Add support for multi-protocol trainer

* Fix telemetry condition

* Trainer mode not supported on Sky9X

* fixed radio trainer screen

- convert values properly.
- apply the weights as setup.

* Fix T16 with BT

* String fixes

* Cosmetics
2019-10-22 15:53:12 +02:00
Raphael Coefficand3djc aaafe445db Added support for flashing AVR multi on horus targets (#6888)
* Added support for flashing AVR multi on horus targets

taranis soft serial

Added support for flashing AVR multi on horus targets

taranis soft serial

* Added support for multi V2 signature (hex code)

* Check multi signature before flashing

* small clean-up

* Cosmetics

* Fix v2 signature check

* Cosmetics
2019-10-16 15:29:10 +02:00
Raphael CoefficandBertrand Songis a5e7279c57 Fixed module data type export (#6919)
Fixed module data type export
2019-10-10 15:33:48 +02:00
Raphael Coefficand3djc 54bb04f049 New multi protocols (#6920)
* New Multi protocols

Scanner
FrSkyX RX
Flyskys AFHDS2A RX

* Skip Multi/Scanner protocol

* added new protocols in companion
2019-10-10 15:29:39 +02:00
Raphael Coefficand3djc 0bc7135e40 Disable trainer signal based input when trainer signal is lost (#6905)
* Disable trainer signal based input when trainer signal is lost

* Cosmetics
2019-10-09 18:22:23 +02:00
Raphael CoefficandBertrand Songis 526d892d6f Raphaelcoeffic/fix 6765 2.3 (#6795)
* match module as well, not just protocol

* check unique RX# based on protocol (#6781)
2019-09-16 08:47:11 +02:00
Raphael CoefficandBertrand Songis 5afe15be83 match module as well, not just protocol (#6794) 2019-09-16 08:46:22 +02:00
Raphael CoefficandBertrand Songis 7941c8b2b5 check unique RX# based on protocol (#6781) 2019-09-16 08:01:00 +02:00
Raphael CoefficandBertrand Songis 4fea9d8f23 Raphaelcoeffic/fix sd manager (#6783)
* do not invalidate filenames buffer on EVT_REFRESH

otherwise the filenames are reset to the end of list, whereby the indexes stay the same on [LONG ENTER] (pop-up menu).

* fix vertical offset when leaving text viewer
2019-09-16 08:00:10 +02:00
Raphael CoefficandBertrand Songis 545f42d40a fixed gvar display when precision is used. (#6784) 2019-09-16 07:59:51 +02:00
Raphael CoefficandBertrand Songis 5f19fef136 fixed gvar display when precision is used. (#6779) 2019-09-14 22:38:04 +02:00
Raphael CoefficandBertrand Songis 3fe757e8bf do not invalidate filenames buffer on EVT_REFRESH (#6777)
* do not invalidate filenames buffer on EVT_REFRESH

otherwise the filenames are reset to the end of list, whereby the indexes stay the same on [LONG ENTER] (pop-up menu).

* fix vertical offset when leaving text viewer
2019-09-14 22:33:24 +02:00
Raphael CoefficandBertrand Songis 5e77fd76ff Fixed translated menus (#6746) 2019-09-12 10:03:09 +02:00
Raphael CoefficandBertrand Songis bb1c2b072b fixed file descriptor leaks in radio tools (#6748) 2019-09-12 10:01:49 +02:00
Raphael CoefficandBertrand Songis 3db78814e8 use translatable fields for FM/GV on simulator radio output (#6751) 2019-09-12 09:52:49 +02:00
Raphael CoefficandBertrand Songis 0a8917cbe2 Deactivate aux_serial on Horus targets (#6733)
Remove AUX_SERIAL on Horus
2019-09-10 15:36:34 +02:00
Raphael CoefficandBertrand Songis debbfcbcd0 add “delay” attribute to LUA GPS data (#6014) 2019-09-10 13:36:01 +02:00
Raphael CoefficandBertrand Songis 005e74feea re-fix subType for PXX1 modules (#6708)
re-fix subType for PXX1 modules
2019-09-04 17:26:38 +02:00
Raphael CoefficandBertrand Songis 52fca00394 Unit test fixes (#6706)
* remove downloaded gtest archive after unpacking

* moved horus test files to the build directory

* cleaned up X12S test file (removed subdirectory)
2019-09-04 09:27:37 +02:00
Raphael CoefficandBertrand Songis 27946ee92b [X7] fix #5911 and bmp loading (#6703)
* lcdDraw1bitBitmap now bit exact

* bmp rows are padded up to a multiple of 4 bytes
2019-09-03 07:11:20 +02:00
Raphael CoefficandBertrand Songis d399a75bf6 download googletest automatically (#6697)
and a small fix for finding QT5 installed via brew on OSX
2019-09-02 14:36:13 +02:00
Raphael CoefficandBertrand Songis 706e96de95 setup power delay instead of speed (#6694) 2019-09-01 17:52:21 +02:00
Raphael CoefficandBertrand Songis 3fa82c388a fix #6683 (#6686) 2019-09-01 09:34:46 +02:00
Raphael CoefficandBertrand Songis 40fe6022b4 [Companion] Change instance only for FrSky telemetry (#6671) (#6677)
* [Companion] Change instance only for FrSky telemetry (#6671)

* same for all PXX1 modules
2019-08-28 11:38:44 +02:00
Raphael CoefficandBertrand Songis 3234d52864 Update curve combo box on update() (#6669)
closes #6054
2019-08-27 17:44:54 +02:00
Raphael CoefficandBertrand Songis f9903dca66 Do not try to convert the eeprom until radio is fully ON. (#6668) 2019-08-27 10:20:03 +02:00
Raphael CoefficandBertrand Songis 98926ffee7 [horus] fixed partial model reading for generating thumbnails (timers were wrong) (#6665) 2019-08-26 08:54:40 +02:00
Raphael CoefficandBertrand Songis 5db30ea7bc More unit tests and unified target for all tests (#6661)
* added general settings tests

* fixed pre-219 switchUnlockState (CPN)

* X7 radio settings tests

* updated X10 model

* patched TESTS_PATH to point directly at the complete tests path

* fixed horus general settings switch conversion

* cpn x10 general settings tests

* fixed horus cpn import

* use x10 model from otx file to ease editing with companion

* added make targets "gtests" and "tests"

gtests builds all the tests (radio & companion)
tests builds and executes all the tests (radio & companion)

* fixed companion tests cmake

* fixed gtests-radio target

* fixed commit tests

* fixed converting LS & RS on X10

* fixed converting global functions on X10

* fixed source conversion on X10

* fixed throttle source on X10

* fixed throttle source on radio and companion

* more checks and re-enabled Horus screenData copy

* more tests (X10)

* [X10] restore correct direction for RS & LS

* [horus] convert "Value" widget source

* fixed conversion of ModelHeader::bitmap length

* added missing X10 radio tests to companion tests

* fixed conversion of telemetry sources in logical switches

* [horus] fixed potential crash

* fixed "AND switch" conversion in logical switches
2019-08-26 08:36:31 +02:00
Raphael CoefficandBertrand Songis 21f66f5208 remove "deprecated 'register'" warning with clang (#6607) 2019-08-10 16:25:17 +02:00
Raphael CoefficandBertrand Songis 4880497db5 generate_datacopy.py fixes (#6015)
* fix generate_datacopy on osx

* more datacopy fixes

* added support for linux & llvm-3.8 (default on debian stretch)
2018-07-05 19:04:28 +02:00
Raphael CoefficandBertrand Songis 1492a346d3 fixes #5988 (#5992) 2018-06-27 16:12:33 +02:00
Raphael CoefficandBertrand Songis 6595bcfc3c fix models list reload after USB mass storage connection (#5963) 2018-06-13 22:26:11 +02:00
Raphael CoefficandBertrand Songis a6afbebc94 support for CLI (over USB CDC) without DEBUG (#5940) 2018-06-03 23:17:29 +02:00
Raphael CoefficandBertrand Songis 3665d2afb4 added X9E navigation to the crossfire scripts (#5904)
Submitted on behalf of @aguindehi

fixes #5893
2018-05-23 08:10:35 +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
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
Raphael CoefficandBertrand Songis 56d040ee06 Reset backlight timer on rotary encoder (keys mode) (#5874)
* horus: reset backlight timer on rotary encoder (keys mode)
* taranis: reset backlight timer on rotary encoder (keys mode)
2018-05-08 22:39:02 +02:00
Raphael CoefficandBertrand Songis 462f6244aa fixes #5870 (#5876)
fixes #5870
2018-05-08 22:33:58 +02:00
Raphael CoefficandBertrand Songis 54d430f3c5 [X10] mute audio when fifo buffer is empty (#5875)
* [X10] mute audio when fifo buffer is empty
* do not push audio data if volume is muted.
2018-05-08 22:27:19 +02:00
Raphael CoefficandAndre Bernet b29352b816 fixes trim re-use for T5 & T6 (#5873) 2018-05-06 21:42:43 +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
Raphael CoefficandAndre Bernet 29cbeb8782 add boot version tag to taranis bootloader (#5831)
Allows for detecting the bootloader at the beginning of firmware.

fixes #5826
2018-04-16 07:30:09 +04:00
Raphael CoefficandAndre Bernet 7b12c99a0b bootloader: use software reset instead of jump (#5823)
fixes #5627
2018-04-12 20:49:50 +04:00
Raphael CoefficandBertrand Songis 716a91fc0c allow splash image to be loaded from SD on Horus (#5463)
* allow splash image to be loaded from SD on Horus

* added a new menu entry to assign splash screen
2017-12-19 12:15:03 +01:00
Raphael CoefficandBertrand Songis 0d7832b208 Horus bootloader (#5455)
Horus bootloader
2017-12-19 12:13:59 +01:00
Raphael CoefficandBertrand Songis d13e770ac4 improved Horus rotary encoder driver and generic behavior (#5510)
Improved Horus rotary encoder driver
2017-12-18 23:12:29 +01:00
Raphael CoefficandBertrand Songis e63a877ed6 added getRtcTime() LUA function (#5524)
This allows for retrieving the UNIX timestamp kept internally.
2017-12-18 21:04:02 +01:00
Raphael CoefficandBertrand Songis 1dcd8cc419 small fixes for french translation (#5517)
* fixed VKEYS french

fixes #5481

* fix french confirmation popup

fixes #5475
2017-12-16 15:42:26 +01:00
Raphael CoefficandBertrand Songis 934578118b added support for min/max contrast to eeprom interface and use it (#5473)
Added support for min/max contrast to eeprom interface and use it. Fixes #5468
2017-12-07 22:10:24 +01:00
Raphael CoefficandBertrand Songis 8b34c96a2d fixed switch direction in X10 simulator (#5472) 2017-12-07 18:41:49 +01:00
Raphael CoefficandBertrand Songis 2631ad00bd allow additional cake params to be passed via env variables (#5371)
This allows for non-standard paths and the likes (helps a lot on OSX).
2017-11-18 11:24:16 +01:00
Raphael CoefficandBertrand Songis d4a00dec3b small cosmetic colour changes (#5367)
Small cosmetic colour changes

This allows the RSSI/Tx-Battery/Volume display to be displayed with the proper background colour when changing the main theme colour. Also puts the background colour at some use, as I could not see it used anywhere.
2017-11-18 11:23:34 +01:00
Raphael CoefficandDamjan Adamic 1666fd7355 lua: added EVT_MENU_LONG on Taranis (#3991) 2016-12-28 22:39:59 +01:00
Raphael CoefficandBertrand Songis 35571ad4d1 [LUA] added docs for telemetry push/pop functions (#4013)
related to #4009
2016-11-10 21:40:37 +01:00
Raphael CoefficandGitHub 95598e5de0 Merge pull request #4009 from opentx/raphaelcoeffic/lua_sport_buffer_query
lua: allow telemtry output buffer availability to be queried
2016-11-09 21:22:05 +01:00