Commit Graph
7334 Commits
Author SHA1 Message Date
3djcandGitHub 13c0b4b5f6 Update fr.h.txt 2018-02-05 20:48:37 +01:00
3djc 25d1cf4455 French translation. This fixes #5667 2018-02-05 07:40:33 +01:00
Bertrand Songis 6af5f94f90 Flash savings on 9X 2018-01-26 19:06:59 +01:00
Arne SchwabeandBertrand Songis 4925e756a6 Save memory (move usb mass storage buffer to reusableBuffer) (#5579)
* Save 128 byte by moving variable to stack

* Make usb mass storage buffer smaller on F2 processors and put into reuseablebuffer

- Lower USB mass storage buffer to 512 bytes per default on F2
  targets, makes usb speed slightly slower ~600 kB/s instead ~700 KB/s
  in my tests, saving 3584 bytes
- Save another ~300 bytes by putting that buffer into reusableBuffer

* Don't put id into reusuableBuffer

All uses of id can be on the stack as well. Makes no difference for ram usage but makes it safer to reuse reusableBuffer

* Only link cdc serial when needed

We always linked usb cdc even in non debug builds. CDC uses about ~600 byte of RAM for its buffers and structures.
2018-01-26 19:00:47 +01:00
3djcandBertrand Songis 95df593c2f Align python crossfire parser to c equivalent (#5595)
Align python Crossfire parser to C equivalent
2018-01-26 18:57:34 +01:00
3djcandBertrand Songis 8be6818a6d Fix custom scripts outputs handling (#5601) 2018-01-26 18:56:02 +01:00
3djcandBertrand Songis fcc3cd369e First draft of glider wiz (#5603) 2018-01-26 18:54:53 +01:00
3djcandBertrand Songis 87eec92c5d Expose more internal GPS data to lua (#5628) 2018-01-26 18:54:22 +01:00
3djcandBertrand Songis 3355d41642 X7 : add missing trainer mode (#5652) 2018-01-26 18:51:25 +01:00
Bertrand SongisandGitHub 0832a5c254 X-Lite PWM sticks (#5632)
X-Lite PWM sticks
2018-01-26 18:50:39 +01:00
Kilrah c7df47703e Translation cosmetics 2018-01-26 11:36:13 +01:00
3djcandAndre Bernet 45d1755e19 X12S : give internal GPS access to LUA (#5610)
* Initial test

* Tested version

* Cosmetics
2018-01-08 15:12:28 +01:00
3djc e50d10bfe6 Review crossfire python parser (reverted from commit 18a9758511) 2018-01-04 14:24:00 +01:00
3djc 18a9758511 Review crossfire python parser 2018-01-04 14:20:54 +01:00
3djcandBertrand Songis fcd8f05c3c X9 : Do not display timer name on telemetry page top bar (#5588)
* Do not display timer name on telemetry page top bar

* Size does matter, after all
2018-01-03 16:18:25 +01:00
3djcandBertrand Songis 669dfe73a4 x10 antenna is either int or ext (#5585)
* Differentiate x10 and x12

* Cosmetics
2018-01-02 14:38:15 +01:00
Bertrand SongisandGitHub c4001c8507 Bsongis/frsky xlite (#5574)
FrSky X-Lite support added
2018-01-02 14:36:48 +01:00
Bertrand SongisandGitHub 269831e0c4 Fixes #5502 (#5575)
* Fixes #5502

* RAS renamed to SWR
2018-01-02 10:41:15 +01:00
Arne Schwabe 7f1dea6129 Silence CLangs warnings so -DWARNING_AS_ERROR does not break the build under OS X 2017-12-30 11:16:35 +01:00
3djcandBertrand Songis 8ee9199abc R9M : activate automatically MODULE telem when possible (#5553)
* Fix #5543

* Auto activate R9M telem

* Adjust radio ui

* Thx @schwabe

* Stop being stupid ?

* PR rework

* [Companion] Removed "Module Telemetry" checkbox.
2017-12-29 09:47:45 +01:00
3djcandBertrand Songis ad0f727880 128x64 Display RAS when needed (#5563)
* Display RAS when needed on 128x64

* AVR compile fixes
2017-12-25 13:34:54 +01:00
3djc 9696284e1d Make server build use 2 threads 2017-12-24 13:36:06 +01:00
3djc e9c2768cc0 Fix compilation in several languages 2017-12-23 10:36:46 +01:00
Bertrand Songis 4f7aba9c05 Revert "Bsongis/sonar (#5555)"
This reverts commit 7806c20
2017-12-22 20:18:21 +01:00
3djc 04ab98a634 Fix for stretch cmake in docker environment 2017-12-21 20:47:24 +01:00
Bertrand SongisandGitHub 7806c2096d Bsongis/sonar (#5555)
Some sonar issues fixed
2017-12-21 18:25:27 +01:00
3djc b7855cf14d Fix firmware compile 2017-12-21 13:10:50 +01:00
Alexander NovikovandBertrand Songis 14d5416616 Added: scripts for nightly/rc/release builds (SD card content, Russian voice), Audio normalization, PSV files for TTSAutomate (#5469)
* Added: scripts for nightly build (SD card content, Russian voice), system sounds: done, other sounds: partially
Fixed: gTTS issue with unicode (Cyrillic) chars in command params (gTTS module instead of system command)

* Fixed: gTTS issue with Unicode (Cyrillic) chars in command params (gTTS module instead of system command), for release candidates and release
Changed: SOX params to normalize the audio
Added: "psv" parameter to export list of audio files into PSV format (see TTSAutomate https://github.com/CaffeineAU/TTSAutomate , to generate voice files using TTS engines from Microsoft, Amazon, Google etc)
Added: some extra voice files for RU
2017-12-20 18:30:44 +01:00
Bertrand SongisandGitHub 727da06266 Files refactoring + costmetics (#5552) 2017-12-20 11:03:33 +01:00
Max PapernoandBertrand Songis 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 76ee7cdd7f Fix libsimulator builds, especially MSVC. 2017-12-19 17:58:15 -05:00
3djcandArne Schwabe 0e0ae3c4d1 1 too short (#5542)
* 1 too short

* Let the compiler do it's magic
2017-12-19 18:30:23 +01:00
Max PapernoandBertrand Songis 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 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
Max PapernoandBertrand Songis 908adb4d2b [sim] Cosmetics for switch position macros (also removes PCBFLAMENCO from simuSetSwitch). (#5474) 2017-12-19 12:13:18 +01:00
Arne SchwabeandBertrand Songis 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 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
Arne SchwabeandBertrand Songis 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 SchwabeandBertrand Songis 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
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
3djcandBertrand Songis 4df64695c7 BT Pin code (#5536)
* x7

* add x12 pin code
make strings translatable

* Cosmetics
2017-12-18 21:03:18 +01:00
3djcandBertrand Songis 394bc1689f Massive cleaning (#5538) 2017-12-18 20:54:22 +01:00
lfischer85andAndre Bernet 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
3djc 3aa7452e48 Post 2.2.1 2017-12-17 13:32:13 +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
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
3djcandGitHub 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 SongisandAndre Bernet d7645252bb Power issue with R9M (always max power) (#5513) 2017-12-14 15:34:14 +01:00