Commit Graph
34 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
ThomasKuehneandGitHub 3fe7b0e420 chore: remove executable permission from non-executable files (#4766) 2024-03-21 09:23:43 +10:00
HThurenandGitHub 5b4b3aa09a chore: formatting of telemetry structs for readability (#4753) 2024-03-18 10:27:53 +10:00
ef6316ef6c chore(radio): Move const data from RAM to FLASH. (#4098)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
2023-09-29 10:19:06 +02: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 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 CoefficandPeter Feerick 8379b47e2b Fix compilation with MULTIMODULE=NO
And allow for Spektrum telemetry to stay enabled (needed for DSMP module).
2022-07-22 20:45:04 +10:00
3djcandRaphael Coeffic 6f158663a9 Fixes 2022-03-21 11:45:15 +01:00
3djcandRaphael Coeffic 001144cd5c Ghost module handling 2022-03-21 11:45:15 +01:00
Raphael Coeffic f95597a7ce Enable telemetry mirroring for any telemetry protocol 2022-03-20 16:30:59 +01:00
Raphael Coeffic 530d395204 WiP 2022-03-20 16:22:14 +01:00
Raphael Coeffic d93cd1ea25 Moved aux serial defs to own header file 2022-03-20 16:22:14 +01:00
Štěpán DaleckýandPeter Feerick 8c6bc67f18 Ghost MSP support 2022-01-27 10:35:56 +10:00
Štěpán DaleckýandRaphael Coeffic 77386e6391 IRC Ghost 12 bit support 2022-01-22 13:43:30 +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 8eab7bbace Ghost GPS: convert to signed before dividing
Resolves #568
2021-08-23 16:16:54 +02:00
Raphael CoefficandRaphael Coeffic 6d490bddf0 Sensors don't use ZCHAR in 2.4
Resolves #97
2021-06-02 11:19:11 +02:00
3djc e3082756c9 Merge branch '2.3' into 3djc/2.3-synced 2021-03-14 10:51:46 +01:00
3djc c0ec43526b Cosmetics 2021-03-10 16:19:34 +01:00
Tony CakeandGitHub 1180fcbe5f Add GHST GPS Telemetry Sensors (#8352)
* Add GHST GPS Telemetry Sensors
2021-03-10 16:16:55 +01:00
Raphael Coeffic dd4c91ce4f removed SAFE_SYNC_LAG 2020-12-09 07:24:27 +01:00
Raphael Coeffic ef3b669d38 fixed Ghost sync feedback 2020-12-09 07:24:27 +01:00
3djc 901eb0c505 Remove trace 2020-11-24 20:55:55 +01:00
3djc e2f4805725 Improve menu handling 2020-11-24 08:57:16 +01:00
3djc 2dfa8a80ab Fix Ghost menu glitch 2020-11-22 13:52:56 +01:00
3djcandGitHub 4555be0286 Add Ghost pack telemetry (#8110) 2020-11-22 08:19:42 +01:00
3djcandGitHub 4c96dbad4e Add Ghost module config tool (#8090)
* Ghost menu handling
2020-11-14 14:57:33 +01:00
3djc e64b9925bf Use new telem text function 2020-09-23 13:05:53 +02:00
3djc f328b7f9c0 Support Pure2 and Race2 2020-09-16 13:48:42 +02:00
3djc a5a17abd41 Ghost RSSI is negative (as it should) 2020-09-11 11:07:47 +02:00
3djcandGitHub 159a891ab4 Asym ghost support (#7910) 2020-09-05 08:24:07 +02:00
3djcandGitHub 205ac7a21d Ghost support (#7900) 2020-08-28 15:54:51 +02:00