Commit Graph
143 Commits
Author SHA1 Message Date
Bertrand Songis 5fc4d86ef5 Compilation fixes 2019-03-19 18:29:32 +01:00
Bertrand Songis b3480f3d46 Revert a previous commit 2019-03-19 18:03:39 +01:00
Bertrand Songis 9831853050 Conversions fix 2019-03-19 14:18:27 +01:00
3djc d0c6f6b9b7 Fix for Travis 2019-03-19 13:29:53 +01:00
Bertrand Songis 48fc1191a6 Conversions continued 2019-03-19 12:21:36 +01:00
Bertrand Songis 3996fa17bc Conversion continued 2019-03-19 12:14:51 +01:00
3djc b4b97379bf fixes 2019-03-19 11:58:45 +01:00
Bertrand Songis 5285cc9b5e Conversion from 218 to 219 added 2019-03-19 11:30:42 +01:00
3djc fd3ead1b1f fixes 2019-03-19 11:23:59 +01:00
Bertrand Songis c3a320a9fc Cosmetics 2019-03-19 10:29:23 +01:00
Bertrand Songis a82dd27c99 EEPROM conversions continued 2019-03-19 10:28:12 +01:00
3djc 587135bf0a fixes 2019-03-19 08:44:15 +01:00
3djc 135efd520c wip my brain close to meltdown 2019-03-18 17:04:16 +01:00
3djc 47b8680166 continued 2019-03-18 16:28:32 +01:00
3djc 390e31cdda continued 2019-03-18 16:12:49 +01:00
3djc 5a8d47cccc Test concept 2019-03-18 16:05:28 +01:00
Bertrand Songis db27a81a5d Conversions refactoring started 2019-03-18 15:14:27 +01:00
Bertrand Songis 916d279918 Conversions refactoring started 2019-03-18 14:34:46 +01:00
Bertrand Songis e567643652 Refactoring. CAUTION: ERASE your EEPROM again! 2019-02-22 13:15:23 +01:00
Bertrand Songis e4fa31be28 Rename char2idx to char2zchar 2019-02-21 10:35:48 +01:00
Bertrand Songis 6d4e908de0 Custom popup for receiver registration 2019-02-14 17:09:15 +01:00
Bertrand Songis 274543a57f Data structs ready ... 2019-02-04 16:26:44 +01:00
Max Paperno 66cd99bf6b [simu] Updates for RTOS abstraction layer; Remove further SIMU_SLEEP usages. 2018-09-08 22:04:37 -04:00
Max Paperno a2006940db [simu] Refactor simu startup and shutdown handling (for 2.3 branch):
* Use pwrCheck() as primary control point for shutdown, centralizes thread control in simpgmspace module;
 * Remove main_thread_running in favor of separate variables for startup mode and shutdown flag;
 * Don't start a thread for ARM startup, just run simuMain() directly (the thread just exits anyway);
 * Refactor SIMU_SLEEP() macro, and remove all unnecessary uses of it, also remove SIMU_SLEEP_NORET;
 * Add startType param to opentxStart() to control splash and startup checks;
 * Fixes backlight never turning off in simulator with "SWITCH" power button type (pwrPressed() was always true);
 * Fixes simu shutdown when model checklist is displayed at startup;
 * Adds stubs to possibly simulate a "soft" power button in the future.
2018-09-08 22:04:37 -04:00
Bertrand Songis ea76998beb More AVR removal 2018-08-05 12:39:05 +02:00
Bertrand Songis f3bfde242b RTOS refactoring + more AVR removal 2018-08-05 12:06:48 +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
3djc 5dd365238e Merge branch '2.2' into 2.3 2018-07-06 07:16:27 +02:00
Raphael CoefficandBertrand Songis 4880497db5 generate_datacopy.py fixes (#6015)
* fix generate_datacopy on osx

* more datacopy fixes

* added support for linux & llvm-3.8 (default on debian stretch)
2018-07-05 19:04:28 +02:00
Arne Schwabe a5b44fa877 Remove ARM_FIELD and AVR_FIELD 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
Raphael CoefficandBertrand Songis 6595bcfc3c fix models list reload after USB mass storage connection (#5963) 2018-06-13 22:26:11 +02:00
3djcandBertrand Songis 13c5387dc9 Disable pulse while model notes are displayed (#5758)
* Implement model note view without menu handler. Use it before pulse starts

* Also at model change. Handle wd reset and start pulses after mixer

* Fix Horus compile

* Fix Horus crash

* Fix coding style issue
2018-06-09 11:34:56 +02:00
Raphael CoefficandBertrand Songis 7379f6064e Horus: add receiver number check (#5841)
* add receiver number check for Horus

* find the first free model ID on LONG ENTER

* use the next free model ID for new models

* improve free model ID support for std LCD as well

* fixed “duplicate model”

* fixed ModelsList::isModelIdUnique()
2018-05-21 19:03:51 +02:00
3djcandBertrand Songis b00c4e30d0 Use first persistant timer as display value in Horus modelselect (#5772)
[Horus] When selecting model, displays first permanent timer or 00:00 if none exist
2018-03-25 09:33:55 +02:00
Bertrand SongisandGitHub c4001c8507 Bsongis/frsky xlite (#5574)
FrSky X-Lite support added
2018-01-02 14:36:48 +01:00
Bertrand SongisandGitHub 727da06266 Files refactoring + costmetics (#5552) 2017-12-20 11:03:33 +01:00
3djcandBertrand Songis 394bc1689f Massive cleaning (#5538) 2017-12-18 20:54:22 +01:00
3djcandBertrand Songis 462e5f05e6 Also play model name on model changes (#5416)
Fixes #5414
2017-11-23 23:25:38 +01:00
Bertrand SongisandGitHub 57d53abd6e Fixes #5300 (#5353) 2017-11-13 22:18:07 +01:00
3djcandBertrand Songis b8b67ba864 Push model name audio after hello (#5350) 2017-11-12 14:07:26 +01:00
sirPernaandBertrand Songis 390342af78 Crossfire baudrate selection for X7 support ( fixes #4922 ) (#5194)
* Crossfire baudrate selection for X7 support ( fixes #4922 )

* Moved baurate selection to general settings

* renamed mavbaud to telemetryBaudrate for ARM targets
translation added

* typo fixed
2017-09-10 17:10:47 +02:00
Arne SchwabeandBertrand Songis e16b48db30 Reduce RF_PROTO_OFF logic, disable R9M Sport out when internal telemetry is on (#5159)
* Remove most of the special logic associated with RF_PROTO_OFF

This simplifies code in many areas since the internal module does not require special handling and also fixes a few bugs with INTERNAL_PPM

* Disable R9M sport option if internal module has telemetry

* Fix X12s build

* Use macros instead of direct comparisions

* Fix sport bit sent the wrong way. Rename S.port out to Telemetry

* Compile fix
2017-08-15 21:47:45 -07:00
Bertrand SongisandGitHub 8d8fef23c9 Bsongis/x7 bluetooth (#5068)
* Trainer Bluetooth support added
X7S board added (X7 has no bluetooth while X7S has)
X10 HAL updated

* Bluetooth Telemetry

* En fix
Add all languages

* Temporary test for @bsongis

* Missing translations
2017-08-12 00:49:54 +02:00
Arne SchwabeandBertrand Songis a7524ba74d Fix clang warnings (#4988)
* Fix clang warnings

- signed char on AVR vs unsigned char on ARM
- use references instead of points in calculation (same code size)
- Ignore packed address warning for mavlink includes
- Turn error on packed addresses to warning for Horus (Cannot fix that without major refactoring, might even need eeprom change)

* Revert fixes for clang on AVR as the old AVR gcc does not like them
2017-07-30 09:59:15 +02:00
Arne SchwabeandBertrand Songis 8e07f9b0f4 Allow to disable telemetry alarams (#4981)
* Allow to disable telemetry alarams

This mainly useful for cheap transceivers that have telemetry but no power amplifier and very limited range of often 10-20 meters. This includes fishpepper's tinyFISH FC (and its legal/illegal clones) and also Spektrum BNF models.

* Always disable a warning when RSSI Warnings are disabled

* Compile fix

* Fix typos, also mute sensor lost

Refactor the FrskyRSSIAlarm[2] into a EEPROM compatible RssiAlarm struct

* Compile fixes

* Also refactor Companion

* Cleanup unused datastruct on ARM

* Compile fix for AVR

* Change int to uin8_t for avr

* Fix strings
2017-06-14 23:34:27 +02:00
3djcandBertrand Songis fa951acf40 Review line ending handling (#4820)
* New line end handling rules

* Normalize all the line endings
2017-04-19 10:54:43 +02:00
Arne SchwabeandBertrand Songis 7779bc51cd Remove unused pointer startP (#4770)
Clang complains about startP pointer pointing to a member of a packed structure, resulting on in a unaligned pointered address. The compiler will optimise the pointer out anyway
2017-04-11 07:50:02 +02:00
3djcandBertrand Songis d1cacc2f0f Use filename when no name is defined (#4726) 2017-03-31 16:12:43 +02:00