Commit Graph
770 Commits
Author SHA1 Message Date
philmozandGitHub b0ecde2842 chore(color): cleanup UI code (#6989) 2026-01-21 12:48:24 +10:00
sneoneandGitHub ca21f02afc fix(afhds3): incorrect identification of module for RF power adjustment (#6886) 2026-01-21 09:31:17 +10:00
Peter Feerick a7f2e619ca chore(dsmp): separate DSMP and DSM2, cleanup code, add DSMP status display and Enable AETR option (#6932)
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2026-01-21 09:01:49 +10:00
Raphael CoefficandGitHub ade7b27fc8 fix(pxx1): upstream telemetry buffer alignment (#6842) 2025-12-05 12:39:00 +10:00
sneoneandGitHub cf5ab821ee fix(afhds3): modify RF power related issues (#6831) 2025-12-05 11:46:13 +10:00
philmozandGitHub 1931514140 feat: enable Companion simulator to switch UI language at runtime (#6510) 2025-11-03 09:57:09 +10:00
Raphael CoefficandGitHub dd029bc591 fix(radio): race condition on pulse buffer (#6634) 2025-10-14 20:42:41 +10:00
Raphael CoefficandGitHub cedb1e0c7e fix(radio): unaligned access in Ghost tool (#6638) 2025-10-11 07:49:14 +10:00
richardclliandGitHub c1b7e23468 chore(flysky): clean up unused nv14 target (#6116) 2025-09-26 12:41:16 +10:00
philmozandGitHub 5f6de9afae feat(color): delay load the built in widgets to improve responsiveness (#6480) 2025-07-29 11:21:21 +10:00
Raphael CoefficandGitHub ba5a60bfc1 chore(radio): small board cleanup (#6169) 2025-05-08 18:17:39 +10:00
Raphael CoefficandGitHub ab2a19e153 feat(radio): OS compatibility layer (#5840) 2025-05-03 19:07:49 +10:00
Peter FeerickandGitHub be20e2ef2a fix(radio): don't check ELRS version if crossfire disabled (#5961) 2025-03-06 12:08:09 +10:00
3d25c2a0f8 feat: H7 support (#5738)
Co-authored-by: Richard Li <richard.li@ces.hk>
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
2025-01-18 10:08:13 +01:00
6d17448be5 feat: S.Port telemetry for PPM/SBUS external module (#5689)
Co-authored-by: Michael <mha1@users.noreply.github.com>
2024-12-12 11:19:34 +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
MichaelandGitHub cb249268aa fix(crsf): send modelID after module reset (#5506) 2024-09-06 12:00:54 +10:00
philmozandGitHub 64e454646f fix(color): cleanup update/refresh/event handling (#5500) 2024-09-06 10:41:54 +10:00
3djcandGitHub 1852c8c673 fix: xjt lite telem binding (#5468) 2024-08-28 12:59:26 +10:00
Peter FeerickandGitHub 839cfbd53c chore: more OTX to ETX housekeeping (#5396) 2024-08-14 21:02:29 +10:00
philmozandGitHub 2eee7cd011 chore: re-organise source files for color LCD UI (#5358) 2024-08-02 08:50:55 +10:00
061f39fd79 fix: CRSF frame parsing (#5243)
Co-authored-by: LupusTheCanine <tymoteusz.2000.0+GitHub@gmail.com>
2024-07-22 09:13:04 +10:00
3djcandGitHub 2407212fc5 fix: MPM disable telemetry user choice ignored (#5286)
Option is currently only shown on FrSky radios, hence they are susceptible to this bug
2024-07-13 11:53:57 +10:00
6f8a5313d5 feat: basic H7 support (#5228)
Co-authored-by: Malte Langermann <malte@langermann.net>
Co-authored-by: 3djc <3djc@gh.com>
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: Richard Li <richard.li@ces.hk>
2024-07-05 19:28:44 +10:00
3djcandGitHub d45450921d feat: ELRS bind command support (#4907) 2024-06-02 12:03:15 +10:00
ThomasKuehneandGitHub 8225fb21c5 chore(radio): cleanup -Wzero-as-null-pointer-constant warnings (#4851) 2024-04-15 09:31:46 +10:00
3djcandGitHub 8a57e48f55 fix: pxx2 can transport 24 channels (#4871) 2024-04-15 09:28:57 +10:00
philmozandGitHub 6c5eada23a refactor: FLASH size optimisations for B&W (#4827) 2024-04-01 09:43:50 +10:00
ThomasKuehneandGitHub 3fe7b0e420 chore: remove executable permission from non-executable files (#4766) 2024-03-21 09:23:43 +10:00
cc17046e7a feat: Flysky PL18 Support (#4105)
Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
Co-authored-by: rotorman <risto.koiva@web.de>
Co-authored-by: Xy201207 <yaoxu@flysky.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-12-06 09:00:44 +10:00
Raphael CoefficandGitHub 5153aaeea0 refactor: IWDG driver and EM trigger (#3846) 2023-12-04 07:14:25 +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
Raphael CoefficandGitHub ee9d50dca4 fix: Incorrect MPM module status (#4198) 2023-10-15 16:27:38 +10:00
b22a1b5d32 feat: Support for WS2812 RGB LEDs (#3909)
Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
2023-10-14 14:06:55 +10:00
Raphael CoefficandGitHub ff2b3ac22a fix: Internal PXX exclusive S.PORT (#3822) 2023-10-13 09:48:32 +10:00
3djcandGitHub f4f04c1827 feat: Support for MPM DSM clone mode (#3974) 2023-10-10 13:04:52 +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
Raphael CoefficandGitHub 3cbcc6b7bf feat: Automatic soft-serial fallback for module ports (#3823) 2023-10-07 12:23:51 +10:00
Peter Feerick e8077021f6 chore: Formatting #3780
Forgot to push before merge
2023-10-01 15:21:44 +10:00
Raphael CoefficandGitHub 00cb9c48df refactor: Notify module driver on config changes (#3780) 2023-10-01 15:19:17 +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 661de78464 chore: Reduce AFHDS3 console noise when running simulator (#4075) 2023-09-21 18:54:50 +10:00
c4f1e7127d chores(flysky): Separate AFHDS2A and AFHDS3 into 2 different module type (#3783)
* chores(flysky): separate AFHDS2A and AFHDS3 into 2 different module type

This should allow to remove some of the hacks added earlier.

* chore: Add some EL18 CI bits

* fix(afhds): cmake defs

* fix(ci): add el18 to commit-tests.sh

* chore(cpn): separate AFHDS2A and AFHDS3

* chore(cpn): remove binary import of afhds and legacy fxFreq field for afhds3

* fix(cpn): limit available internal afhds protocols to those supported by hardware

* chore(cpn): update Flysky int module test

* fix(cpn): compile error

* fix(cpn): afhds2a max channels

* fix: TR_MODULE_PROTOCOLS

* enh(cpn): more support for afhds2a and 3

* fix(cpn): rebase compile error

* fix(cpn): bit indexes

* fix(cpn): emi toString

* fix(cpn): limit available internal afhds protocols to those supported by hardware

* enh(cpn): add support for Flysky EL18

* fix(cpn): available protocols

* fix(cpn): rebase moduledata

* chore(cpn): add module fields to model print

* Separate AFHDS2A and AFHDS3 UI settings.

* Fix AFHDS3 conversion from old subtype value.
Fix 'Channel Range' layout on portrait LCD.

* Fix name.

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-09-07 19:24:03 +10:00
4f20672799 Fix the problem of V0 receiver setting ibus and sbus (#3940)
Co-authored-by: Xy201207 <yaoxu@flysky.com>
2023-08-24 10:22:13 +08:00
Peter FeerickandGitHub f110bda8e3 fix(AFHDS3): Typo from #3793 2023-08-04 16:14:20 +10:00
c6503a77c7 fix(AFHDS3): iBus IN and Failsafe settings not updating (#3793)
* Fixed failsafe function and sync output of V0 version

* Make the code more readable.

Co-authored-by: Xy201207 <yaoxu@flysky.com>
2023-08-03 14:15:51 +10:00
Raphael CoefficandMalte Langermann 2b100e0eb5 refact: ADC, switches and keys
Add "hardware_defs" target to dump hardware defines from hal.h per target

Fixed hal.h definitions for switches & ADC inputs

Tools to generate hardware definitions from current hal.h

generator: add support for EXTx and analog switches

WiP

Add generated header to hardware_defs target

Add support for ADC input direction and index per GPIO port

Incredible: it compiles

Removed StdPeriph ADC driver

Works on QX7

Works on TX16S (VBat missing)

Switch driver using generated switches for stm32 targets

Switch driver with generated switches for simu

Use switch names from switch driver

Fixed single conversion handling

Fixed horus VBat reading

Added switch name

Fix warnings about bitfield offsets and GCC 4.4

This is caused by bitfields that cross type boundaries. In this particular case, it happens as the bitfield is not defined the same in `rtc_backup.cpp`.

Switches has already been moved to generic driver

Jitter measurement for each sample, not just for oversampled values

Moved periph clock init to the ADC driver

ADC & GPIOs.

Add switchInit() to init pins

Fix NV14 CMake

Fix taranis target

Fix NV14 (again)

Model audio files: use new interface for switch index

Fix X9-lite

Fix simu headers

Fix getSwitchName()

Add support for ADC switches

Fix switch warning YAML

Test only switches which are defined

Conversions tests for QX7 only on QX7

Fix X12S

Fix function switch names

Enable ADC periph clock before initialising channels

NV14: offset inputs for the sticks & fix switches

WiP: get rid of VSRCRAW and some more

Simu shall use normal ADC driver

fix x7

fix nv14

Fix 9x nav

fix 212x64

fix xlite

fix x9e

fix simu lib

fix unit tests

fix x7 tests

PWM stick values should be written directly into adcValues

... just like FlySky sticks.

fix x12s

fix nv14

Add some support for SPI ADC (only unit tests)

Remove `jq` usage

fix generate_yaml.py for newer libclang

fix pot config

fix stick names

Some YAML generator improvements

Max 16 Pots on COLORLCD

Fix some source names

Use 10 bits for switches to prevent overflow

Removed horus constants for switches & ADC inputs

Fix unit tests

Fix curve edit

Fix libsimulator

Fix function switches (tpro)

Refine ADC & analog API

Moved hardware definitions scripts and templates into own dir

cleanup API refine

Fix unit tests

Mixer: apply calibration only on required inputs

Place ADC switches after all other ADC inputs

Fix X12S

Remove useless TR_POTS_VSRCRAW, TR_SW_VSRCRAW, and TR_VSRCRAW

Cleanup redundant generated YAML parsers

Fixes Boxer rebase

Add boxer to generate-hw-defs.sh

Obsolete LUA exports

Add boxer ADC_DIRECTION

Split generate_hw_defs.py into multiple files

Some cleanup (+ LUA switches)

Fix AXIS definitions

Fixed translation strings declarations

Some rebase fixes

Remove some useless StdPeriph drivers

fix: set pin mode to reset state on usart deinit

fix: use canonical names for calibration data

fix: ADC driver does not care about unconfigured inputs

fix X12S ADC

Add support for ADC conversion chaining

Better X12S ADC implem

Moved X12S ADC driver to HAL/LL

Improve ADC driver separation

Fixed taranis & nv14

Moved PWM gimbals to HAL/LL

Removed useless TR_EXTRA_VSRCRAW

Fixed include guards

Small fixes

Renamed control inputs

Moved internal and external module pulse driver def to boards

Move more things to the generic_stm32 board

Remove STR_VMIXTRIMS

Added analog labels

Generate main control names

Misuse labels / short labels for main controls

Backward compatibility: sliders and legacy names

New keys driver

Let's get rid of StdPeriph headers in simu

Add jinja2 to CI workflows

Use `grep` instead of `sed`

chore: add python jinja2 oto msys setup script

Removed more static definitions and use dynamic ones instead

Fixes X9E

Fix x7 nav too

212 switch display

Fix default sliders

Removed NUM_STICKS

212 switch display working nicely

Surface radio 'stick' replacements

fix: switch, trim & rotary pin init

Remove old key drivers

Removed VKEYS

Removed ETX_FOURCC

Fixed SURFACE_NAME

Removed TR_VSWITCHES & TR_TRIMS_SWITCHES

Fix xpot switches

Store calibrated analogs in physical order

Use getSourceString in drawSource

Implement missing YAML read/write

Fix isSourceAvailableInInputs()

Fix isSourceAvailable()

Some surface fixes

Fix CLI debug

Ported colour UI of analog diagnostics to new ADC API

Small fixes

Better input mapping

Minor tpro fixes

Fix trims available

Remove TX mode choice on surface radio

Rename surface controls

Channel order alignement

Fix throttle warning

Fix checkTrims()

Fix pot config casting issue

Fix IS_SWITCH_FS()

Fixed input mapping

Fix fswitch auto-switch

Fixed storing / reading function switches in YAML

Fix enableVBatBridge() / disableVBatBridge()

Fix interesting mode conversion

Fix sources issues

Fix special funnction list

Proper function switch handling

128 GUI improvements

Fix compilation

Boxer cosmetics

128 hardware screen cosmetic

Fix TX12 switches

More switches fixes

Simplify CPU type handling

Fix flash size

Fixed page-up / page-down in libopenui
2023-06-25 14:32:39 +02:00
cb533f4493 fix(AFHDS3): Sync UI with Flysky AFHDS3 module stored settings (#3501)
* Refresh UI module settings when AHFDS3 config is updated.

* Fix scroll order for module options when 'FlySky' module type selected.
Fix simulator crash issues related to FlySky module.

* Fixed UI refresh problems in UI widget ordering fix.

* Refresh config when receiver is connected.

* Disable change of bind time options when receiver is connected.

* Rename methods to better distinguish between buffer fill or actual send.

* Clean and tidy up AFHDS3 state flow.

* Implemented settings sync upon setting changes.

* Added RF power settings for IRM301/FRM303.

* Added RF power sensors for FRM303.

* Fixed config not saved and only FRM303 supports RF power settings.

* Fixed RF power command error.

* Fixed a crash for IRM301.

* Always check if port exists and return nullptr for driver.

* fix: Make Companion preserve settings *as is*

---------

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-06-19 19:00:02 +08:00
MichaelandGitHub 27b6f7cc6d fix(simulator): Crash if SBUS chosen as external module type (#3683) 2023-06-15 10:30:03 +10:00
MichaelandGitHub e25c6d8a99 fix(ui): Auto adjust PPM frame length if greater than 8 ch (#3622)
* Auto-adjusts PPM frame length if channel count is greater than 8 channels

* added auto adjust for PPM trainer mode on b&w targets

* code cleanup
2023-05-31 13:29:17 +10:00