Commit Graph
211 Commits
Author SHA1 Message Date
Bertrand Songis 1cbe73afa9 More EEPROM tests on X9D+ 2019 (ACCESS) 2019-09-03 11:41:41 +02:00
Bertrand Songis 69a3bb01ec One more non regression test for XLite EEPROM conversion 2019-09-03 07:59:42 +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 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
Bertrand Songis e5c0b9c4ea [X10] Conversion fix 2019-08-23 14:55:23 +02:00
Bertrand Songis 9296d0c83b Add radio bin file 2019-08-23 14:37:41 +02:00
Bertrand Songis 28e994428f Revert previous model test file 2019-08-23 14:34:32 +02:00
Bertrand Songis 41e78d9657 Revert previous model test file 2019-08-23 14:26:28 +02:00
Bertrand Songis a9255e802a Temporary commit for X10 conversions fixes 2019-08-23 14:21:02 +02:00
Raphael Coeffic 844059e5d6 added test for #6631 2019-08-21 07:54:17 +02:00
Bertrand Songis 2ce17f3b68 More unneeded definitions removed 2019-08-20 18:04:19 +02:00
Bertrand SongisandGitHub 39f29860c9 Bsongis/telemetry clean session (#6597)
Telemetry cleaning session
2019-08-02 21:31:03 +02:00
3djc 79f253e0e5 Add flighmode switch to x7 tests 2019-07-30 17:48:02 +02:00
Bertrand SongisandGitHub 151827ada5 Bsongis/x9d+ 2019 (#6588)
X9D+ 2019 added
2019-07-26 19:18:29 +02:00
Bertrand SongisandGitHub 3a0960c1e3 Bsongis/adc rtc temperature (#6537)
RTC voltage + CPU temperature + RTC voltage alarm (thanks @schwabe)
2019-07-03 07:58:32 +02:00
Bertrand Songis 62bf275c34 Issue in non regression tests 2019-06-19 17:21:36 +02:00
Bertrand Songis 43284b9ca9 Issue in non regression tests 2019-06-19 16:25:11 +02:00
Bertrand SongisandGitHub eaf595bd76 Refactoring keys/switches/trims in simu (#6515)
Refactoring keys/switches/trims in simu
2019-06-18 20:07:15 +02:00
Bertrand SongisandGitHub c3388dc65e Bsongis/x9lite pwr fix (#6501)
X9 Pwr fix
2019-06-14 21:19:26 +02:00
Bertrand Songis 1e50cc5297 Fix an issue in statistics display 2019-06-06 09:13:06 +02:00
Bertrand Songis 8d0be6b748 Module names constants / strings changed again 2019-05-28 16:05:25 +02:00
Bertrand SongisandGitHub 4d07faa8e0 Bsongis/accst support over pxx2 (#6455)
ACCST support over PXX2
2019-05-27 17:23:17 +02:00
Bertrand SongisandGitHub 794fe32006 X10 extra switches sticks (#6423)
[X10] 2 extra sticks switches + 2 extra pots
2019-05-17 20:42:41 +02:00
Bertrand SongisandGitHub 08de1a75e0 3djc/x7 additional switches (#6422)
X7, add two additional switches
2019-05-13 22:59:45 +02:00
Bertrand Songis bc04001498 Logical issue: X9DP is NOT an X9D. Will be fixed better when we introduce radio family definitions 2019-05-13 10:02:09 +02:00
Bertrand Songis 2ad6683c17 As X3 is X9LITE PCBX9 should be defined 2019-05-11 18:24:40 +02:00
Bertrand Songis e77b096463 Renaming PXX / ACCESS modules constants 2019-05-10 23:06:48 +02:00
Bertrand Songis f3017bd97f Compilation fix (X9D+) 2019-05-08 09:47:43 +02:00
Bertrand Songis 684b02d093 First conversion non regression test (X9D+) 2019-05-07 23:35:12 +02:00
Bertrand Songis 4b70416481 Compilation fixes 2019-04-16 22:11:05 +02:00
Bertrand Songis 0dd5f018c1 Compilation fixes 2019-04-16 21:31:49 +02:00
Bertrand Songis ed91931184 More AVR removal 2018-08-05 13:12:51 +02:00
3djc 409036b6ed Possible fix to gtest 2018-07-14 11:13:46 +02:00
Max Paperno 00efc0d571 Merge fix. 2018-07-12 13:15:41 -04:00
Max Paperno 7bc59784b5 Merge branch '2.2' into 2.3 2018-07-12 13:09:34 -04:00
3djc 3556d7c0e8 Apply #6036 equivalent to 2.3 2018-07-12 12:22:07 +02:00
3djc 89656d8195 Fix Gtest (fullfilling my debt !) 2018-07-12 08:56:03 +02:00
3djc 69d3e9be0a Add Gtest (fullfilling my debt !) 2018-07-12 07:40:57 +02:00
Bertrand Songis d2697345e1 VIRTUAL_INPUTS #define removed 2018-07-11 18:54:05 +02:00
Bertrand Songis db1d3fcb32 Remaining CPUARM removed 2018-07-11 13:33:51 +02:00
Bertrand SongisandGitHub 3f1d09bc68 Merge pull request #6016 from opentx/schwabe/removeAVR
Remove a lot more AVR specific code
2018-07-11 13:19:23 +02:00
Raphael Coeffic 8e39de0368 fix horus LCD tests 2018-07-06 08:59:34 +02:00
Arne Schwabe c75d873b91 Remove CASE_CPUARM and IF_CPUARM macros 2018-07-05 12:05:55 +02:00
3djc dd632969f3 Massive clean thanks to Schwabe : unifdef -m -DCPUARM -UCPUM64 -UCPUM2560 -UPCBSTD -UPCBMEGA2560 -UPCBGRUVIN9X -UPCB9X $(find . -name "*.cpp" -or -name "*.h") 2018-07-05 08:04:55 +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
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
Bertrand SongisandGitHub c4001c8507 Bsongis/frsky xlite (#5574)
FrSky X-Lite support added
2018-01-02 14:36:48 +01:00
Bertrand Songis 4f7aba9c05 Revert "Bsongis/sonar (#5555)"
This reverts commit 7806c20
2017-12-22 20:18:21 +01:00
Bertrand SongisandGitHub 7806c2096d Bsongis/sonar (#5555)
Some sonar issues fixed
2017-12-21 18:25:27 +01:00