1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-23 16:25:12 +03:00
Commit graph

9092 commits

Author SHA1 Message Date
Bertrand Songis
b2878e6ea6 Google tests didn't compile correctly on all platforms and it was not reported as an error 2016-11-14 18:08:56 +01:00
Bertrand Songis
26a35ebcee [9XR-PRO] CMake error when Mike's bootloader is not correctly downloaded 2016-11-13 20:28:29 +01:00
Arne Schwabe
6b57f7afa7 Add FlySky Telemetry (#3997)
Add FlySky Telemetry
2016-11-13 19:09:33 +01:00
Bertrand Songis
bfb5e9b8a6 Bsongis/x7d fixes (#4019)
* [X7D] Various fixes

[Others]
- Fixes the Mixer / Inputs MOVE / COPY problem on X9E
- Adds the copy/paste/rename feature in SDCARD menu on X7D/SKY9X
- Merges some duplicated code using the new directory structure
- Cosmetics
2016-11-13 19:06:21 +01:00
3djc
fd33cc9d2b This merges S6R dir on Taranis (two different lua still exist for config and calib) (#4020) 2016-11-13 11:20:37 +01:00
3djc
dccfb03b67 3djc/add f gets (#3998)
* Introduce f_gets()

* Comment out debug TRACE

* Windows editing protection

* Store strlen result + uncrustify

* Uncrustify was probably too harsh !

* Cosmetics
2016-11-11 22:23:05 +01:00
Damjan Adamic
7b2d8b1f0a Bluetooth driver added to Horus, BT_EN_GPIO_PIN was wrong on beta board (#4005)
CLI interface for Bluetooth
2016-11-11 19:56:36 +01:00
3djc
5869b81e9c Rb10 support (#4015)
* Rb10 support

* Even more thorough check

* A simpler test for the more complex scenario :) (thx Bsongis :))
2016-11-11 19:55:53 +01:00
3djc
c0837a59a6 Add back model bin name, currently needed if you want to use model notes (#3994)
* Add back model bin name, currently needed if you want to use model notes

* Turn into code graphics by Mhotar(tm)
2016-11-10 21:45:07 +01:00
Bertrand Songis
d58244ebde Bsongis/lua interpreter added on x7d (#3999)
* [X7D] Lua option added (only standalone scripts)

* [X7D] Compilation fix

* [X7D] Compilation fix

* [X7D] Compilation fix

* [X7D] Compilation fix
2016-11-10 21:41:16 +01:00
Raphael Coeffic
35571ad4d1 [LUA] added docs for telemetry push/pop functions (#4013)
related to #4009
2016-11-10 21:40:37 +01:00
Andre Bernet
23ee9d1d6b [Horus] An empty GF line would default to Override the first time it is used, but Override is not available in GFs. 2016-11-10 21:45:37 +04:00
Raphael Coeffic
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
Raphael Coeffic
a315f6702b lua: allow telemetry buffer availability to be queried
When crossfireTelemetryPush() or sportTelemetryPush() is called without arguments, it returns a boolean telling whether or not the output buffer is currently available.

This simplifies the LUA in case SPORT or Crossfire is used as a transport for bigger requests (like MSP/SPORT).
2016-11-09 16:17:54 +01:00
Andre Bernet
fd127e1ec2 Fix curve settings alignment (Fix #4006) 2016-11-09 09:36:50 +04:00
fraternl
80085cc76c NL translations (#4007)
* Added translation for expected version and delete error

* Some more translations

* consolidated "Toon Trims" to 1 string
2016-11-09 08:59:31 +04:00
fraternl
a8940ede63 Added NL translation for expected version and delete error (#4004) 2016-11-08 18:56:16 +01:00
3djc
b06d14b4c7 Add bottom mixer status bar when editing mixer (#4001)
* Add bottom mixer status bar when editing mixer

* Cosmetics
2016-11-08 15:32:29 +04:00
3djc
189c49f725 Merge pull request #3936 from rcbebo82/rcbebo82/de_spoken_language
German spoken language fixed.
2016-11-08 11:38:51 +01:00
Arne Schwabe
345ea0f3e8 Add constants for LUA telemetry (#3990)
* Add constants for LUA telemetry

This commit added 896 bytes to flash size which is a significant size. An alternative would to just document the values in the lua telemetry function.

Shortening some of the UNIT names (e.g. UNIT_MW instead of UNIT_milliwatts) or shortening UNIT_ to U_ could save a few bytes but the

* #if 0 ... #endif constants

* horus has 2MB flash
2016-11-06 18:29:10 +01:00
Bertrand Songis
3b3b528bbf [Crossfire] Bind and OTA Rx firmware update now OK 2016-11-06 11:54:05 +01:00
Florent Martel
08148e2e33 Lua setTelemetryValue with optional params (#3993) 2016-11-05 13:16:56 +01:00
Bertrand Songis
19789c115c [Lua] popupConfirmation function added 2016-11-05 12:47:48 +01:00
Benjamin Boy
a67135d139 Normal number 1 is spoken now as "eins" not "ein"!
All numbers should work now, anyone who can test the code?
2016-11-04 17:04:40 +01:00
Arne Schwabe
6b5d2039dc Add firmware-size target to ARM 2016-11-04 12:46:58 +01:00
Benjamin Boy
3e952be074 Precison 1 now also works. Could anyone else check the code? 2016-11-04 11:42:15 +01:00
3djc
2fcab1e8c5 Fix column alignment between text/digits (#3984) 2016-11-03 22:07:03 +01:00
3djc
00b23a4210 3djc/fix #3777 (#3986)
* Models notes where overwritten before even having a chance to be displayed

* Models notes where overwritten before even having a chance to be displayed (reverted from commit 0834894b61ed527c3c65d6356793a08ff6e3be6a)

* Delay the checks until after the main menu is launched to avoid the model notes to be overwritten even before appearing
2016-11-03 22:06:18 +01:00
Bertrand Songis
0318d63bf8 [X7D] Quick & dirty fix for special functions navigation which was broken 2016-11-03 22:01:30 +01:00
Bertrand Songis
f01f588ad2 [SKY9X/AR9X/X7D] Main timer badly displayed 2016-11-03 18:24:00 +01:00
Bertrand Songis
c52e9be3d5 [XFire] New function added to raise a warning popup 2016-11-02 22:13:45 +01:00
Damjan Adamic
d2144001d1 Various fixes for gtests that were shown when running tests in random… (#3978)
* Various fixes for gtests that were shown when running tests in random sequence. Enabled random gtests shuffling in commit tests.

* 9X gtests fixes

* more gtests fixes

* even more gtests fixes

* Another round of gtests fixes

* Code deduplication with test fixtures

* More fixtures
2016-11-02 22:03:44 +01:00
Arne Schwabe
dfc81cecad Fix Atmel ARM Linker script for gcc 5.4.1 (#3982)
Copy .init and .fni section over from the STM32 linker scripts to make targets like AR9X buildable again. Tested by @sreichholf on a AR9X board
2016-11-02 16:20:49 +01:00
3djc
b22bd1f315 3djc/fix #3965 (#3981)
* Introduce 'magnetic 0' for trims

* Removing magnetic 0 that could feel unnatural to a force to 0 when changing side

* Efficiency

* Optimise

* Optimise (reverted from commit 41fc09f0bd37dd4c3067f7406562ab68c07b22ca)

* Bertrand's feedback incorporated

* Another one (bites the dust ?)
2016-11-02 13:33:02 +01:00
Bertrand Songis
45a8cd94e7 [Crossfire] Lua script continued 2016-11-02 13:31:50 +01:00
Arne Schwabe
a50d69c3b2 Mark gtest variables cached (#3980)
* Mark gtest variables cached

Set GTEST location variables as CACHE so they can be modified when gtest is in a different location from the cmake call (/usr/src, /usr/include is not writable on OS X)

* Uppercase location and write Google Test like Google does
2016-11-02 13:05:13 +01:00
Damjan Adamic
5ba14734cb Projectkk2glider/gps misc fixes (#3970)
* Fixed Lua GPS date (year is now kept with four digits)

* * GPS year displayed with two digits
* GPS date/time handling fixes
2016-11-02 13:03:26 +01:00
Damjan Adamic
a332f7a872 Fixes #3964: Added free space check before putting new data into Lua … (#3968)
* Fixes #3964: Added free space check before putting new data into Lua Telemetry Fifo

* Copy-paste error

* Compilation fix

* Another compilation fix
2016-11-02 12:56:43 +01:00
Florent Martel
450430f22e Provide getRSSI lua method (#3976) 2016-11-02 12:53:07 +01:00
Bertrand Songis
0fe85834ab [XFire] Crossfire parameters chunks support added 2016-11-02 12:50:17 +01:00
Arne Schwabe
54a9393588 Implement setting sensor values from LUA (#3977)
* Implement setting sensor values from LUA

* Fix name of lua sensors
2016-11-02 12:48:11 +01:00
3djc
2974af5018 Make abs macro AVR specific. This fixes gcc >= 6.2 compile issues. (#3960)
* Make abs macro AVR specific. This fixes gcc >= 6.2 compile issues. Tested on gcc 6.2 and 4.9.2

* Since we are getting conflicting result, and only 4 byte diff, lets remove it altogether ! And yeah, there was that typo too ;)
2016-11-02 11:10:03 +01:00
Bertrand Songis
c3f0b01307 [XFire] Telemetry parser script updated 2016-11-02 09:19:14 +01:00
Andre Bernet
8a9f541753 Merge pull request #3974 from craftandtheory/frsky_definescleanup
Simple cleanup of #if defined
2016-11-01 15:28:20 +04:00
floaledm
74df9778bb Simple cleanup of #if defined 2016-11-01 04:56:58 -05:00
Andre Bernet
8408c1017d Merge pull request #3971 from opentx/schwabe/show_commit_on_radio
Display commit on radio
2016-11-01 09:55:15 +04:00
Arne Schwabe
bbcd5c9336 Explicilty set CMP0042 to NEW, which is the default anyway, to silence cmake warning on OS X 2016-11-01 01:19:42 +01:00
Arne Schwabe
798f5e6826 Display commit on radio
This makes it easier to diagnose which exact version is on a radio when dealing with build from source version
2016-10-31 21:32:15 +01:00
Damjan Adamic
ff2fdacfb2 Fixes #3872: Companion export to Google Earth now converts feet to meters if GPS altitude is logged in feet. 2016-10-31 11:58:35 +01:00
Damjan Adamic
258b8adfb9 Fixes #3912: Deleting file in SD manager updates the list wrongly (Horus) 2016-10-31 11:07:44 +01:00