Commit Graph
3833 Commits
Author SHA1 Message Date
kobakirillandGitHub d0ae5bd85c chore(translation): Add Russian Companion translations 🇷🇺 (#4195) 2023-10-20 14:10:11 +10:00
kobakirillandGitHub 7322084fb8 feat: Add Russian translation to firmware 🇷🇺 (#4067) 2023-10-20 12:13:45 +10:00
Neil HorneandGitHub 23bc14566c fix(cpn): Add back failsafe settings for protocols that support (#4220) 2023-10-19 11:20:52 +10:00
3djcandGitHub ecd4a437f2 feat(cpn): TProV2 support (#4206) 2023-10-19 10:44:09 +10:00
Neil HorneandGitHub 4ae4a7c578 fix(cpn): Non-functional edit model button and context menu entry (#4217) 2023-10-18 15:15:39 +10:00
Neil HorneandGitHub 3e5e598c18 chore(cpn): Remove UI slot code for field removed in #3782 (#4218) 2023-10-18 15:12:45 +10:00
philmozandGitHub d473fab90c fix(cpn): Align brightness settings with radio, Speaker Volume values (#4156) 2023-10-16 18:18:55 +10:00
d396b38e8b feat: Add trainer virtual switch (#3937)
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-10-16 08:41:40 +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
philmozandGitHub 837677b3ef feat: Convert PPM_UNIT build option to runtime radio setting (#3993) 2023-10-10 19:47:50 +10:00
Ulf HedlundandGitHub aabf67d453 chore(translation): Updated SE translations (#4147) 2023-10-03 11:09:19 +10:00
kobakirillandGitHub abb5dda313 chore(translation): Russian translation updates for Companion (#4026) 2023-09-29 20:39:33 +10:00
f40fa1a64b feat(el18): Use trim hats as keys for navigation (#3894)
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-09-29 20:12:54 +10:00
HThurenandGitHub 5b0717f5b3 Update 🇩🇰 translation (#4097) 2023-09-29 10:20:57 +02:00
philmozandGitHub 0aff002c8a chore(color): Cleanup and optimise EdgeTxTheme class (#4013) 2023-09-21 19:39:05 +10:00
MichaelandGitHub d30499f19b feat: Add SF to mute audio amplifier on supported radios (#3753)
* SF Audio amplifier mute port to 2.10

* added missing definition STR_SF_DISABLE_AUDIO_AMP

* exclude radios not able to switch audio amp off

* radio/src/storage/yaml/yaml_datastructs_128x64.cpp needs to distinguish between radios with or without switchable audio amps. Expample Zorro vs X9lites

* updated companion and radio language PL

* - added Companion and radio language SE

- removed type unfinished for translated languages

* added radio and companion language JP

* - reverted change to 128x64 yaml_datastructs.h

- moved exclusion of SF DISABLE_AUDIO_AMP based on hw capabilities to UI level

* confused FUNC_ with FUNCTION_

* confused FUNCTION_* with FUNC_*
2023-09-14 19:33:03 +10:00
Neil HorneandGitHub fec64a964d fix(cpn): Selection of sound packs in update process (#3848)
* chore(cpn): increase github REST api page size for sound packs

* chore(cpn): add selection mode parameter to chooser dialog

* chore(cpn): remove cli debug messages when progress dialog available

* chore(cpn): carve out filterAssets from setFilteredAssets and call new function

* fix(cpn): refactor update sounds asset filtering

* chore(cpn): move code block

* fix(cpn): remove trailing hyphen from default sounds asset filter
2023-09-07 21:23:02 +10:00
MichaelandGitHub 73a4a2387e chore: Remove legacy UI for telemetry type (#3782)
* CPN and radio: removed legacy UI for telemetry type

* CPN and radio: removed legacy UI for telemetry type
2023-09-07 21:10:16 +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
HThurenandGitHub 9515d29c9d chore(translation): Updates to Danish translations (#4020) 2023-09-07 16:09:46 +10:00
Neil HorneandGitHub d3ed7c12e6 feat(cpn): Play radio-generated audio in global/special function editor (#3910)
* enh(cpn): play sounds in model functions editor

* add recorded radio sounds
2023-09-04 19:52:12 +10:00
Neil HorneandGitHub 8d8a50ce74 feat(cpn): Trainer modes more closely mimic firmware (#3981) 2023-09-04 19:46:33 +10:00
Neil HorneandGitHub 5ce41bd91e fix(cpn): Custom fumction filename length (#3930) 2023-09-04 14:11:20 +10:00
Neil HorneandGitHub cb08a4de25 feat(cpn): Only show active channels in source lists (#3971) 2023-09-02 18:45:29 +10:00
Neil HorneandGitHub 71b0614503 feat(cpn): Identify new and changed models by italicising row (#3840)
* enh(cpn): identify new and changed models by italicising row

* enh(cpn): identify drag n drop and new from template as changed
2023-09-02 18:37:27 +10:00
06712d9b97 feat: Interactive/progressive preflight checklist (#3564)
* initial version of clickable checklist

* do not display checkboxes for empty lines if checklist is shorter than screen size

* remove checklist exit after completing it
cannot exit menu from menuTextView as level above there is while loop that cannot be stopped from thic place in code

* menu entry to enable and disable interactive checklist

* only when complete interactive checklist is closed

* config updated & not display checkboxes when entered from "View Notes"

* add setup entry for colorlcd

* do not make interactive checkist when loaded from menu

* fix datastruct size after merge

* Companion support for interactive checklist

* mark checklist lines as non-checkable with '=' for B&W radios

* Process only items visible on screen
This is also crucial when it comes to analyse non-checkable items on a checklist, as in this way there is no need to load non-visible items from SD-card

* WIP fix merge problems

* update yaml datastructs

* restore most functionalities for interactive check lists on color LCD radios
currently no automatic line wrapping and you can always exit the checklist, even when it is not fully done

* finalise interactive checklists for color LCD

* fix: rebase/merge issues

* fix: model setup checklist section

* fix: fix 212 model setup

* Re-work of the some of the color lcd checklist code (#3787)

* Move checklist logic to sub-class.
Show model name instead of file name in title, show 'Preflight checks' in title2 for checklist.
Handle long line wrapping of text.
Don't indent lines without checkbox.
Add 'RTN' button when done.

* Code cleanup.

* Simplify code by storing a list of checkboxes instead of scanning LVGL object hierarchy.

* Indent checkboxes to make touch activation easier.
Keep 'RTN' button visible so last checkbox is further from bottom of screen (for touch activation).
'RTN' button is disabled until checklist complete.

* Add checkbox class constructor for preflight checks.

* Fix checkbox size.

---------

Co-authored-by: Piotr Rzeszut <piotrrze@gmail.com>
Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: philmoz <philmoz@users.noreply.github.com>
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-08-29 19:18:39 +10:00
Neil HorneandGitHub ceba62650e fix(cpn): Application crash when editing radio settings (#3978) 2023-08-29 18:42:31 +10:00
MichaelandGitHub 2d8d2fcf01 feat: MIN constant as a source option (#3639)
* feature request #1635

- added MIN (-MAX -> -1024) as source

* fix rebase

* fix rebase

* change to use language strings for MIN/MAX instead of instance

updated CN and TX language file for MINuse -RESX for MIN instead of magi numbercode cleanup

* updated test sources

* updated JP language

* JP language: changed translation text

* updated HE language translations
2023-08-28 20:16:00 +10:00
Neil HorneandGitHub e46d00e7d0 fix(cpn): Only timers with active modes should be included in lists (#3956)
* disable timers with mode OFF

* fix isModeOff to reference mode not switch

* update model edit source lists when timer mode changed

* add timer mode test to reset function

* add timer mode test for Set and Reset functions

* change yaml special source TIMERx to Tmrx
2023-08-28 20:02:54 +10:00
Ulf HedlundandGitHub c66da428be fix: Corrections to SE translations (#3954)
* Corrections for model MPM settings

Some corrections for model MPM settings

* Added a few new translations
2023-08-26 20:54:09 +10:00
019b4308ac fix(cpn): DE and PL translation regressions (#3968)
* fix(cpn): de translation

* fix(cpn): PL translation

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-08-26 20:32:40 +10:00
Neil HorneandGitHub 64f4968e89 fix(cpn): Model and labels lists sync (#3967)
* labels use proxy model mapping to source

* cosmetics

* Fix model list focus

* fix model focus on change to labels
2023-08-26 20:06:10 +10:00
543171884a chore(cpn): Update branding (#3817)
* chore(cpn): change logo source url

* chore(cpn): replace image files

* chore(cpn): use mhotar images

* chore: Generate icons

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-08-26 19:53:11 +10:00
Ulf HedlundandGitHub 2f3c104327 chore(cpn): Updated SE translations (#3878)
* Translation for PR #1425

* Minor update

* Updates - including theme text translations

* Update se.h

* Proper translations for CZ,DA,DE,FR,HE,IT,JP,PL

Added translations from translators for 8 languages

* Updated translations for new PRs

Updates for new commits c805940, 2b100e0, a2d845d and c4e221f

* New translations added

* Possible minor changes

* First update for 2.10

* One minor change

* One error fixed

* Additional translations up until PR #3726

* Translations up until PR #3726

* Minute change for one string

* Updates for recent PRs

* Updates for new strings

* Minor changes

* Update companion_sv.ts

Minor change in About EdgeTX
2023-08-16 10:15:56 +10:00
50bbea48bd fix(cpn): Radio settings yaml for adc refactor (#3862)
* Remove commented lines

* Restrict calibration to sticks, pots and sliders

* Fix pots and sliders config to support pre and post adc refactor

* fix: pfeerick sucks at rebases

* chore: Add more bits missed during rebase

* chore(cpn): use adc version constant

* fix(cpn): calibration encode mapping

---------

Co-authored-by: elecpower <neilh713@tpg.com.au>
2023-08-16 10:11:31 +10:00
Neil HorneandGitHub b8300c7f8a fix(cpn): TX12 MKII and Zorro sims key mapping (#3938) 2023-08-15 10:18:49 +10:00
Neil HorneandGitHub 343ea0660f feat(cpn): Clear clipboard on profile change (#3929)
... preventing pasting incompatible models after profile change
2023-08-14 12:40:38 +10:00
3djcandGitHub 4924500ea7 fix(simulator): TPRO menu key not working (#3921) 2023-08-14 11:29:13 +10:00
9e7a331fa6 feat: Splash screen delay opt for colorlcd, startup sound disable opt (#3451)
* Enable startup splash screen duration for color LCD radios.
Add option to disable startup sound.
Add Companion support for changes.

* Add translation string for Hebrew language file.

* Fix rebase.

* chore: Add T20

* Update translations.

* Update translations.

* Update translations.

* Update translations.

* Right justify radio setup controls.

* Use longer translations for all radios.

* Enable splash screen timeout for NV14/EL18.

* Suspend watchdog timer to prevent EM if long splash display time selected.

* Simplify SPLASH_TIMEOUT code.

* Use WDG_RESET instead of watchdogSuspend.

---------

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-07-30 11:58:28 +10:00
2f253d9139 fix(cpn): Pot and slider post ADC refactor fixes (#3731)
* Semantic version housekeeping

* Fix pots and sliders center beep and warnings yaml for adc refactor

* Fix sliders and pots mapping

* Fix 6POS libsimu

* Fix trims

* Updated 6POS calculation thanks to philmoz

* Fix version adc implemented

---------

Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
2023-07-27 14:23:15 +10:00
d955685e1c fix(cpn): add missing module types to module size lists (#3839)
* fix(cpn): add missing module types module size lists, X9D+2019 module size

* fix: X9D+2019 is STD size

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-07-23 10:56:06 +10:00
Neil HorneandGitHub 40d48e991d feat(cpn): warn if radio settings version not supported (#3766)
* Add semver checking to radio.yml

* Rename radio settings variable to allow comparison to model settings version
2023-07-19 11:23:27 +10:00
Neil HorneandGitHub 3a8a86a88f chore(cpn): Disable backup and restore for all radios (#3824)
completely broken with the move to yaml for B&W radios
2023-07-19 11:18:59 +10:00
Neil HorneandGitHub 9fada5c09d fix(cpn): Reduce curve name length to match firmware (#3825) 2023-07-19 10:50:30 +10:00
philmozandGitHub bd92f70056 feat: Support all current timezones for GPS (#3406)
* Support all current timezones.

* Fix function name and calculation for timezone offset.

* Allow setting any time offset value from -12 to +14 in 15 minutes increments.

* Alternate timezone editor in Companion (from elecpower).

* Fix compiler warning.

* chore: Add the T20
2023-07-16 14:02:27 +10:00
Neil HorneandGitHub 286ae00678 feat(cpn): External module form factor set in Radio Profile (#3628)
(to allow aligning with firmware compile option) 

* feat(cpn): External module form factor set in Radio Profile to allow aligning with firmware compile option

* Note tweak
2023-07-16 11:06:36 +10:00
3djcandGitHub 7f669f12d9 feat: Add initial Jumper T20 support (#3726)
* Jumper T20

* Fix center beeps

* Add option to pinch top trim as well to bootloader

* chore: Regenerate yaml

* chore: Add entry for Buddy

* Jumper T20

* Foldable section for fonction swith and fix preflight pot checks

* Remove duplicated entry

* Rename "function switches" to "customizable switches"

* chore: Add translations

* chore: Update translations

* chore: Update Companion translations/wording
2023-07-07 10:44:14 +10:00
Neil HorneandGitHub b8e690575d fix(cpn): Do not display setup center beep option for multipos (#3744) 2023-07-05 20:51:20 +10:00
632eceba6d feat(cpn): User configurable audio mute in radio settings (#3735)
* feat(cpn): User configurable audio mute in radio settings (#3710)

* CPN: user configurable audio mute in radio settings. Supports PR #3703

* make checkbox only visible for radios with AUDIO_MUTE_GPIO pin:

 - All color lcd radios (including NV14) except Horus X12S
 - TX12, TX12MK2, ZORRO, BOXER, T8, TLITE, TPRO, LR3PRO, COMMANDO8

* chore: Add Companion translations

---------

Co-authored-by: Michael <mha1@users.noreply.github.com>
2023-07-01 18:22:14 +10:00
3djcandMalte Langermann 3308500b17 More libsimu fixes 2023-06-25 14:32:39 +02:00