Commit Graph
19485 Commits
Author SHA1 Message Date
gagarinlg e77909e17f chore(libopenui): add submodules used by libopenui 2023-05-18 14:53:20 +02:00
gagarinlg 2418f1114e chore: pull libopenui into the EdgeTX repository 2023-05-18 14:49:35 +02:00
gagarinlg 843e42b964 chore: remove libopenui submodule 2023-05-18 14:48:41 +02:00
RistoandGitHub f8814a072e feat(ui): rephrased to "Missing or bad radio data" (#3589)
* feat(ui): rephrased to "Missing or bad radio data"
Less daunting label if \RADIO folder on SD card is non-existent.
Thx to jan-kozak-oc, robustini, ToshihiroMakuuchi, Pat6874, HThuren, Eldenroot, ulfhedlund and zyren for translations.
2023-05-17 13:20:41 +02:00
philmozandGitHub 75ccc4a9a9 fix: Include internal module type in backup data for EM (#3603)
... so radio re-connects to receiver if internal module is in use!
2023-05-17 20:41:09 +10:00
philmozandGitHub f2936931f7 fix(color): Memory leaks when using USB mass storage connection (#3547)
* Fix memory leaks when using 'USB Storage (SD)' connection.
- Lua state 'cache' allocated to both lsScripts and lsWidgets; but only one was being released.
- Default theme bitmaps being reloaded without releasing previously allocated memory.

* Fix icons.
2023-05-17 18:28:29 +10:00
MichaelandGitHub ce5d62af78 fix: Rqly % rx stat type for PPM MLINK telemetry protocol (#3605) 2023-05-17 17:05:27 +10:00
MichaelandGitHub fd7d359695 fix: RX stat labelling dependent on telemetry protocol (#3523)
* RX stat (formerly known as "RSSI") labeling dependent on protocol (RSSI/dbm, Rqly/%, Sgnl/-)  used for range check, multi rf tuning and low/critical warning settings pages

* chore: Bump libopenui

* removed define that was supposed to be for testing only

function getRxStatLabels(): wasting flash as inline, no need to be inlined

* removed inline on getRxStatLabels() - step 2
2023-05-17 11:17:35 +10:00
MichaelandGitHub 5db37e2a2b feat: Support for ext. Multiplex MLink JR type module (#3352)
* introducing external MLink module telemetry as module PPM subtype

* implemented fix for sensor discovery display not showing all detected sensors (is in separate PR too)

implemented PPM subtypes in Companion

* add PPM subtype to model printer

finalize subtypes for PPM in Companion

* added logic to try to use HW UART with inverters turned off first (e.g. NV14), then, if not successfull use soft serial inverted (== uninverted data due to HW inverters on PCB)

changed start bit detection IRQ priority from 5 to the previous 0 (also in separate PR)

* extended telemetry timeout to 2s due to slow Mlink RSSI update rate

* changed the "NOTLM" sub-type texts to:

- "No Telem" for 128x64 (this is the max numbers of characters it can take)
- "No Telemetry" everything else including Companion

* Companion:

- lower case 1st charachter on PpmSubTypeStrings to ppmSubTypeStrings
- added telemetry hooks for ppmSubTypeStrings stringx

* simplified serial port initialization for MLink telemetry

* editorial change: corrected obsolete comment
2023-05-16 11:22:47 +10:00
philmozandGitHub 3d6bc638a6 fix: Remove audio queue state check for SF 'Play Sound' action (#3567)
Was preventing sounds running from startup
2023-05-15 21:25:18 +10:00
Peter Feerick 70d02a75f4 chore(github): Update depreciated nightly action
Need to replace the deploy release action too though
2023-05-15 13:17:16 +10:00
philmozandGitHub d29317ecd0 chore(cpn): Fix compiler warnings when building (#3383)
* Fix build warnings.

* Rename 'flags' function.
2023-05-15 11:24:54 +10:00
Neil HorneandGitHub 54483e6c4e fix(cpn): Simulate from model only yml file (#3537) (#3566) 2023-05-15 11:22:49 +10:00
ulfhedlundandGitHub e603581105 chore: Translation of "Range Test" (#3584)
* Translation for range test

* Translation for range test

* Translation for range test

* Reviewed translations for 9 languages

Reviewed translations for 9 of 11 actively translated languages

* Translations for Chinese and Taiwanese
2023-05-14 16:28:27 +10:00
Stav RavivandGitHub dd64aaef2e feat: Hebrew radio translation 🇮🇱 (#3506)
* Hebrew radio translation 🇮🇱

* chore: loop in alphabetical order

* Replace Arial with Arimo

* Add "he" to companion settings
2023-05-14 13:36:53 +10:00
HThurenandGitHub bd14c83b6a chore(translation): Danish updates 🇩🇰 (#3581)
* Comp + radio - DA update

* change da to da_DA
2023-05-13 17:58:56 +10:00
Neil HorneandGitHub 376365725a chore(cpn): Update supported radio UI languages (#3587) 2023-05-12 12:59:36 +10:00
Neil HorneandGitHub 3692718e8a feat(cpn): Add Hebrew voice to radio settings (#3586) 2023-05-12 10:08:07 +10:00
Neil HorneandGitHub 1b1b9f7439 fix(cpn): T-Lite F4 board capability logic test (#3585) 2023-05-12 10:07:29 +10:00
Offer ShmuelyandGitHub e9750a6f91 feat: Support selection of Hebrew audio pack (#3511)
* support hebrew audio selection

* support hebrew audio selection

* support hebrew audio selection

* support hebrew audio selection

* support hebrew audio selection
2023-05-11 10:40:53 +10:00
0ef4199632 chore: Review IT translations 🇮🇹 (#3505)
* Review IT
Signed-off-by: Pancronos <pancronos@gmail.com>

* chore: Fix most of space/tab indentation

* chore: Update attributions

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-05-11 10:34:15 +10:00
PatrickandGitHub 449d20997e chore: Update French translations 🇫🇷 (#3461)
* Update fr.h

continuation of the translation...
It's not over yet!

* chore: More updates

* Update fr.h

* Update fr.h

* chore: Minor corrections
2023-05-11 10:33:21 +10:00
32e544c8dd chore: Support T-Lite F4 variant (#3254)
* TLite F4

* chore: Add to fw list for Buddy

* chore(cpn): TLite F4 Companion support

* fix: Remove seemingly incorect cmake set
Or at least, the code now builds without that directive

* fix(cpn): Stupid typo

* chore: Actually build/register tlitef4 simulator

* fix: Need tlitef4 flavor for simulator and updates

* chore: tlitef4 can use tlite simulator

* fix: downloadid AND simulatorid

* fix: Correct simulatorid

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: Peter Feerick <pfeerick@users.noreply.github.com>
2023-05-10 19:43:07 +10:00
philmozandGitHub 2588e89ca1 fix(color): 'Custom Mixer Scripts' not showing in source selection menu (#3577) 2023-05-10 09:29:07 +10:00
Maksim BrykovandGitHub 2568f33188 fix: Add default contrast settings for Zorro (#3575) 2023-05-09 21:20:17 +10:00
Neil HorneandGitHub f800447cd5 feat(cpn): Radio types can reference any libsim and/or firmware download id (#3432)
* Radio profiles reference any libsim and/or firmware download id

* Revert files filter for now
2023-05-07 18:01:14 +10:00
MichaelandGitHub c6188af631 Add setters for DynamicNumber prefix and suffix texts (#90)
required by RX stat labeling on range check, rf tuning, low/critical warning pages
2023-05-07 14:05:50 +10:00
7a083fe0f7 fix(color): Make size/appearance of number/text edit controls consistent with other UI elements (#3481)
* Fix minor layout issues arising from libopenui PR 89.

* chore: Bump libopenui

---------

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-05-07 14:04:35 +10:00
philmozandGitHub 51ce75f10e Make the size and appearance of the number and text edit controls consistent with other UI elements. (#89) 2023-05-07 11:25:50 +10:00
philmozandGitHub 93d8992fed fix(color): Incorrect Lua memory usage values (#3548) 2023-05-07 11:24:58 +10:00
philmozandGitHub cea26d1247 fix(color): Return actual free memory avail from 'malloc/new' calls in 'availableMemory' (#3512) 2023-05-07 11:14:01 +10:00
philmozandGitHub 140c700e1e fix(color): 'lastopened' value not loaded on startup if stored hash not up to date (#3521) 2023-05-07 11:09:20 +10:00
philmozandGitHub ee6563e33f fix(color): GV update header if unit is changed, keep FM values in range (#3563)
Update title if unit is changed.
Update FM values if outside min/max range for GV.
2023-05-06 10:02:51 +10:00
philmozandGitHub 5da43df4e4 fix: Debug key names for Boxer (#3536) 2023-05-05 19:49:53 +10:00
MichaelandGitHub 9378e8e252 fix(lua): GV precision not taken into account (#3540)
changes:
- calculate LUA return value for GVARS taking precision into account
2023-05-05 19:45:06 +10:00
Peter Feerick ecba2f6016 fix(color): Joystick page header title 2023-05-05 19:31:58 +10:00
philmozandGitHub 07e2e06baf fix: Update GV value in header when precision changes (#3544) 2023-05-05 19:25:30 +10:00
Raphael CoefficandGitHub 6aa1fc90c4 fix: signal polarity for soft-serial & timer based protocols (#3513)
* fix: signal polarity for soft-serial & timer based protocols

* fix: first PWM period after init
2023-05-05 19:20:29 +10:00
3djcandGitHub f5c1a93f87 fix: Formatting the SD card on radio when running is a bad idea (#3549)
Plus we need the flash memory space for some targets!
2023-05-02 09:30:27 +10:00
Raphael CoefficandGitHub 99da364eaf fix: explicitly locate .data segment in FLASH (#3556)
Rather than using `_sidata` marker.
2023-05-02 09:20:43 +10:00
raphaelcoeffic 53f172bb07 fix: possible endless loop in case some error flag is set but RXNE is not
Fixes #3482
2023-04-28 13:05:31 +02:00
Raphael CoefficandGitHub 438fd0bd73 chore: add basic stuff for LSP (clangd) (#3516)
* chore: add basic stuff for LSP (clangd)

* Newline
2023-04-24 16:52:31 +10:00
philmozandGitHub 909fb020ba fix(color): '!1x' repeat option missing (#3520) 2023-04-24 16:49:51 +10:00
MichaelandGitHub 8d86fc879b fix: Building TX16s firmware with -DDEBUG=YES -DCMAKE_BUILD_TYPE=Debug fails (#3510)
* fixes #3509

Changes:
- change to order of include files
- remove unnecessary include

* revert deletion of include, some radios seem to use it.

* exclude code for CONFIGURABLE_MODULE_PORT for target bootloader
2023-04-23 09:47:56 +10:00
e1fe7fce89 feat(radio,cpn): Updates for new joystick system (#3400)
* Reduce RAM usage for advanced joystick system on radio:
- Don't allocate memory blocks unless joystick mode is being used.
Support multiple radio joystick configurations in Companion:
- Save configured joystick settings by joystick name in Companion settings.
- Save last joystick name used in each profile.
- Reload joystick settings by name when profile is changed.

* Only show configuration for used axes and buttons in Companion.
Send actual number of configured joystick buttons from radio in USB packet.

* Fix issue where USB joystick not recognised if no buttons configured.

* Fix compiler warnings.

* Remove debugging.

* Fix crash in Companion.

* Change channel 8 to type 'dial', workaround for Linux mapping issue.

---------

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-04-21 14:27:41 +10:00
philmozandGitHub 62a40f1c47 fix: Announce timer value as hours and minutes when played from SF (#3293) 2023-04-19 21:59:08 +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
richardclliandGitHub 7e9ac82497 fix: Add missing character to CN/TW font (#3489)
* Added symbol \u5b57.

* Updated fonts files.
2023-04-19 20:11:53 +10:00
MichaelandGitHub 74d44ed057 fix: Corrupt data using soft serial driver (#3329)
* restore bit start detection IRQ for soft serial

* restore bit start detection IRQ for softserial (target Taranis and Horus)

* target Taranis: EXTI9_5 is a shared interrupt for Rotary Encoder and Heartbeat for X7, X7-ACCESS und TPRO radios. Changed IRQ priority accordingly

* fix crashes where the heartbeat ISR running at interrupt priorities higher than 5 interferes with FreeRTOS calls made from within the heartbeat ISR.

* changed mixer scheduler timer initialization to allow for software generated update events to avoid freeRTOS calls from now prio 0 heartbeat ISR.

* resolved review feedback: using defines for IRQ prio settings

* following review by @raphaelcoeffic:

- new function void mixerSchedulerSoftTrigger() (to be called by heartbeat driver)
- defines in hal.h for targets horus and taranis

* following @raphaelcoeffics review

- changed all but telemetry EXIT IRQ (soft serial) definition back to their original state and added define to override EXIT IRQ (soft serial) prio
2023-04-19 19:43:25 +10:00
RistoandGitHub a4689d0b00 fix: Explicitly list 12-bit ADC resolution (#3488) 2023-04-19 18:50:22 +10:00