Commit Graph
219 Commits
Author SHA1 Message Date
3djcandGitHub f0d8d340fd Add AUX2 (#7588)
AUX2 added
2020-05-15 14:51:36 +02:00
3djcandGitHub 0e2b4e0a3f Improve TX16s UARTS (#7568)
* Rework TX16s UARTs

* Rework TX16s UARTs
2020-05-04 15:46:43 +02:00
Kilrah d6f00d790c Merge branch '2.3' into 3djc/TX16s-2.3
# Conflicts:
#	radio/src/translations/es.h.txt
2020-04-24 12:14:54 +02:00
Kilrah 9dbb5226c0 Fix stick directions 2020-04-20 13:42:38 +02:00
3djcandGitHub 4ffb1a34dc Fix T12 DMA conflict (#7505) 2020-04-09 10:19:49 +02:00
Bertrand Songis fdf77fb476 C function backlightOn() renamed to resetBacklightTimeout() 2020-03-27 10:43:06 +01:00
3djcandGitHub f6075b3c0b Fix X9E RTC batt voltage readout (#7382) 2020-02-18 11:26:37 +01:00
3djcandGitHub 0f9114c524 Initial TX16S (#7344)
* TX16S initial push - Radio booting, navigation keys ok

* TX16S libsimu

* Please Travis

* Do not start radio on charger power

* USB charger led handling

* Revert "USB charger led handling" until we have proper details

* Pseudo sport power pin

* Please Travis

* tx16s serial debug

* Add tx16s calibration picture

* Review anadir for tx16s, needs to be checked on more radios

* Dump raw multi telem on AUX port

* More work on TX16S

* Fixes

* Compilation fix

* Compilation fix

* Fix Aux Serial power

* Various improvement

* USB charger led handling

* Cosmetics

* Cosmetics

* USB charger led handling

* Add charge indicator on GUI
2020-01-30 17:25:09 +04:00
Bertrand Songis 4d5b5e1c0b Fixes #7299 2020-01-15 21:06:44 +01:00
Bertrand SongisandGitHub 8c3f226a6e Bsongis/modules sync issue 7288 (#7294)
Fixes #7288
2020-01-13 23:43:13 +01:00
3djcandBertrand Songis de07f0dde4 Rework pwr_driver (#7212)
PWR driver rework
2020-01-03 12:18:52 +01:00
Bertrand SongisandGitHub 4249c04742 Bsongis/trainer sbus x9e (#7227)
Fixex #5636
2019-12-23 11:10:19 +01:00
Alberto García HierroandBertrand Songis de8ed12570 [build] Fix building with semihosting enabled (#7206)
Remove -DSEMIHOSTING from the bootloader CFLAGS unconditionally.

-DSEMIHOSTING is passed to the bootloader by the parent project when
SEMIHOSTING=ON, however the bootloader wouldn't fit on flash with
semihosting enabled.

If we leave the -DSEMIHOSTING flag, we would get a compilation error
on non-horus radios (since -DDEBUG is removed) and a link time error
on horus (since the bootloader won't fit in its allocated flash
region).
2019-12-17 08:20:41 +01:00
3djcandGitHub 9abcee430a T16 mute improve (#7193)
Introduce mute time  on T16
2019-12-16 07:02:17 +01:00
Bertrand Songis 2864ca49d7 Cosmetics 2019-12-12 15:34:45 +01:00
Bertrand SongisandGitHub b06e865141 Wismy/x7 access (#7182)
X7 ACCESS
2019-12-12 14:44:34 +01:00
3djcandBertrand Songis 761ea5952b Display version on Horus bootloader (like BW lcd) (#7158)
Display version on Horus bootloader (as done on B&W LCD)
2019-12-06 16:35:00 +01:00
Bertrand Songis 4817a1404e We waited for inputs stabilization on all radios in 2.2 2019-12-02 09:35:49 +01:00
Bertrand Songis a27417c497 X9D+ 2019 Bootloader: wait needed before detecting trims are pressed
as done on Horus...
2019-12-02 08:26:17 +01:00
3djc 58da3f7a30 Increase power-on timings, but skip during watchdog reset 2019-11-28 15:58:40 +01:00
Bertrand Songis 3fe96bc6dd Bootloader not always started on Horus 2019-11-25 10:27:00 +01:00
Bertrand SongisandGitHub 4cdd17f0d7 MAGIC value for powerReason should be stored in RTC backup on Horus (#7096)
- Allows the radio main application to start correctly when coming from an app in RAM
- Refactoring of the `UNEXPECTED_SHUTDOWN()` process
- Saves the RTC battery as BACKUP RAM is not needed on normal shutdown
- On PWR OFF on an ALERT, the radio won't show the next alert before shutting down
- Bootloader flashable through the SD Manager
2019-11-21 11:50:33 +01:00
Bertrand Songis 378cfb7468 Same fix than #7087 on X10 Express 2019-11-15 08:33:12 +01:00
Bertrand Songis 50a07dc8d8 Cosmetics 2019-11-07 13:58:56 +01:00
Raphael Coefficand3djc aaafe445db Added support for flashing AVR multi on horus targets (#6888)
* Added support for flashing AVR multi on horus targets

taranis soft serial

Added support for flashing AVR multi on horus targets

taranis soft serial

* Added support for multi V2 signature (hex code)

* Check multi signature before flashing

* small clean-up

* Cosmetics

* Fix v2 signature check

* Cosmetics
2019-10-16 15:29:10 +02:00
3djc 39189a1652 Fix debug compile 2019-10-10 15:11:57 +02:00
Kilrah 16ace5cb57 Merge branch '2.3.1' into 2.3 2019-10-07 18:13:19 +02:00
Bertrand Songis a08c391f93 [X9D] Different fix 2019-10-07 14:28:00 +02:00
Bertrand Songis f78dbafa17 [X9D] P3 fix 2019-10-07 12:40:11 +02:00
Kilrah f56885b54d Merge branch '2.3.0' into 2.3
# Conflicts:
#	CREDITS.txt
#	radio/src/telemetry/multi.cpp
#	tools/release23/tts.py
#	tools/release23/tts_common.py
2019-09-28 14:16:27 +02:00
Raphael CoefficandRaphael Coeffic 6b12010473 Add T16 support
Added support for:
- T16 radio
- internal multi-protocol module.
- flashing internal and external multi-protocol modules.

Many thx to:
- goebish, for the hardware support.
- qba667, for the original patches for the internal multi-protocol support (UI and serial com).
2019-09-24 22:12:13 +02:00
Bertrand Songis 53d36cdbf4 The rotary encoder disables the inactivity warning 2019-09-24 20:25:05 +02:00
Bertrand SongisandGitHub 4a618f1317 X9LiteS (#6820) 2019-09-24 13:13:45 +02:00
Bertrand Songis 4223013bb6 Compilation fix 2019-09-24 10:49:57 +02:00
Bertrand Songis ec33074b0d Comment added 2019-09-24 10:29:52 +02:00
Bertrand Songis c0c3680fe6 Bluetooth detection issue on QX7 (some samples, after bootloader) 2019-09-24 10:23:10 +02:00
Raphael CoefficandBertrand Songis 0a8917cbe2 Deactivate aux_serial on Horus targets (#6733)
Remove AUX_SERIAL on Horus
2019-09-10 15:36:34 +02:00
Bertrand Songis 995aa8708a Fixes #6707 (reboot issue on X9E) 2019-09-04 12:55:03 +02:00
Raphael CoefficandBertrand Songis 5db30ea7bc More unit tests and unified target for all tests (#6661)
* added general settings tests

* fixed pre-219 switchUnlockState (CPN)

* X7 radio settings tests

* updated X10 model

* patched TESTS_PATH to point directly at the complete tests path

* fixed horus general settings switch conversion

* cpn x10 general settings tests

* fixed horus cpn import

* use x10 model from otx file to ease editing with companion

* added make targets "gtests" and "tests"

gtests builds all the tests (radio & companion)
tests builds and executes all the tests (radio & companion)

* fixed companion tests cmake

* fixed gtests-radio target

* fixed commit tests

* fixed converting LS & RS on X10

* fixed converting global functions on X10

* fixed source conversion on X10

* fixed throttle source on X10

* fixed throttle source on radio and companion

* more checks and re-enabled Horus screenData copy

* more tests (X10)

* [X10] restore correct direction for RS & LS

* [horus] convert "Value" widget source

* fixed conversion of ModelHeader::bitmap length

* added missing X10 radio tests to companion tests

* fixed conversion of telemetry sources in logical switches

* [horus] fixed potential crash

* fixed "AND switch" conversion in logical switches
2019-08-26 08:36:31 +02:00
Bertrand Songis bddbc910b4 [X10] Slider reversed 2019-08-23 08:33:45 +02:00
Bertrand Songis 6b9ee110d3 Compilation fix (attempt N+5) 2019-08-22 23:21:48 +02:00
Bertrand Songis ed92684b94 Compilation fix (attempt N+2) 2019-08-22 18:41:34 +02:00
3djc 63604b3b12 Options rework 2019-08-22 14:50:30 +02:00
Bertrand Songis b0e545bcaa [X9D] Bootloader had no backlight 2019-08-22 12:31:03 +02:00
Bertrand Songis 19165b8315 [X10] ADC fixed 2019-08-21 17:23:50 +02:00
Bertrand Songis 164988e98f [X10] ADC fixed 2019-08-21 16:54:32 +02:00
Bertrand Songis d1ef5e691d X10 / X12S bootloader fix 2019-08-19 12:21:51 +02:00
Bertrand Songis 31b501383e Exit from bootloader was broken again 2019-08-17 13:50:08 +02:00
Raphael Coeffic 57c48de494 remove busy loop from bootloader 2019-08-16 22:45:51 +02:00
Raphael Coeffic 995888ae41 Add support for pwr-on and power-off speed 2019-08-16 21:02:47 +02:00