Commit Graph
259 Commits
Author SHA1 Message Date
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
Bertrand SongisandGitHub 16c9a92f49 Bluetooth SD logs (#7197)
Bluetooth SD logs
2019-12-16 12:22:48 +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
3djcandGitHub 3a7e006635 Support new Multi 1.3 features (#7077) 2019-11-15 16:20:24 +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
3djcandGitHub b8fa8438ba Multi telemetry : add Hitec and improve FlySky (#6835)
* Add Hitec and update Flysky telemetry

* Travis (and sky9x) doesn't like  cheating !

* Cosmetics
2019-09-28 13:31:02 +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 SongisandGitHub 6c530c6f7b External antenna configuration: proposal for #4285 (#6656)
External antenna configuration
2019-09-06 11:26:18 +02:00
Bertrand Songis 995aa8708a Fixes #6707 (reboot issue on X9E) 2019-09-04 12:55:03 +02:00
Bertrand Songis 6d893c9ea4 More consistency in CMake options to enable / disable modules 2019-08-29 10:22:19 +02:00
Bertrand Songis e7736f3fdc Replace NULL by nullptr 2019-08-28 10:28:11 +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 9ec069d09b Undo split 2019-08-22 14:50:30 +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 2ce17f3b68 More unneeded definitions removed 2019-08-20 18:04:19 +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
Raphael CoefficandBertrand Songis 21f66f5208 remove "deprecated 'register'" warning with clang (#6607) 2019-08-10 16:25:17 +02:00
Bertrand SongisandGitHub 151827ada5 Bsongis/x9d+ 2019 (#6588)
X9D+ 2019 added
2019-07-26 19:18:29 +02:00