Commit Graph
102 Commits
Author SHA1 Message Date
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 CoefficandPeter Feerick 647d19bbc9 Fix access settings pop-ups 2022-08-18 12:38:35 +10:00
Raphael CoefficandRaphael Coeffic f952c5f7c7 Internal and external module buffers are now private 2022-08-11 12:15:46 +02:00
wimalopaanandPeter Feerick 0daaf9b82f removed unneccessary member 2022-07-27 10:45:26 +10:00
wimalopaanandPeter Feerick f55080e9e9 separated radio_tools and radio_version pages according to reusableBuffer 2022-07-27 10:45:26 +10:00
Raphael Coeffic ffefd0f6dd External serial driver moved to a separate driver 2022-03-20 16:22:12 +01:00
Raphael Coeffic 803b472c85 Move all serial internal module functions into proper drivers 2022-03-20 16:22:12 +01:00
Raphael Coeffic f733810c79 WiP: refactor serial ports 2022-03-20 16:22:12 +01:00
Raphael Coeffic 33e5aac846 Module and receiver options 2021-11-07 20:05:58 +01:00
Raphael Coeffic 3588c8d963 Cleanup first a bit 2021-11-06 15:59:34 +01: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
Raphael Coeffic 2f5b522413 Merge branch '2.3' into 2.4 2021-05-16 12:55:21 +02:00
WismyYao 744bcab0b9 enter racing mode by spec function 2021-01-30 13:39:09 +08:00
Bertrand Songis 42a3198568 Merge with latest 2.3 2020-10-07 21:01:45 +02:00
WismyYaoandGitHub b4d8504577 Wismy/fport2 (#7956)
Add Fport2 option
RX6R/RX4R/G-RX8/G-RX6/RXSR  OTA support
2020-09-22 17:44:54 +02:00
Bertrand Songis 44e3e34602 Merge with latest 2.3 2020-03-25 12:33:53 +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
Bertrand Songis 1e25fba4ba Merge branch '2.3' into 2.4 2020-03-19 22:17:13 +01:00
WismyYaoandGitHub a4d9305d65 R9-STAB has OTA (#7448) 2020-03-19 14:31:32 +01:00
Bertrand Songis 071116afeb Merge with latest 2.3 2019-11-07 15:04:45 +01:00
WismyYaoandBertrand Songis 0cce9097ea Wismy/x10(s) upgrade kit (#7049)
Add a popup for auth-failure
2019-11-06 16:23:21 +01:00
WismyYaoandBertrand Songis c8160f5f9b Wismy/x10(s) upgrade kit (#6981)
X10(S) / X12S Upgrade Kit supported
2019-10-24 08:59:46 +02:00
Bertrand Songis f4f8893ae9 New UI merged 2019-08-28 20:50:14 +02:00
Bertrand Songis ecf5a64424 [X10 Express] No power meter 2019-08-24 11:32:12 +02:00
Bertrand Songis ce447d4404 [X10] External antenna 2019-08-23 15:04:30 +02:00
Bertrand Songis e5f3ec0357 [X12S] Internal RF Access board now OK 2019-08-21 14:47:02 +02:00
Bertrand Songis 577d27121b [X10] Spectrum analyser continued 2019-08-19 19:12:16 +02:00
Bertrand SongisandGitHub 151827ada5 Bsongis/x9d+ 2019 (#6588)
X9D+ 2019 added
2019-07-26 19:18:29 +02:00
Bertrand Songis 91a3fbb4ce Receiver name changed 2019-07-24 08:40:54 +02:00
Bertrand Songis 09a0fab249 New receiver added 2019-07-23 08:43:12 +02:00
Bertrand Songis 9f9f313b32 Cosmetics 2019-07-19 13:58:06 +02:00
Bertrand Songis 8edae00886 Cosmetics 2019-07-19 13:49:35 +02:00
Bertrand Songis f4bfea8e59 Cosmetics 2019-07-19 13:28:04 +02:00
Bertrand Songis ac2ce487fa R9M Lite BIND / TX OPTIONS / RX OPTIONS reviewed 2019-07-19 13:22:09 +02:00
Bertrand Songis 6da1773dcc Sanitization 2019-07-19 09:31:30 +02:00
Bertrand Songis 1034d851e2 F.PORT added in receiver options 2019-07-09 23:32:08 +02:00
Bertrand Songis f9ab0ee9ad Hardening 2019-06-25 11:26:08 +02:00
Bertrand SongisandGitHub 18c6f6878d Bsongis/receivers ota update (#6494)
OTA update fixes
2019-06-13 17:06:25 +02:00
Bertrand SongisandGitHub 4d07faa8e0 Bsongis/accst support over pxx2 (#6455)
ACCST support over PXX2
2019-05-27 17:23:17 +02:00
Bertrand SongisandGitHub a177c7788c ACCST on ACCESS (#6430)
ACCST on ACCESS
2019-05-18 23:15:46 +02:00
Bertrand Songis 713d94ed65 OTA Update working 2019-05-09 08:18:19 +02:00
Bertrand Songis ad9d8001b2 OTA Update added 2019-05-07 11:18:39 +02:00
Bertrand Songis e5f687dcc1 Dead code removed 2019-05-04 13:00:32 +02:00
Bertrand Songis bae1131a1b OTA update continued 2019-04-24 17:23:28 +02:00
Bertrand Songis 3a99fcd826 [PXX2] R9M/R9 BIND options added 2019-04-24 11:13:29 +02:00
Bertrand Songis 26c592a9db ISRM-N added 2019-04-18 10:20:32 +02:00
Bertrand Songis a34877c083 Modules renamed 2019-04-18 09:17:23 +02:00
Bertrand Songis d0c72be9e6 Receiver RESET added 2019-04-15 18:08:11 +02:00
Bertrand Songis 59bfe6b0a1 Version minor and revision were swapped 2019-04-09 22:44:52 +02:00
Bertrand Songis 2cbf16b90a Stupid one ... 2019-04-08 10:15:59 +02:00