Commit Graph
17211 Commits
Author SHA1 Message Date
Peter Feerick f0077d4f7e fix: cli typo from b2eb299d04 2022-02-02 12:19:50 +10:00
Peter Feerick b2eb299d04 fix: cli rfmod serial output glitch + add err msgs
Thanks to @CapnBry for spotting this ;)
2022-02-02 12:17:26 +10:00
Jesper FrickmannandGitHub b91be18414 feat: Increase resources for Lua widgets (#1498) 2022-02-01 11:37:11 +10:00
Bryan MaylandandGitHub dd672dc0ea fix: Send correct internal CRSF modelid on change for BW screens (#1508) 2022-02-01 11:36:34 +10:00
Jesper FrickmannandGitHub d427817363 fix: Negative GVs being misread and written on transmitter (#1516) 2022-02-01 10:22:26 +10:00
jfrickmannandPeter Feerick 65584ae0d6 Fixed a bug with drawing INVERS + CENTER 2022-01-31 21:33:20 +10:00
Peter Feerick b84ab08267 Re-add 5fa929e as was clobbered in #971
Fixes #1527
2022-01-31 15:41:44 +10:00
Neil HorneandGitHub 8158a8924d fix: Show default names in Companion if switch/source names only spaces (#1524) 2022-01-30 19:06:21 +10:00
Neil HorneandGitHub b865448752 fix: Telemetry "Ignore instances" option being unset by Companion (#1525) 2022-01-30 15:14:33 +10:00
bf931a5097 feat: Add facilty for custom throttle warning position (#1395)
* replace magic number for throttle idle with correct define

* settings for custom throttle warning position

* settings fixed not to break byte-aligment of bit-fields

* evaluate custom throttle warning position

* add requested throttle value to warning text

* comment about field alignment in ModelData struct

* Menu for editing custom throttle warning for 128x64 radios
Tested on RM TX12

* Improoved menu display

* move displayed strings to translation

* translation template added for each language

* support for 212x64 B&W radios

* menu for colorlcd
not tested

* corrected translation entry for TW

* corrected handling of padding bits in ModelData structure

* Companion support for custom throttle warning position

* Rebase catchup

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-30 15:04:40 +10:00
Raphael CoefficandPeter Feerick a052ba63c2 Remove COPROCESSOR 2022-01-29 14:40:17 +10:00
Raphael CoefficandPeter Feerick f9830e1405 Remove PPM_PIN_SERIAL 2022-01-29 14:40:17 +10:00
Raphael CoefficandPeter Feerick 09c49e24ee Remove SKY9X target 2022-01-29 14:40:17 +10:00
Peter FeerickandGitHub 5601bd53b2 Allow manual trigger of fw build/check action 2022-01-29 12:49:14 +10:00
Raphael CoefficandPeter Feerick 119590fce4 Use edgetx-dev:latest again 2022-01-29 10:14:33 +10:00
Raphael CoefficandPeter Feerick 8d08bb3a3f Build using edgetx-dev:2.5.1 2022-01-29 10:14:33 +10:00
Štěpán DaleckýandPeter Feerick 8c6bc67f18 Ghost MSP support 2022-01-27 10:35:56 +10:00
Peter FeerickandGitHub 4b93686a40 feat: ImmersionRC Ghost 12 bit support
IRC Ghost 12 bit support
2022-01-27 09:58:09 +10:00
Samuel HenriqueandGitHub d09ba3adca fix: Prevent word splitting in compilation scripts when handling paths (#1502)
These invocations will all cause bugs when pwd returns something that
 can be interpreted by bash, the most common case being a folder
 with whitespaces in its name. In other words these can be triggered by
 calling the scripts from any folder that contains whitespaces.

 More info on this specific finding by shellcheck:
 https://github.com/koalaman/shellcheck/wiki/SC2046
2022-01-26 20:58:24 +10:00
c3c8a2e3f1 feat: Model level ADC Jitter filter option (#1363)
* ADC Filter - On/off state configurable at the model level

* Updated YAML configuration to match change from ADC Filter feature commit

* Companion changes to support ADC jitter filter to be a model configuration item.

* Renamed jitterFilter field to noJitterFilter.

This better describes the semantic, which is inverted.

* Updated after review

* Re-run generate-yaml

* Changed ADC Jitter filter control on Model to be tri state.
Off, On or use the radio setting

* Adde NOBACKUP() to the added field

* Re-generate yaml_datastructs

* Making the default state to use radio setting/Global value

* Updated after review:
Changing to more consistent naming across firmware and companion.

* Reverted  files that was accidently added to the commit.

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-26 20:54:23 +10:00
Peter FeerickandGitHub 09980bf640 Typos 2022-01-26 11:32:59 +10:00
Peter FeerickandGitHub bbb834b104 Ignore config files for external services 2022-01-26 11:32:34 +10:00
Peter FeerickandGitHub 3cb9ca00ac Bump gitpod docker container version 2022-01-26 11:29:54 +10:00
Raphael CoefficandPeter Feerick 641cb7f4aa F4: Remove useless additional DMA buffer 2022-01-25 19:57:36 +10:00
Peter FeerickandGitHub ee21651dda T8 mislabeled
Thanks to BrdsRTRL on Discord for spotting it
2022-01-25 08:47:09 +10:00
Peter Feerick 1eaa904217 fix: Also patch conversion for X9LiteS/XLiteS 2022-01-24 15:38:48 +10:00
Peter Feerick 95a55ae8d7 fix: Wrong datastructs used for X9LiteS and XLiteS 2022-01-24 11:09:32 +10:00
d1ef6f866c [tpro] fix function switch behaviours and add always on capability (#1479)
* fix: tpro function switch toggle mode

* feat: Function switches now have alway on option

* Companion support for function switch always on

* Fix nasty eeprom error

* Update fs startup item model

* Fix Tpro SWITCH_EXISTS

Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-01-23 18:42:31 +10:00
Peter Feerick c6a9101314 fix: Companion simulator breakage from #1480 2022-01-23 14:18:03 +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
1b66af88af [colorlcd] Warn on model change if telemetry-enabled model connected (#1467)
* Warn on connected model (#1466)

* Make it so not confirming aborts model change

* add delay before accepting disconnected telemtry

* Add power off delay

* Remove whitespace + time unit in name

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-23 10:45:20 +10:00
Raphael Coeffic 257d25b5eb Updated generated YAML parser files
And added the "ghost" union member to the selector.
2022-01-22 13:43:30 +01:00
Štěpán DaleckýandRaphael Coeffic 77386e6391 IRC Ghost 12 bit support 2022-01-22 13:43:30 +01:00
Raphael Coeffic a177264759 Hotfix yaml generator
Sorry @stephenaa, it's blocking normal YAML generation right now.
2022-01-22 13:11:31 +01:00
Raphael Coeffic 55689c4084 hotfix: T-pro does not have TX DMA on internal module 2022-01-21 12:38:15 +01:00
88a4458cfe fix: Resolve some issues with touch TE_SLIDE_END, and tapCount on NV14 (#1434)
* move TE_SLIDE_END handling for slide inertia to libopenui
reset tapCount on TE_SLIDE_END on NV14

* Bump libopenui

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-21 20:29:18 +10:00
Raphael CoefficandGitHub 4048983ce5 Add a "No SD card" screen on boot (#1451)
This prevents certain issues related to SD card being now mandatory to run EdgeTx.
2022-01-21 20:18:27 +10:00
eshifriandGitHub e07695f1e9 [nv14] Use Flysky range units (#1212) 2022-01-21 20:04:29 +10:00
Stephen Mose AaskovandGitHub 2593bef711 Make compilation on M1 Macs work (#1383) 2022-01-21 20:02:37 +10:00
121a1ffee5 fix: Potential out of bounds access of flightmode name on main screen (#1337)
Take 2, without the Mac Companion breakage...

* fixed incorrect use of non-terminated-fixed-string for ctor of std::string

* introduced helper

* removed commented lines

* removed constexpr since in C++11 std::string ctro isn't still constexpr

Co-authored-by: wimalopaan <wilhelm.wm.meier@googlemail.com>
2022-01-21 19:53:45 +10:00
Raphael CoefficandGitHub 0adb6315c8 Merge pull request #1469 from gagarinlg/dialogbl
force backlight on when displaying full screen dialogs
2022-01-21 07:26:36 +01:00
Raphael Coeffic 83f03a81df Fixed logical switch index check in raw sources
Resolves #1474
2022-01-21 07:05:54 +01:00
RistoandGitHub 60bbe52f63 feat: More analog diagnostics screens on B&W colorlcd (#1421)
* Show true unscaled and unfiltered analogs for diagnose purpose on the analog diagnose screen.
Tested on physical RM TX16S, not yet tested on B/W targets.

* Changed to decimal display also on B/W targets. Tested now with RM Zorro as well.

* 5 fps refresh rate of the raw analog values. Much nicer to look at.

* Time-changing 3 views for color radios: std., filtered raw with deviation, unfiltered raw.

* Corrected deviation view output to not use old values.

* Changed analogs diagnose page to user navigatable TabsGroup with 3 tabs.

* Added fourth analog diagnose tab to show minimum and maximum values and the range (difference between min and max).
Left touch screen and IMU output tests only on first page (should also move in the future to their respective dedicated pages).

* Use Std. JitterAlpha filtering for Deviation screen to minimize delay, omit filtering for FlySky digital hall gimbals - not necessary, the signal is stable enough.

* 2 analog diagnose pages for 128x64 B/W radios: calibrated analogs and raw values with display output limited to 5 frames-per-second due to visibility reasons.

* Added 2 analogs diagnose pages also for 212x64 display B/W radios.
I was only able to simulate it, not tested on real hardware.

* Support also radios that do not have PageUp/PageDn keys, but only Page key (e.g. X7).

* Better key handling and improved style thx to @pfeerick
2022-01-21 14:45:56 +10:00
1d7b04d679 [nv14] Make Ghost menu work with joystick trims (#1416)
* Update radio_ghost_module_config.cpp

* Update board.h

* Update keys_driver.cpp

* Auto-formatting

* Add functions simply so gtests compiles

* Update board.h

define TRIMS_EMULATE_BUTTONS to avoid HW dependent defines in other code

* Update radio_ghost_module_config.cpp

Use TRIMS_EMULATE_BUTTONS rather than PCBNV14

* `simu` code behind build flag also

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-21 14:42:13 +10:00
91d3c88421 [cleanup] Remove unused READ_FILE_BY_LINE code from colorlcd (#1456)
* remove READ_FILE_BY_LINE from colorlcd

* Whole file autoformat + more unused code removal

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-21 13:42:55 +10:00
Peter FeerickandGitHub 294e250f08 [ghactions] Cache Qt dependencies for building Windows Companion (#1431)
* [action] Cache QT install files
* Take into account two windows builds

Note: If for any reason the cache is corrupted, the cache key will need to be updated to make it re-build.
2022-01-21 13:10:12 +10:00
Raphael CoefficandGitHub 0ee144dd25 Remove useless DEBUG_TASKS (not supported on FreeRTOS) (#1448) 2022-01-21 12:59:45 +10:00
gagarinlg 9fea53702a force touch screen to be on in full screen dialogs
reset backlight timeout when changing backlight settings
2022-01-20 12:40:58 +01:00
gagarinlg ea29a68f23 force backlight on when displaying full screen dialogs
fixes #1428
2022-01-18 14:06:42 +01:00
Peter FeerickandGitHub 7da7261e7b Various Companion fixes (#1449)
- Fix (de-)serializing enable param for backlight custom function
- Fix OFF backlight
- Fix power ON/OFF delay
- Fix flight mode trim disabled
- Fix trim switch index
- Fix deserializing SLIDER[1,2]
- Fix shift for logical switches in raw sources
2022-01-18 11:13:11 +10:00