1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-22 07:45:14 +03:00
Commit graph

10664 commits

Author SHA1 Message Date
3djc
8069426b5c Prep 2.2.2N 2017-12-20 13:44:50 +01:00
Max Paperno
59a835b1b3 [Companion] Radio data refactoring (#5551)
* [Companion] Refactor radio data classes to own files, out of eeprominterface.cpp.  No functional changes.

* Move files related to refactoring. No functional or code changes.

* Fix clang warning and an include path.

* Fix indents on curvereference.cpp. [ci skip]
2017-12-20 13:31:43 +01:00
Bertrand Songis
727da06266
Files refactoring + costmetics (#5552) 2017-12-20 11:03:33 +01:00
Max Paperno
38762fb618 Move __attribute__ ((section(s), used)) macro, and cosmetics in definitions.h. (#5549) 2017-12-20 10:19:59 +01:00
3djc
aff40dac8d Move a decade forward ! 2017-12-20 09:56:07 +01:00
Max Paperno
e097d88ab2
Fix build with CMake < 3.1. 2017-12-20 03:04:50 -05:00
Max Paperno
a16e64420e
[Companion] Recent files menu: show full path of each file in status bar and tooltips. 2017-12-19 21:21:20 -05:00
Max Paperno
76ee7cdd7f
Fix libsimulator builds, especially MSVC. 2017-12-19 17:58:15 -05:00
3djc
0e0ae3c4d1 1 too short (#5542)
* 1 too short

* Let the compiler do it's magic
2017-12-19 18:30:23 +01:00
Max Paperno
76ce186bd4 [Companion] Adjust source value ranges and editors in LS/CF/Telemetry (#5437)
* [Companion] RawSourceRange: Fix for timers and RTC; Remove unused "single precision" flag and logic; Add logic for "short" timer handling.

* [Companion] Add TimerEdit class for editing negative times; Implement TimerEdit in LS, CF, and Telemetry (bars) editors;

* [Companion] Refactor LogicalSwitchesPanel for fewer & more efficient updates; Fix newly-added LS not being available in source lists; Fix bug with timer/rtc comparison values getting reset to value of spin box instead of time editor.

* Add forgotten #include.

* [Companion] LogicalSwitchesPanel: Update raw sources list upon screen refresh (fixes #5374); Improve data entry in spin boxes (fixes #5375).

* Make gcc happy.

* [Companion] Set proper RawSourceRange for GVars, trims, mixer scripts, and sticks/switches/cyclic/MAX.

* [Companion] Fix backwards precision/range logic on telemetry sensors offset spinbox; Fix other minor range issues with ratio & offset.

* [Companion] Remove short limit on min/max timer values for LS & telem. bars.

* Switch to TimerEdit in maxLibQt.

* Fix gcc build.

* Remove unused files.

* Caps fix.
2017-12-19 12:17:49 +01:00
Max Paperno
b69f36afe4 [Radio] Adjust value limits for mix sources and update UI for LSs, CFs & telem. (#5445)
* [firmware][ARM] Adjust some value limits for mix sources and update editing UI for LSs, CFs, & telem. bars:
    * Increase timer limits to +/-8:59:59 when used with LSs, CFs, & bars;
    * Increase Lua script output limits to +/-30K;
    * Trim limits based on extended limit model setting;
    * Limit TX voltage to 25.5;
    * Limit TX time comparison value to 29:59m;
    * Use proper GVar limits (user-configured), display precision, & unit in LSs & telem. bars;
    * Display timer values properly with hours (instead of mmm:ss).

* [firmware] getTimerString() would fail with times >= 100min if hours weren't shown.

* Fix builds w/out GVars.
2017-12-19 12:17:12 +01:00
Raphael Coeffic
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 Coeffic
0d7832b208 Horus bootloader (#5455)
Horus bootloader
2017-12-19 12:13:59 +01:00
Max Paperno
908adb4d2b [sim] Cosmetics for switch position macros (also removes PCBFLAMENCO from simuSetSwitch). (#5474) 2017-12-19 12:13:18 +01:00
Bertrand Songis
7697bcb087
Update CREDITS.txt 2017-12-19 09:40:59 +01:00
Arne Schwabe
975759284d Implement reading firmware on Horus via USB (#5442)
* Add firmware lun target for non EEPROM platforms

* Fix Fat fat tables and make FAT 1024 byte big

* Niceify some constants

* Cleanup (saves 1024 byte of flash) and fix reporting wrong Size of drive

* Silence compiler warning, set right size for flash on X12/X10

* Add firmware.txt/bootload.txt to virtual drive that displays version information

* Report also version of other component (bootloader/firmware)

* Show version also in bootloader and fix F4 platforms

* Save space on X7

* Fix X7 logic

* Compile fix for AVR

* avr-gcc does not like no newline after ifdef

* Really fix avr
2017-12-18 23:19:19 +01:00
Raphael Coeffic
d13e770ac4 improved Horus rotary encoder driver and generic behavior (#5510)
Improved Horus rotary encoder driver
2017-12-18 23:12:29 +01:00
3djc
04547a9206 Merge companion and firmware notes, and get them from the server (#5530) 2017-12-18 23:02:40 +01:00
Arne Schwabe
7dd32c8878 Implement s.port polling for multi (#5521)
Sport polling is implemented quite low level for regular s.port.
Go another approach for multi and add another multi type for s.port polling
2017-12-18 23:00:03 +01:00
Arne Schwabe
d0ec3e0266 Fix problem with multi frsky fallback (#5496)
* Fix problem with frsky fallback

* Try to fix code style
2017-12-18 22:58:24 +01:00
Max Paperno
0dbad182e8 [Companion] Radio conversion improvements (#5534)
* Move MultiposPots & MultiposPotsPositions capability lookups and getAnalogInputName() to Boards class.

* Add RawSource::isAvailable() and RawSwitch::isAvailable(); Add board type param to various RawSource lookup functions.

* Add CustomFunctionData::toString(), FlightModeData::toString(), FactoryInstalledPots board capability, MAX_SWITCH_TYPE, & break out GeneralSettings source/switch defaults to own function.

* Add RadioDataConversionState class for tracking conversion actions.

* Implement RadioDataConversionState handler, add conversion process report, and improve/fix conversion issues:
    * Make sure all switches/pots/knobs have default configs for destination board type;
    * Try to move more custom control names, intelligently;
    * Convert model timers and throttle source;
    * Adjust for Horus 6P switch in place of Taranis S2 knob;
    * Adjust for extra sliders on X12 and X9E to move LS and RS to proper slots as needed;
    * Make sure ALL controls are validated, eg. to always account for extra trims/analogs/switches/etc which don't exist on destination;
    * Properly indicate invalid RawSource::toString() items with "???".

* Allow user to cancel out of file conversions & provide ample warnings if switching radio type/profile with unsaved file(s) still open;
Also: Fix bug with some orphaned MdiChild windows never being deleted; Create static bool Storage::isBoardCompatible(b1, b2).

* Add maxLibQt "stub" (will not compile).

* Add ExportableTableView for better presentation of conversion results table.

* Move getFourCC() and isBoardCompatible() to Boards class.
2017-12-18 22:56:39 +01:00
Raphael Coeffic
e63a877ed6 added getRtcTime() LUA function (#5524)
This allows for retrieving the UNIX timestamp kept internally.
2017-12-18 21:04:02 +01:00
3djc
4df64695c7 BT Pin code (#5536)
* x7

* add x12 pin code
make strings translatable

* Cosmetics
2017-12-18 21:03:18 +01:00
3djc
394bc1689f Massive cleaning (#5538) 2017-12-18 20:54:22 +01:00
Bertrand Songis
6839939140
Update CREDITS.txt 2017-12-18 19:41:43 +01:00
Bertrand Songis
00c7b23d15
Update CREDITS.txt 2017-12-18 18:32:20 +01:00
lfischer85
bc6bfccade fix for X12s crossfire issues #5162 (#5533)
* fix X12s crossfire issues

* Update radio_hardware.cpp

* Update crossfire.h

* Update radio_hardware.cpp

* Removed now unnecessary macros.
2017-12-18 15:15:28 +01:00
Bertrand Songis
ed2becce88
Update CREDITS.txt 2017-12-18 07:29:39 +01:00
3djc
b39acdf18a
Merge pull request #5526 from opentx/3djc/2.2.2-nightlies
Post 2.2.1
2017-12-18 07:18:28 +01:00
Bertrand Songis
149e039cd0
Update CREDITS.txt 2017-12-17 23:38:03 +01:00
Bertrand Songis
f99fadaa20
Update CREDITS.txt 2017-12-17 22:48:43 +01:00
Bertrand Songis
b5fd533362
Update CREDITS.txt 2017-12-17 22:41:29 +01:00
Bertrand Songis
8e88cfbf9a
Update CREDITS.txt 2017-12-17 21:50:47 +01:00
Bertrand Songis
3969413779
Update CREDITS.txt 2017-12-17 19:19:25 +01:00
Damjan Adamic
eedbf2fbb7 Launchpad files for 2.2.1 release:
* dropped support for trusty (Ubuntu 14.04 LTS) since it's QT version 5.2 is too old, we need at least 5.3
 * added bionic (Ubuntu 18.04 LTS)
2017-12-17 18:40:25 +01:00
Bertrand Songis
fbb358bf71
Update CREDITS.txt 2017-12-17 15:39:07 +01:00
Bertrand Songis
b3602cad87
Update CREDITS.txt 2017-12-17 15:01:31 +01:00
Bertrand Songis
b9387ceeda
Update CREDITS.txt 2017-12-17 14:08:50 +01:00
3djc
3aa7452e48 Post 2.2.1 2017-12-17 13:32:13 +01:00
3djc
cca7180834 Release prep 2017-12-17 10:07:54 +01:00
Bertrand Songis
104ab8c7f3 Typo fix
Because omeone asked to to explain what means LDC today ...
2017-12-16 22:09:38 +01:00
Bertrand Songis
e4d273aa0e
Update CREDITS.txt 2017-12-16 17:12:32 +01:00
Bertrand Songis
df61a1ab4e
Update CREDITS.txt 2017-12-16 17:11:01 +01:00
Raphael Coeffic
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
Max Paperno
b55b68f191
[Companion] Fix incorrect Settings dialog tab shown by default (closes #5511). 2017-12-15 19:15:14 -05:00
3djc
2c2339e229
Merge pull request #5514 from opentx/bsongis/r9m_navigation_issue
R9M navigation issue (when external module is R9M-EU and internal mod…
2017-12-14 15:35:40 +01:00
Bertrand Songis
d7645252bb Power issue with R9M (always max power) (#5513) 2017-12-14 15:34:14 +01:00
3djc
dc89bb1dfc Fix SHUTDOWN_CONFIRMATION compile 2017-12-14 07:58:31 +01:00
Bertrand Songis
47383fd053
Update CREDITS.txt 2017-12-13 22:15:32 +01:00
Bertrand Songis
f80406c7cb R9M navigation issue (when external module is R9M-EU and internal module is OFF) 2017-12-13 22:13:40 +01:00