Commit Graph
15 Commits
Author SHA1 Message Date
Peter FeerickandGitHub 839cfbd53c chore: more OTX to ETX housekeeping (#5396) 2024-08-14 21:02:29 +10:00
HThurenandGitHub 5b4b3aa09a chore: formatting of telemetry structs for readability (#4753) 2024-03-18 10:27:53 +10:00
8b40fb771a fix(AFHDS3): Some sensor values displayed incorrectly (#3386)
* Fix the bug that some sensor values are displayed incorrectly

* Fix typos

* Fixed some units problem.

* Unit of SNR should be db and not dbm.

* Fixed Alt scaling in NV14.

* Fixed the temperature and voltage error of the FRM303 module.

* Fixed temperature data error.

---------

Co-authored-by: Richard Li <richard.li@ces.hk>
2023-04-19 20:12:39 +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 6f494e109c feat(telemetry): extend link quality warnings range (#2251)
* feat(telemetry): extend link quality warnings range

* Set default values to the old legacy FrSky values

* Companion support
2022-10-12 14:28:32 +10:00
Ktr128andGitHub d70828579e fix: Frsky CAT01 negative altitude when going above 327 meters of takeoff height (#1974) 2022-06-01 14:24:51 +10:00
eshifriandGitHub c5c142d38d feat: Add NV14 vertical speed sensor derived from CAT01 altitude measurements (#1485)
* Add vertical speed sensor

* fix negative speed problem

* Add averaging time definition
2022-03-06 13:21:03 +10:00
eshifriandGitHub 5c371bd39b [nv14] Improve support for old NV14 Radio Module FW (#1329)
* Improve support for old Radio Module FW

* Change OLD RSSI scaling to 100 - 40 range

* change boolean variable name
2022-01-08 13:37:23 +10:00
eshifriandGitHub b1a41438a3 [NV14] Telemetry fixes, use FlySky RX defaults (#856)
* Port from NV14 repository

* Fix altimeter

* Change AFHDS2A default mode to PWM and iBUS

* Fix datacopy.cpp generation for NV14 Windows build

* Cleanup

* Format

* typo fix

* Sngl for alarm and temperature sensor

* remove temperature sensor
2021-10-15 10:18:03 +11: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
Peter FeerickandPeter Feerick 182bc2355e Fix NV14 Flysky receiver voltage and signal labels 2021-09-26 19:08:55 +10:00
Raphael Coeffic b0147a43d0 Fixed telemetry 2021-09-19 16:17:47 +02:00
Raphael Coeffic e29138f7e3 Draft support internal module NV14 2021-09-19 16:17:47 +02:00
Bertrand Songis 42a3198568 Merge with latest 2.3 2020-10-07 21:01:45 +02:00
Jakub fef09a5f74 NV14 implementation partially merged with actual Flysky version. 2020-01-05 15:48:13 +01:00