Commit Graph
183 Commits
Author SHA1 Message Date
philmozandGitHub 4f18632505 feat(color): telemetry queues for Lua, enhance default widget options (#5926) 2025-03-21 10:56:07 +10:00
Peter FeerickandGitHub 839cfbd53c chore: more OTX to ETX housekeeping (#5396) 2024-08-14 21:02:29 +10:00
philmozandGitHub 6c5eada23a refactor: FLASH size optimisations for B&W (#4827) 2024-04-01 09:43:50 +10:00
Frankie ArzuandGitHub 991b0c4b3c fix(telemetry): frsky angles should be be signed (allow negative) (#4733) 2024-03-25 12:57:32 +10:00
HThurenandGitHub 5b4b3aa09a chore: formatting of telemetry structs for readability (#4753) 2024-03-18 10:27:53 +10:00
5fd22612aa feat: Add support for latest FrSky receivers (#4077)
Co-authored-by: Bertrand Songis <bsongis@gmail.com>
Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
2023-10-09 19:22:57 +10:00
philmozandGitHub c502dbeaee chore(radio): Reduce size of the data structures in FLASH storage (#3979)
* Reduce size of the YamlNode structure in FLASH storage.
Fix compiler warning.

* Further reduction of FLASH used by YamlNode structures.

* Reduce size of sensor definition arrays and audio tone volumes array.
2023-09-24 14:18:11 +10:00
MichaelandGitHub 15849956ce chore: Remove rssiSource and use default value (#3643)
* fixes #2552

- remove edit option rssiSource
- reset rssiOption to default (none) if carried over from OpenTX conversion

* deleted rssiSource functional code Companion, simulator and radio

* forgot one commented line
2023-06-23 13:52:54 +10:00
MichaelandGitHub 2470cedf38 chore: Remove obsolete language defines, single source for telemetry sensor names (#3119)
* - all telemetry sensor name definitions in one place (untranslated.h)

- all telemetry sensor name definitions follow the naming convention STR_SENSOR_<sensor>
- eliminated one redundant definition
- editorial updates to telemetry protocols code to reflect the naming convention changes
- re-introduced translations in da.h (STR_SENSOR_THROTTLE and STR_SENSOR_SPEED)
- re-introduced translation in it.h (STR_SENSOR_GPSDATETIME)
- re-introduced translation for fr.h ( STR_SENSOR_BATT)
- saved 160 Bytes of flash

* removed obsolete translation

saved 280 byte flash memory in total

* finally removed extern const char STR_MENUTEMPLATES[]; definition

adjusted da.h, fr.h, it.h local sensor name definitions to naming conventions STR_SENSOR_<senosr>

* corrected merge

removed obsolete #ifdef

* some more obsolete ones

* added TW and CN translation for TR_PERIOD and TR_INTERVAL

fixed problem in /radio/src/gui/colorlcd/fullscreen_dialog.cpp preventing builds for CZ, IT and FR languages
2023-02-10 19:49:41 +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 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
Raphael CoefficandRaphael Coeffic 6d490bddf0 Sensors don't use ZCHAR in 2.4
Resolves #97
2021-06-02 11:19:11 +02:00
Bertrand Songis 42a3198568 Merge with latest 2.3 2020-10-07 21:01:45 +02:00
Bertrand SongisandGitHub c0c205a92d XACT servos telemetry support (#7959)
XACT servos telemetry support
2020-09-23 12:59:44 +02:00
WismyYaoandGitHub a73a79fb02 Wismy/rb3040 fixes (#7847)
Fix the ACCX/Y/Z display accuracy
Add RX3 status
2020-07-31 15:26:33 +02:00
Bertrand Songis 71ec1db9f6 Merge with latest 2.3 2020-06-18 11:14:07 +02:00
Bertrand Songis 13b81841c4 Cosmetics in a comment 2020-06-02 10:40:58 +02:00
WismyYaoandGitHub 837dffecdc Wismy/vfr (#7661)
Change 'FLR' to 'VFR'
Show R9M power in 'mW'
2020-06-02 10:38:57 +02:00
pascallangerandGitHub fa1e6f087c Graupner HoTT: full telemetry (#7627) 2020-05-30 12:11:36 +02:00
Bertrand Songis bddccb9765 Merge with latest 2.3 2020-05-30 11:57:03 +02:00
ce3f8374a1 Using the right precision for unknown (custom) sensors (#7508)
Co-authored-by: Herman Kruisman <herman@server.thuis.local>
2020-04-21 15:04:17 +02:00
Bertrand SongisandGitHub a65cd6dbda Bsongis/ras fix (#7478)
RAS assigned to the right module
2020-04-01 08:14:01 +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
Nicholas-LuoyiandGitHub 5be7fa3339 Nicholas/telemetry for rb30 40 (#7454)
Added telemetry for RB3040
2020-03-24 07:50:09 +01:00
Bertrand Songis 1d96af49c4 Merge with latest 2.3 2020-03-18 17:09:38 +01:00
3djcandGitHub cc585950c3 Review sensor physID handling (#7374)
Review sensor physID handling
2020-03-10 18:15:03 +01:00
3djcandBertrand Songis 28b7583882 Sensors are no longer zchars (#7178) 2019-12-10 12:43:05 +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 6c5059aa98 Fixes #6760 2019-09-13 13:24:48 +02:00
Bertrand SongisandGitHub 6176dd8806 Fixes #6745 (#6756) 2019-09-12 11:14:26 +02:00
Bertrand Songis d681ba424a Fixes #6717 2019-09-07 13:11:04 +02: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 9e52de7a49 Merge the enums TelemetryProtocol and TelemetryProtocols (#6676) 2019-08-28 11:39:06 +02:00
Bertrand Songis de575070d8 Fix for rssiSource 2019-04-29 17:23:02 +02:00
Bertrand Songis d70f3a40ef Spectrum analyser fixes
Compatibily issue when telemetry comes from int + ext modules
2019-04-29 11:52:17 +02:00
Bertrand Songis 3914bf7ff4 Bluetooth rewrite to C++ 2019-04-25 10:50:06 +02:00
Bertrand Songis dcc803c5af Add room for more telemetry units 2019-04-17 18:05:56 +02:00
Bertrand Songis c7bd0d3ea1 Compilation fixes 2019-04-16 20:39:50 +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 0a2d2a9b99 Telemetry forward through Bluetooth 2019-04-15 18:15:51 +02:00
Bertrand Songis d0c72be9e6 Receiver RESET added 2019-04-15 18:08:11 +02:00
3djc dc3f13b650 Remove unnecessary code 2019-04-09 07:08:27 +02:00
3djc 8da1418cae Add rssi choice 2019-04-07 13:17:51 +02:00
Bertrand Songis ca8fa60874 Removed this as it prevents us from having many RX streaming in the same time 2019-04-04 07:14:43 +02:00
Bertrand Songis 1d5b780c2f Model Setup refactoring 2019-04-03 11:27:43 +02:00