1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +03:00
Commit graph

9361 commits

Author SHA1 Message Date
Max Paperno
c67fdcfd6e [Simulator] Fix standalone simulator setting SD card path. 2017-01-17 04:54:05 -05:00
Max Paperno
992c4c4822 [Simulator] Remove keyboard grabbing, causing issues in Linux. 2017-01-17 02:47:54 -05:00
Bertrand Songis
4d4a7471f3 [X7] EEPROM Variant introduced for Companion import (#4245)
* [X7] EEPROM Variant introduced for Companion import
* [X7] Also different FourCC needed if we want to use .otx files
* Allow early version of X7 firmware Eeprom to migrate to new variant (#4246)
* Allow early version of X7 firmware Eeprom to migrate to new variant
2017-01-16 21:52:34 +01:00
Damjan Adamic
979de6bfa2 Re #4224: Companion Hours simulator now uses temporary directory for radio/models settings. (#4247) 2017-01-16 21:35:52 +01:00
mhotar
99b9de271c X7 simu images 2017-01-16 20:46:59 +01:00
Arne Schwabe
e0113e9bb9 Another small multi protocol update, add H26WH mjxq subprotocol and telmetry as option for Bayang (#4244) 2017-01-16 18:58:43 +01:00
Damjan Adamic
19213c8013 Windows build fixes 2017-01-16 15:09:39 +01:00
Arne Schwabe
0de4d9e7ad Fix clang warnings about virtual save methods not overriding the base method (const vs non const) 2017-01-16 12:54:16 +01:00
Arne Schwabe
22a9ec286a Fix compilation on OS X 2017-01-16 12:40:53 +01:00
Andre Bernet
5623760c3e String lengths 2017-01-16 11:35:22 +01:00
Bertrand Songis
263c07ace1 Compilation fix 2017-01-16 06:49:15 +01:00
Damjan Adamic
f7543e3220 Projectkk2glider/simu tmp sd path (#4231)
* Re #4224: Introduced settingsPath and use std::string for paths in simpgmspace.

* Re #4224: Relevant parts of simpgmspace.cpp moved into simufatfs.cpp and simudisk.cpp

* Removed "/" from "mask_monitor_logsw.png"

* Re #4224: findTrueFileName() refactoring

* Faster gtests (less waiting for eeprom operations to finish)

* Re #4224: Radio settings and models directories now taken from alternate path (if set) [simu]

* Fixes #3322: together with previous changes to the SD browser this prevents the simulator from browsing higher than SD card root path.

* f_chdir() debug traces
2017-01-15 21:53:18 +01:00
Arne Schwabe
bedaa505a2 Add two new multi protocols (#4240)
- Add binding sound while multi module is binding.
2017-01-15 21:51:44 +01:00
3djc
81e042971c getCapability review (#4238)
* getCapability review

* X7 has haptic too

* Typo

* @bsongis feedback and other cosmetics
2017-01-15 20:53:05 +01:00
Max Paperno
616eb9206d [companion] Minor warning fix. 2017-01-15 14:46:17 -05:00
Andre Bernet
2b9badf728 Compilation fix 2017-01-15 17:48:32 +01:00
Bertrand Songis
a65aa3d6c7 [Companion] Work in progress - QTreeView in MdiChild (#4197)
[Companion] QTreeView in MdiChild, Horus and X7 support added, fixes for #4224
2017-01-15 17:45:57 +01:00
3djc
d6b84371a9 Create a home for x7 sdcard data (#4230) 2017-01-15 15:27:58 +01:00
Neil Horne
05ca719522 Port #4189 to next (#4235)
Add data modification for su trim, min and max
2017-01-15 15:27:23 +01:00
3djc
dcf9870b3a 3djc/x7 rssi levels (#4236)
* Remove color leveled RSSI warning in line with X9 and Horus

* Some AVR love (or not !)
2017-01-15 15:26:53 +01:00
Damjan Adamic
985dff2af7 Fixes #3683: Display trainer icon in master mode when IS_TRAINER_INPUT_VALID() is true, don't rely on trainer jack connected detection. (#4233) 2017-01-15 10:01:30 +01:00
Damjan Adamic
2e12b6401f Re #3719: documentation updated for model.setLogicalSwitch() - how to set "and" parameter (previous commit was wrong). 2017-01-14 16:18:19 +01:00
Damjan Adamic
85306a0d91 Re #3719: documentation updated for model.getLogicalSwitch() - how to set "and" parameter. 2017-01-14 16:05:59 +01:00
mhotar
d9bac83532 9X simu photo button action 2017-01-13 20:45:04 +01:00
Arne Schwabe
0bdf935fc1 Only show telemetry selection if it is sensible to do (as on Taranis/… (#4215)
* Only show telemetry selection if it is sensible to do (as on Taranis/Horus)

* Cosmetics
2017-01-12 21:42:47 +01:00
Max Paperno
f4f07d3c0c [build] Add comprehensive firmware size reporting scripts for ARM MCUs. (#4218)
* [build] Add comprehensive firmware size reporting scripts for ARM MCUs.

* [build] Add firmware size reports to commit-tests.sh.

* [build] Set permissions on new scripts.

* [build] Add -Wno-error option to commit-tests.sh.

* [build] Revert firmware size report to using `arm-none-eabi-size` if bash not found (eg. on Windows).

* [git] Add .gitattributes to force line endings on UNIX shell scripts.
2017-01-12 21:32:36 +01:00
3djc
3944f30d06 3djc/x7 hardware screen (#4221)
* Introduce hardware screen for X7

* Cosmetics

* Shorten pot string for 128, other cosmetics

* Fix translation strings
2017-01-11 22:44:26 +01:00
Damjan Adamic
4fd42e0e3d Fixes #4209: Backlight was always 100% due to wrong test for the unexpected shutdown. (#4220) 2017-01-11 22:36:21 +01:00
Andre Bernet
d520dac7ba French translations 2017-01-11 15:43:18 +01:00
Andre Bernet
b06864f286 Add new S6R parameters for FW 20161226 2017-01-11 13:50:52 +01:00
Andre Bernet
79ab38af8a French translations 2017-01-11 13:29:54 +01:00
Kongse
e70a857459 Chinese translation minor revise (#4217) 2017-01-11 10:23:44 +01:00
3djc
070d24ef66 fix curves on X7 (#4216)
* fix curve selection display on X7

* Fix undue telemety type row being show on telem screen

* Fix undue telemety type row being show on telem screen (reverted from commit f3d082f44f)
2017-01-11 10:02:54 +01:00
Bertrand Songis
f2b283c585 [All] All FourCC changed (o9x changed to otx) (#4214) 2017-01-09 22:30:01 +01:00
Bertrand Songis
58382d8aca [Horus] Fixes #4205 (#4210)
[Horus] Fixes #4205
2017-01-09 18:17:19 +01:00
3djc
dc51a95029 Allow my X9e to boot ! (#4211)
Thanks
2017-01-09 18:16:16 +01:00
Arne Schwabe
707b000111 Install also multimedia and print support plugins for OS X (#4212)
* Install also multimedia and print support plugins for OS X

* cosmetics
2017-01-09 18:14:37 +01:00
3djc
651f7b3f93 X7-improvement (#4208)
* Allow autoswitch for LS AND

* Add POPUPMENU base edit/clear/copy/paste to LS screen

* Add long menu to OUTPUTS screen

* Compil fix

* Compil fix

* Translations for outputs POPMENU 128x64
2017-01-08 19:54:57 +01:00
3djc
1642732e8f 3djc/horus checklist improvement (#4195)
* Add the possibility of modelfilename.txt to Horus checklist

* Typo

* Cosmetics
2017-01-08 19:00:45 +01:00
Andre Bernet
e7f258ee45 Fix Chinese translation (fix #4179)
Remove disabled languages from build
2017-01-08 10:10:41 +01:00
Max Paperno
95e59d931e [build] Suppress TRACE_SIMPGMSPACE messages in TravisCI build. Cosmetics. 2017-01-08 03:52:09 -05:00
Kongse
01a1b74028 #4179 cn translation done (#4196)
translation finished
2017-01-08 09:50:51 +01:00
Max Paperno
4f988babbf Fix initializer list issue with ZoneOptionValue (#4203)
* [480x272] Fix initializer list issue with ZoneOptionValue (technically not C++11), now works x-platform as well, lowers Flash use; Spit out Zone, ZoneOption, ZoneOptionValue to own unit. (Fixes https://github.com/opentx/opentx/pull/4199/files#r94867147)

* [480x272] Revert to Flash usage for ZoneOptionValue types (still fixes MSVC build). (Ref: 82dce3ee60 (commitcomment-20388918) & https://github.com/opentx/opentx/pull/4199#discussion_r94835251)

* Cosmetics.

* [480x272] Cosmetics.
2017-01-08 09:48:37 +01:00
Max Paperno
1f788723f9 Build system updates, including -Werror on TravisCI (#4202)
* [TravisCI] Build using avr-gcc 4.9.2 (up from 4.8.2). Relies on https://github.com/opentx/opentx/pull/4169 . Fixes all linker warnings, makes clean build.

* [build] Add ARM/AVR compiler version check/display and a workaround for avr-gcc linker warnings when using WARNINGS_AS_ERRORS=true.

* [TravisCI] Enable -Werror on all build targets (WARNINGS_AS_ERRORS=true).

* [build] CMake script updates:
  Enable WARNINGS_AS_ERRORS option for all targets (not just firmware);
  Consolidate some C/CXX flag settings for firmware target, avoid duplication/redundancy;
  All warning flags are now passed to linker (GCC only);
  Add a "build report" for each main target showing compiler, flags, and defines, with verbosity controlled by new VERBOSE_CMAKELISTS option;
  Added properties to PCB, TRANSLATIONS, and a few other options (makes option selector lists in cmake-gui);
  Add macro for conditionally adding C++11 flag;
  Silence CMake >3.0 warnings about CMP0054 policy not being set;
  Reverts AVR linker -Werror workaround;
  Misc. cleanup/consolidation.

* [build] More CMakeLists updates:
  Silence superfluous "CRT_SECURE" series MSVC warnings;
  Formalize finding pthread lib/dll on MSVC builds and fix some issues with install target script;
  Add property string lists to more options;
  Quotes some paths with possible spaces, & other minor cosmetics.

* [build] firmware/bootloader: Remove remaining CMake default compiler flags and add FIRMWARE_C[XX}_FLAGS[_DEBUG] options for user to specify additional flags. Also move ASM language call to silence CMake warning w/MSVC.

* [build] Workaround bogus "uninitialized" warnings from AVR linker.

* [tests] Add custom printer for less verbose gtest output (use --verbose option to revert to gtest default).

* [build] Use less verbose CMake output for TravisCI builds. Formalize search for gtest code and enable gtests target on WIN32-GCC. Minor language fix.
2017-01-08 09:44:33 +01:00
Bertrand Songis
54742fcad9 Compilation fixes for Arch Linux 2017-01-07 18:42:56 +01:00
3djc
91c00d0728 Cosmetics 2017-01-07 12:09:51 +01:00
3djc
a05f20a829 3djc/x7: LS fix limits (#4204)
* X7 limits where wrong : for exemple, if you not set a compare value bigger than 15 in a logicial switch.

This fix it and also takes into account some radio settings (like extended limits)

* Take II

* Cosmetics

* Cosmetics

* Cosmetics (reverted from commit 2282c2633b)

* some #ifdef nightmare cleanup
2017-01-07 10:30:46 +01:00
Damjan Adamic
865ec6eca3 Remove extra NULL from OutputsWidget::options[] 2017-01-07 09:04:26 +01:00
Max Paperno
52b68c9ea2 [companion] Fix a few reasonable warnings brought up by MSVC /W3. (#4206) 2017-01-07 08:33:56 +01:00
Andre Bernet
51f186597c [companion] One more DLL was missing in distrib, fixes the long standing companion play sound issues on Windows 2017-01-06 14:48:57 +01:00