Commit Graph
76 Commits
Author SHA1 Message Date
MichaelandGitHub 7461bfc9ec chore(telem): unify antenna number with RSSI number for ELRS (#7667) 2026-08-19 10:23:31 +10:00
philmozandGitHub 73652d0a99 chore: cleanup strings (#7590) 2026-08-11 08:24:16 +10:00
3djcandGitHub 3688e29cfe feat: support for ELRS/CRSF 0x03 GPS time frame (#7317) 2026-05-05 13:07:13 +10:00
Allain18andGitHub dbc37c3d5e fix(crsf): assign GPS Alt unique name rather than share Baro Alt (#6995) 2026-01-22 11:25:55 +10:00
philmozandGitHub 1931514140 feat: enable Companion simulator to switch UI language at runtime (#6510) 2025-11-03 09:57:09 +10:00
3djcandGitHub 4356de64c5 fix(firmware): crossfire temperature sensor unit (#6602) 2025-09-25 20:23:05 +10:00
3djcandGitHub c31b54041b feat(telem): add support for CRSF 0x09 packed vertical speed (#6402) 2025-07-01 12:53:42 +10:00
3djcandGitHub 18a1992e32 feat(telem): allow CRSF cells or volt array for frame 0x0E (#6361) 2025-06-17 12:07:53 +10:00
3djcandGitHub a0aec17d66 feat(telem): add support for latest CRSF/ELRS sensor definition (#6274) 2025-05-25 13:14:29 +10:00
philmozandGitHub 4f18632505 feat(color): telemetry queues for Lua, enhance default widget options (#5926) 2025-03-21 10:56:07 +10:00
Paul KendallandGitHub 574f753376 feat: process RC packets back from CRSF module as trainer input (#5724)
i.e. allow head tracker data to be relayed via backpack!
2025-01-03 10:01:12 +10:00
8fd3d50add feat: add support for ExpressLRS optional arming method (#5641)
Co-authored-by: elecpower <elecpower@users.noreply.github.com>
2024-11-22 21:32:40 +10:00
Peter FeerickandGitHub 839cfbd53c chore: more OTX to ETX housekeeping (#5396) 2024-08-14 21:02:29 +10:00
3djcandGitHub d45450921d feat: ELRS bind command support (#4907) 2024-06-02 12:03:15 +10:00
HThurenandGitHub 5b4b3aa09a chore: formatting of telemetry structs for readability (#4753) 2024-03-18 10:27:53 +10:00
c93695eeaa perf: Process CRSF telemetry by frame (#4038)
Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-10-19 13:31:30 +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
3djcandGitHub 1562b80764 fix(telemetry): CRSF GPS heading precision (#3177) 2023-02-18 18:28:20 +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
Bryan MaylandandGitHub 8422640199 feat: Optionally support CRSF_VARIO in BARO_ALT telemetry 2022-08-31 21:38:27 +10:00
Raphael CoefficandRaphael Coeffic 246840f065 Moved telemetry processing to module interface 2022-08-11 12:15:46 +02: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
Raphael CoefficandPeter Feerick 7806d5f892 Crossfire: add barometer altitude sensor 2022-05-07 19:25:17 +10: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
Bryan MaylandandGitHub 348b98d074 fix: On CRSF CRC error, search for second packet embedded (#1533) 2022-03-06 13:02:43 +10:00
Raphael CoefficandRaphael Coeffic 8b438bc672 Fix receiving RADIO_ID pkt
Thx @CapnBry
2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 2abf07ed9b Port of TBS's changes for module scoped telemetry 2021-11-21 11:18:35 +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
Alexander van Saase 784e8a3bb9 crsf add 50mW 2021-08-31 09:52:36 +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 70d24506da Merge branch '2.3' into 2.4
# Conflicts:
#	radio/src/fonts/480x272/font_dblsize.png
#	radio/src/fonts/480x272/font_xxlsize.png
#	radio/src/gui/128x64/model_setup.cpp
#	radio/src/gui/128x64/radio_setup.cpp
#	radio/src/gui/480x272/model_receiver_options.cpp
#	radio/src/gui/480x272/model_setup.cpp
#	radio/src/gui/480x272/radio_calibration.cpp
#	radio/src/gui/480x272/radio_hardware.cpp
#	radio/src/gui/common/stdlcd/draw_functions.cpp
#	radio/src/gui/gui_common.cpp
#	radio/src/keys.h
#	radio/src/lua/interface.cpp
#	radio/src/pulses/afhds3.h
#	radio/src/rtos.h
#	radio/src/switches.cpp
#	radio/src/targets/common/arm/stm32/aux_serial_driver.cpp
#	radio/src/targets/horus/CMakeLists.txt
#	radio/src/targets/horus/lcd_driver.cpp
#	radio/src/targets/horus/startup_stm32f42_43xxx.s
#	radio/src/targets/taranis/CMakeLists.txt
#	radio/src/telemetry/crossfire.h
#	radio/src/telemetry/multi.cpp
#	radio/src/translations.cpp
#	radio/src/translations/it.h.txt
#	radio/src/translations/untranslated.h
#	radio/util/font2png.py
#	tools/commit-tests.sh
2021-04-08 11:42:28 +02:00
3djc 84387e7e0f Cosmetics 2021-04-05 11:16:17 +02:00
Raphael Coeffic dd4c91ce4f removed SAFE_SYNC_LAG 2020-12-09 07:24:27 +01:00
Raphael Coeffic 02660c763a mixer scheduler 2020-12-09 07:24:27 +01:00
3djcandGitHub 24f93a7cbe 3djc/2.4 add 2.3 pr (#8099) 2020-11-19 16:32:50 +01:00
3djc c90902154d Send full text lengh for CRSF text sensors 2020-11-17 16:02:28 +01:00
3djcandGitHub 4de7630286 Restore text sensors and prevent overflow (#8093)
* Fix FM sensor
2020-11-14 13:28:13 +01:00
Bertrand Songis 42a3198568 Merge with latest 2.3 2020-10-07 21:01:45 +02:00
3djcandGitHub 3dfb27f220 Add rx num handling to CRSF (#7881) 2020-08-28 17:01:13 +02:00
Bertrand Songis 71ec1db9f6 Merge with latest 2.3 2020-06-18 11:14:07 +02:00
Bertrand SongisandGitHub c3f0e2ea88 Avoid Bluetooth fifo full (and 1ms wait in the mixer task...) (#7652)
Avoid Bluetooth fifo full (and 1ms wait in the mixer task...)
2020-05-31 16:45:48 +02:00
Bertrand Songis bddccb9765 Merge with latest 2.3 2020-05-30 11:57:03 +02:00
3djcandGitHub f0d8d340fd Add AUX2 (#7588)
AUX2 added
2020-05-15 14:51:36 +02:00
Bertrand Songis 6878ae4a9f Merge with latest 2.3 2020-03-05 10:43:01 +01:00
3djcandGitHub 0cbb8107af Add support for CRSF bat% (#7377) 2020-02-12 16:51:15 +01:00
3djcandBertrand Songis 28b7583882 Sensors are no longer zchars (#7178) 2019-12-10 12:43:05 +01:00
3djc 6d2a2298ce Do not update sensors when rssi is 0, align behavior with other telem protocol (#6761) 2019-09-16 08:34:22 +02:00