Commit Graph
144 Commits
Author SHA1 Message Date
6d17448be5 feat: S.Port telemetry for PPM/SBUS external module (#5689)
Co-authored-by: Michael <mha1@users.noreply.github.com>
2024-12-12 11:19:34 +10:00
Peter FeerickandGitHub 839cfbd53c chore: more OTX to ETX housekeeping (#5396) 2024-08-14 21:02:29 +10:00
961c75784e feat: Fatfish F16 support (main) (#4485)
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2024-06-30 11:55:35 +10:00
Raphael CoefficandGitHub 72193eda82 chore: New module/serial API (#3055)
* WiP: new module interface

* WiP: softserial timer DMA

* WiP: setup() and send() in one step

and remove methods specific to internal or external module

* fixes and extra port config

* horus targets

* module ports have moved

* T8 support (only internal module)

* fix nv14

* stupid GCC....

* disable BT

* remove nv14 telem driver

* remove old aux serial driver

* Move module buffers out of pulses.h

* Soft serial fixes and PXX1 support

* Fixed PPM module output

* Fixed CLI

* compilation fixes

* Ported bluetooth and flysky gimbal to new serial driver

* Re-enable soft-serial RX

* fixes and cleanup

* nv14 fixes

* Fix flysky gimbals

* Ghost module

* 16 bytes of RAM

* Remove getByte from module API

* Ghost cleanup

* fix: _half_duplex_input() must be called after usart init

* WiP

* more cleanup

* Remove board specific settings from PXX1 / PXX2 drivers

* A bit of PXX2 header cleanup

* Add support for OVER8 and ONEBIT

* Add some support for inverters (NV14 / EL18)

* Support NV14 power fixes in generic board

* Fix polarity handling

* Fix RX DMA

* Fix mixer not running

* Add soft-serial polarity control

* Quick fix for telemetry polling while module port is changed

* Fix bootloader DEBUG

* Fix MPM telemetry

* Fix pulse start

* DSM2 soft-serial fallback

* DSMP async module restart

* Fix CRSF LUA upstream

* Remove global variable telemetryProtocol

* Use HAL/LL constants

* Fix various issue with AFHDS3 and NV14/EL18 internal module

* Fixed S.PORT unit tests

* fix: update widx after writing at current index

* fix: init error condition

* Fix: possible infinite loop in _find_port()

* Add support for bidir S.PORT init

* Add support for "getLastByte" in HW serial driver

* PXX1: Add support for S.PORT based on IDLE callback

* Fix rebase error

* Fix softserial _rx_fifo_push()

* Add softserial support for waitForTxCompleted()

* Fix MPM flashing (internal / external)

* Fixed external MPM

* Activate RX DMA on internal module

Seems to work with serial passthrough without issues, at least on the L3R PRO.

* Fix softserial DMA on stdlcd F4 targets

* Add softserial support for 32bit timers (mostly TIM2)

* More precise soft-serial

* Fix MPM update using inverters & HW uart

* Raise S.PORT DMA/USART IRQ prio to achieve faster switching to input

* Remove useless delays

* Fix flashing external ELRS module

* Added a retry mechanism for FrSky S.PORT update

* Remove useless enableRx()

* External FrSky modules are all flashed via S.PORT

* Remove power management unit update

This was only used on the first batch of X-lite.
2023-02-09 19:44:32 +10:00
Raphael Coeffic ccdadd8334 fix(simulator): isolate constants to ease inclusion from companion 2022-06-11 22:22:08 +02:00
Raphael Coeffic 221d7177e4 fix: Companion simulator 2022-04-01 06:50:04 +02:00
Raphael Coeffic 0613a29122 Cleanup 2022-03-25 18:23:19 +01:00
Raphael CoefficandGitHub 9c075d0a01 multi: Fix TQly & TRSS sensors not being discovered (#1480)
move the TQly & TRSS hack where it belongs
2022-01-23 11:09:46 +10:00
rotormanandRisto fc2142ec78 Changed uniformly to EdgeTX boiler plate (also added boiler for files that were missing it). 2021-10-02 14:22:01 +02:00
RistoandGitHub 2a6cde247d Added TRAINER_FRAME 2021-04-05 18:18:19 +02:00
Bertrand SongisandGitHub c0c205a92d XACT servos telemetry support (#7959)
XACT servos telemetry support
2020-09-23 12:59:44 +02:00
WismyYaoandGitHub 837dffecdc Wismy/vfr (#7661)
Change 'FLR' to 'VFR'
Show R9M power in 'mW'
2020-06-02 10:38:57 +02:00
3djcandGitHub 0e2b4e0a3f Improve TX16s UARTS (#7568)
* Rework TX16s UARTs

* Rework TX16s UARTs
2020-05-04 15:46:43 +02:00
3djcandGitHub 8ce51e4239 RAS fix (#7463) 2020-03-27 12:38:10 +01:00
WismyYaoandGitHub 629f98a930 Wismy/frsky new receivers (#7449)
Add internal module OTA
Change virtual keys for X-Lite(S) Lua scripts
2020-03-24 15:15:10 +01:00
Nicholas-LuoyiandGitHub 5be7fa3339 Nicholas/telemetry for rb30 40 (#7454)
Added telemetry for RB3040
2020-03-24 07:50:09 +01:00
3djcandGitHub 88b756ac1d Bring back RAS to Horus (#7392) 2020-02-20 09:21:20 +01:00
Bertrand Songisand3djc 27d88bfb93 Bsongis/modules sync issue 7288 (#7296) 2020-01-14 17:18:34 +01:00
pascallangerandBertrand Songis b50c977dc9 Add TXRSSI and TXLQI sensors to FrSky D8/D16/LBT when using MULTI (#7128)
Add TXRSSI and TXLQI sensors to FrSky D8/D16/LBT when using MULTI
2019-12-03 16:46:12 +01:00
Bertrand Songis 50941f47a3 Hex should be UPPERCASE 2019-11-28 13:07:21 +01:00
Bertrand Songis 42a59dca35 Compilation fix 2019-11-15 16:33:11 +01:00
Bertrand SongisandGitHub 13dee00eed Bsongis/rssi from 2 different modules (#6711)
RSSI from 2 different modules
2019-09-05 17:24:48 +02:00
Bertrand SongisandGitHub 39f29860c9 Bsongis/telemetry clean session (#6597)
Telemetry cleaning session
2019-08-02 21:31:03 +02:00
Bertrand Songis 6676e98a92 Compilation fixes 2019-04-16 21:23:09 +02:00
Bertrand Songis 4400b71802 SWR bugfixes 2019-04-16 19:39:06 +02:00
Bertrand Songis 3830007fd2 SWR fixes 2019-04-16 19:18:04 +02:00
Bertrand Songis 6d34de7914 RAS refactoring 2019-04-16 18:08:53 +02:00
Bertrand Songis 2d26a74b18 Telemetry fixes 2019-04-16 11:26:36 +02:00
Bertrand Songis d0c72be9e6 Receiver RESET added 2019-04-15 18:08:11 +02:00
Bertrand Songis aae2de6027 Cosmetics 2019-04-04 06:16:55 +02:00
Bertrand Songis 95fe5c59bb S.PORT Push reworking 2019-03-28 18:43:07 +01:00
3djc 2dc061ec44 Cosmetics mostly 2019-02-22 07:24:31 +01:00
Bertrand Songis a4434bc5f3 Fixes. Flash an external module should work 2019-02-21 16:57:23 +01:00
Bertrand Songis 4736ff0300 RAM saving 2019-02-09 12:12:36 +01:00
3djc 7f7a694799 SBEC telem support 2019-01-08 08:09:30 +01:00
Kilrah 19898e3e0a Fix DIY_FIRST_ID 2018-12-13 11:25:40 +01:00
3djc b791c0ab1a FrSky confirmed usage of 0xf107 2018-12-04 17:52:57 +01:00
3djc 6e84afe436 Add R9M dynamic power sensor 2018-12-02 11:24:13 +01:00
Bertrand Songis 6568752559 PXX2 Rx side should be OK now 2018-11-28 19:39:12 +01:00
Bertrand Songis ae91903d57 Compilation fixes 2018-11-28 18:17:47 +01:00
Bertrand Songis b72ccb4836 PXX2 always defined. PROTOCOL enums renamed. IRPROTOS removed 2018-11-28 18:02:14 +01:00
Bertrand Songis f798bbfcc7 Wrong baudrate chosen for PXX2 on setup 2018-10-08 08:22:20 +02:00
3djc 6ed7c30952 GasSuite protocol changes 2018-09-11 16:34:35 +02:00
Bertrand Songis ed91931184 More AVR removal 2018-08-05 13:12:51 +02:00
Arne Schwabe e76d1d0c3d Remove unused telemetry protocols 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
Bertrand SongisandGitHub 2b604a49ea FrSky new sensors support (#5766)
FrSky new sensors support
2018-03-17 22:50:06 +01:00
Bertrand SongisandGitHub 269831e0c4 Fixes #5502 (#5575)
* Fixes #5502

* RAS renamed to SWR
2018-01-02 10:41:15 +01:00
Kilrah f6e7b4e291 Hide F000 sensor from GRX8 2017-09-25 09:53:45 +02: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