Commit Graph
100 Commits
Author SHA1 Message Date
Raphael CoefficandGitHub d7598c8ed8 fix: use switch indirection to fetch the proper name for switch audio (#2599)
Fixes #2576
2022-10-19 21:22:44 +10:00
Raphael CoefficandGitHub 2067140552 fix(isrm): flashing internal ISRM module (#2596)
Fixes #1552
2022-10-19 21:13:48 +10:00
Raphael CoefficandGitHub ba713b6b8d feat: Further improve rotary encoder acceleration (#2584)
* Improve rotary encoder acceleration

Fixes #2417

* Further improvement

* Fix simu compilation
2022-10-19 20:36:29 +10:00
Raphael CoefficandGitHub 4c1cebe0f7 fix(lua): send EVT_VIRTUAL_EXIT only on short EXIT press (#2573)
Fixes #2436
2022-10-17 22:11:56 +10:00
Raphael CoefficandGitHub 0c4f0083d6 fix(color): min/max highlighting should depend on mixer channel value (#2582)
... and not the output value. Otherwise, it will highlight min/max when the sub-trim is changed.
2022-10-17 13:17:27 +10:00
Raphael CoefficandGitHub 6cc393cef5 fix(gf): reset global function context if disabled (#2578)
Fixes #2577
2022-10-17 12:14:27 +10:00
Raphael CoefficandGitHub d7fedc3639 fix(color): clear spectrum analyser data buffer on init
Fixes #136
2022-10-17 10:32:23 +10:00
Raphael CoefficandGitHub 836954ee4b chore(adc): store constant structs in FLASH (#2551)
... not RAM.
2022-10-14 19:41:40 +10:00
Raphael CoefficandGitHub 82ce6d0240 fix(color): copy/paste inputs/mixers (#2545)
Fixes #2541
2022-10-14 12:01:18 +10:00
Raphael CoefficandGitHub 41c788267b fix(color): RF power drop-down (#2547)
Fixes #2488
2022-10-14 11:20:59 +10:00
Raphael CoefficandGitHub 487f075ca7 fix(color): module setup sub-type after selecting MPM (#2548)
This fixes following issue:
- switch the external module to "Multi"
- switch to something else
- check the faulty sub-types
2022-10-14 11:12:10 +10:00
Raphael CoefficandGitHub 08f89dbbdf fix(B&W): a~x not being displayed correctly (#2539) 2022-10-14 10:55:27 +10:00
Raphael CoefficandGitHub 584e194388 fix(X10): Simulated page up in menu toolbar (#2543)
Fixes #2542
2022-10-14 10:46:19 +10:00
Raphael CoefficandGitHub 1766b7d6c0 fix: hard coded special characters (#2538)
* fix(B&W): delta character in outputs

* fix: more special characters

* fix: NV14 compilation
2022-10-13 17:27:45 +10:00
Raphael CoefficandGitHub 9bfb36a587 feat(color): single press to trigger model select menu (#2533)
In a similar way as the file preview, using the ENTER key will trigger the menu, while touching a preview unselected model will just select it in the list. A second tap will then trigger the menu.
2022-10-13 13:08:21 +10:00
Raphael CoefficandGitHub eb2e693eae fix(color): shortcut for model select (#2528)
Prior to this fix the model settings would be opened as well when long pressing the model key.
2022-10-13 09:41:10 +10:00
Raphael CoefficandGitHub 2f88281ab2 fix(color): screen / widget setup (#2532)
This fixes the issue introduced in #2509 which would cause the main view to be hidden while configuring widgets.
2022-10-13 09:39:37 +10:00
Raphael CoefficandGitHub ffe4fe7e17 fix: clear internal module FIFO after DMA init (#2527)
Otherwise, NDTR will be 0 instead of [buffer size], and thus the read index will not be set to the correct value.
2022-10-13 09:33:51 +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
Raphael CoefficandGitHub e7969e737d fix(tpro): function switches auto-switch & position matching (#2505)
* fix(tpro): auto-switch for function switches

Fixes #1488

* fix(tpro): matching function switch UP position
2022-10-12 12:52:00 +10:00
Raphael CoefficandGitHub 26b34a4820 fix(sdcard): use init marker in initialised BSS segment (#2517)
`g_FATFS_Obj` is located in `__DMA` section, which is not initialised, so that testing `sdMounted()` at boot relies on the fact that the bootloader linker script declares BSS in internal SRAM and not in CCM, as the firmware linker script does.
2022-10-12 12:51:09 +10:00
Raphael CoefficandGitHub 655965d7a6 fix: prevent endless loop with SBUS trainer on model change (#2515)
* fix: prevent generic module de-init if protocol is NONE

Fixes #1898

De-initialising the external module while SBUS trainer is used on external module RX leads to the following sequence:
- `extmoduleStop()` is called, thus shutting down the timer DMA
- on certain targets, the timer DMA stream is the same as the external module RX DMA stream
- when this DMA stream is used by the SBUS trainer input, this leads to DMAFifo to return random bytes continuously
- thus driving `processSbusInput()` into an endless loop, which is run in the mixer task
- as the mixer task has the highest priority, it runs forever
- after some time the watchdog timer expires, and causes a reboot

* DMAFifo: check if the stream is enabled

This provides some hardening to avoid the conditions described in previous commit.
2022-10-12 12:45:10 +10:00
Raphael CoefficandGitHub 324c8e9eef fix(PXX2): prevent legacy telemetry polling (S.PORT) if the module driver defines its own method (#2504)
This is to prevent the S.PORT line to interfere with PXX2 telemetry reception, especially with R9M ACCESS.
2022-10-11 21:36:24 +10:00
Raphael CoefficandGitHub 37002080a1 fix(color): window tree preventing superfluous drawing (#2509)
This prevents the main view to be redrawn if fully covered by a tab group, a page or a full screen dialog.
2022-10-11 16:29:59 +10:00
786fbcb411 feat: Japanese radio translation 🇯🇵 (#2456)
* Japanese radio translation

`jp.h` based on #2006 (Kudos to @ToshihiroMakuuchi)

* fix: Gyro is now IMU

* Japanese modifications were made to the display. (#2171)

* Update JP translation file

* Update JP fonts

* Fix rotary encoder mode string

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: まっく まるちぷろとこる <36994795+ToshihiroMakuuchi@users.noreply.github.com>
2022-10-11 11:42:24 +10:00
c19373538a File browser touch preview (#2492)
* do not display model image when outside of the IMAGES folder

* Trigger file action only if file already selected

Co-authored-by: eshifri <eshifri@hotmail.com>
2022-10-11 10:52:50 +10:00
Raphael CoefficandGitHub bece340186 feat: FullscreenDialog also support long pressed ENTER (#2506)
Resolves #2500
2022-10-11 10:29:43 +10:00
Raphael CoefficandGitHub bae5102762 feat(color): Add copy button to failsafe channel (#2507)
* feat(color): add copy button to failsafe channel

Implements #2416

* Improve custom failsafe layout slightly
2022-10-11 10:09:15 +10:00
Raphael CoefficandGitHub a8f1973507 fix(color): outputs in portrait mode (#2489)
Fixes #2442
2022-10-09 20:49:24 +10:00
Raphael CoefficandGitHub 8c8b24225d feat(EL18): Add AFHDS3 receiver options (#2470)
* Get config after switching model ID

* Remember set model ID and change it on the fly

* Add AFHDS3 options

* Fix compiler warning

* Fix box sizing

* Apply model config before editing options
2022-10-09 19:54:55 +10:00
Raphael CoefficandGitHub 59b33622b8 fix(color): prevent recomputing points in NumberEdit() constructor (#2474)
Fixes #2452
2022-10-09 15:53:34 +10:00
Raphael CoefficandGitHub f7e3458bac fix(multi): set bind status explicitly when aborted manually (#2455)
* fix(multi): set bind status explicitly when aborted manually

Fixes #2263

* fix: adjust MPM bind status on B&W as well
2022-10-06 20:03:39 +10:00
Raphael CoefficandGitHub d014709172 fix(color): some lines containing boxes could be scrolled horizontally (#2471) 2022-10-06 17:19:20 +10:00
Raphael CoefficandGitHub fa0eac3af6 chore: Remove unnecessary BREAKSPACE (#2432)
and streamline translation definitions.
2022-10-06 16:41:51 +10:00
Raphael CoefficandGitHub d6741450f3 fix(color): set current model after label update (#2476)
* fix(color): set current model after label update

Fixes #2460

Here Companion only outputs a more or less empty labels file, so that models are scanned on startup, however not setting the current model properly in this particular case.

* fix(color): bitmap name in modelslist should be zero terminated
2022-10-06 16:10:48 +10:00
Raphael CoefficandGitHub 974c7e39ad fix(lua): Touch events preventing rotary encoder events being detected (#2458)
Fixes #2457
2022-10-03 21:14:17 +10:00
Raphael CoefficandGitHub 3e73d1709d fix(color): various menu toolbar fixes (#2445)
* fix: various toolbar fixes

* chore: Bump `libopenui`
Also pulls in #2446 fix
2022-10-03 13:13:12 +10:00
Raphael CoefficandGitHub 50b7df02f6 fix: R9M access subtype (#2211)
* Remove sub-type choice for R9M ACCESS modules

* pxx2: subtype is only needed for XJT lite and ISRM
2022-10-02 18:45:34 +10:00
Raphael CoefficandGitHub 9c951224c7 fix: auto-switch timeout raised to 1s (#2433)
Fixes #2418
2022-10-01 20:22:32 +10:00
Raphael CoefficandGitHub 74349cb371 fix: default input names on model creation (#2395)
Fixes #2389
2022-09-28 18:35:41 +10:00
Raphael CoefficandGitHub f579eeb9fc fix(color): focus order after layout choice (#2394) 2022-09-28 18:26:17 +10:00
Raphael CoefficandGitHub d8bcecfc82 fix(color): Unify button colors (#2367)
* Button: change bg color to COLOR_THEME_PRIMARY2

And text color to COLOR_THEME_SECONDARY1

Fixes #2304

* fix: TextButton constuctor calls

Setting the font in the constructor never worked, but did set the text color to black.

* chore: Bump libopenui
2022-09-27 12:52:08 +10:00
Raphael CoefficandGitHub af7679a486 feat(color): More tuning of rotary encoder acc, enable for color picker (#2366)
* Smoother encoder acceleration

* Enable encoder accel on color picker
2022-09-27 11:52:28 +10:00
Raphael CoefficandGitHub 22d784a20e feat: Use rotary encoder velocity only on specific components (#2356)
* feature: use rotary encoder velocity iff LV_OBJ_FLAG_ENCODER_ACCEL
* chore: bump libopenui
2022-09-26 11:52:51 +10:00
Raphael CoefficandGitHub c2451085ec fix(lua): handle ENTER_LONG properly (#2353)
Fixes #2267
2022-09-26 09:49:51 +10:00
Raphael CoefficandGitHub 78e99311c8 feat(GT911): Add CLI command to reset touch panel cfg (#2351)
* GT911: add CLI command to reset config

Related to #2063

* X12S: touch coordinate inversion in GT911 config

Note: config reset with CLI "reset_gt911" required.

* Remove touch sensor software inversion
2022-09-25 20:27:22 +10:00
Raphael CoefficandGitHub 3765e678b9 fix(color): Disallow fullscreen mode for topbar widgets (#2327)
Related #2182
2022-09-18 13:15:01 +10:00
Raphael CoefficandGitHub c2b1b6febf feat(color): re-add support for rotary encoder velocity increase (#2318) 2022-09-18 13:01:19 +10:00
Raphael CoefficandGitHub 9fbf0b7b0a fix(simu): prevent mouse wheel event to be handled twice (#2319)
Fixes #2188
2022-09-15 21:15:09 +10:00
Raphael CoefficandGitHub c7e77ccd36 fix(mpm): update internal module (#2314)
* Internal MPM update: UART context must be removed last

This fixes the crash / reboot observed in issue #2310

* Fix DMA fifo clear() method
2022-09-14 11:58:01 +10:00
Raphael CoefficandGitHub 052a344611 Improve gyro/acc range and config (#2113) 2022-09-07 21:21:20 +10:00
Raphael CoefficandGitHub cd211cba59 feat(color): Better color picker (#2217)
* Better color picker

* Portrait layout

* Remove obsolete ColorEdit

* Fix label clipping

* chore: Bump libopenui
2022-08-28 19:01:55 +10:00
Raphael CoefficandGitHub b57c1f303e chore(github): Bump macOS runner version to mac-11 (#2176)
* Bump macOS runner version to mac-11

* Use XCode 11.7 (oldest supported version by GH runners)
2022-08-01 18:33:50 +10:00
Raphael CoefficandGitHub e98583ce28 fix: Type cast for failsafe channel update causing EM crashes (#2170) 2022-07-31 11:29:11 +10:00
Raphael CoefficandGitHub 0ba688c25f Fixes related to storage conversions removal (#2074) 2022-06-21 08:02:10 +02:00
Raphael CoefficandGitHub c2dc4e6c0b YAML: avoid forcing to add parser for non-existing old format v220 (#2068) 2022-06-21 06:45:35 +02:00
Raphael CoefficandGitHub a00975d3e5 fix(simulator): fixed LCD flush sync with QT simulator (#2030) 2022-06-12 11:28:05 +02:00
Raphael CoefficandGitHub 84b1871532 MSYS2: use pillow and lz4 package instead of pip (#2028) 2022-06-12 00:09:14 +02:00
Raphael CoefficandGitHub 26262c4c92 fix: stack buffer overflow in PreviewWindow::drawTime (#1945) 2022-05-07 21:34:29 +10:00
Raphael CoefficandGitHub 8c0c667ab7 fix(compilation): Use install(DIRECTORY...) instead of FILES so all simulators packaged (#1912)
This allows the list of files to be resolved at the last moment versus when cmake is executed first.
2022-04-28 15:10:09 +10:00
Raphael CoefficandGitHub ddf011ff12 fix: Remove offset when copying timer name (#1832)
Resolves #1816
2022-04-15 18:55:29 +10:00
Raphael CoefficandGitHub d8075cbabb fix: Internal module setting and applying post load fixes on radio settings (#1787) 2022-04-02 21:28:04 +10:00
Raphael CoefficandGitHub b9077c7e5a fix: Quote Stick, Pot, Slider and Switch names (#1754)
* Quote stick names

Resolves #1749

* Fix pot, slider and switch names as well.
2022-03-31 10:39:39 +10:00
Raphael CoefficandGitHub be9aa44e00 fix: Mix data offset: convert to signed int with maximum 11 bits (#1743)
Resolves #1734
2022-03-29 09:25:13 +10:00
Raphael CoefficandGitHub 50aeb50029 fix: Quick fix to let CRSF be used with MPM wireless trainer - limiations apply (#1724)
* Let's do some dirty hack with MPM RX

Resolves #1671

* Use the right function to sync and shutdown sync on external MPM as well
2022-03-25 12:04:15 +10:00
Raphael CoefficandGitHub 610326f216 Write 'semver' tag with the current firmware version (#1695)
And remove `version`/`variant`.
2022-03-20 19:18:01 +10:00
Raphael CoefficandGitHub 0e412000b9 feat: Allow using PXX2 external modules on Zorro (#1622)
Thx to @3djc
2022-02-28 11:10:21 +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
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
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 CoefficandGitHub 0ee144dd25 Remove useless DEBUG_TASKS (not supported on FreeRTOS) (#1448) 2022-01-21 12:59:45 +10:00
Raphael CoefficandGitHub 8150b00823 fix: [companion] Throttle trace source conversion error (#1401)
Accounts now for EX3 & EX4

Resolves #1398
2022-01-13 11:51:37 +10:00
7a628d4c15 fix: Companion read/write of failsafe settings, how displayed on radio (#1399)
* Fix failsafe settings

Resolve #1393

* trigger save if failsafe numbers changed + cleanup

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-11 23:09:55 +10:00
Raphael CoefficandGitHub 71b0e72dd0 Remove calibration check when asserting availability of 6-pos switch positions (#1368)
Thus allowing it to show on radio when calibration is invalid
2022-01-11 22:46:41 +10:00
Raphael CoefficandGitHub 2a509187dd Fix 6POS switch (de-)serialization (#1367) 2022-01-08 08:57:41 +10:00
Raphael CoefficandGitHub eb90b4a68d YAML Trainer data: iterate through nodes rather than assuming their presence (#1350)
Resolves #1349
2022-01-07 10:32:00 +10:00
Raphael CoefficandGitHub d97afb6f8e Fix switch indexes (#1362)
Resolves #1353
2022-01-07 10:31:37 +10:00
Raphael CoefficandGitHub c7e7443c30 Fix EDGE logical switch (de-)serialization (#1361)
Resolves #1359
2022-01-07 09:45:33 +10:00
Raphael CoefficandGitHub d46067fab2 Fix bit mask generation (#1358)
Avoids overflowing when the bit mask should be 32bits long.

Resolves #1351
2022-01-07 09:36:49 +10:00
Raphael CoefficandGitHub 18ea2d5caf Merge pull request #1328 from EdgeTX/yaml_radio_version
Remove reference to EEPROM / EEPR in radio version screen
2022-01-02 13:38:34 +01:00
Raphael CoefficandGitHub aa79087e4d Merge pull request #1186 from EdgeTX/cpn-storage-fmts
Companion YaML support
2022-01-02 13:06:01 +01:00
Raphael CoefficandGitHub 047981f5f4 Merge pull request #1282 from EdgeTX/pfeerick/issue395
End the LUA != LUA confusion
2021-12-24 08:07:57 +01:00
Raphael CoefficandGitHub 69dafd13c0 Merge pull request #1234 from EdgeTX/rm-zorro
Radiomaster Zorro
2021-12-17 16:40:04 +01:00
Raphael CoefficandGitHub 498bc152a3 Merge pull request #1040 from EdgeTX/sw-warnings 2021-12-17 13:05:13 +01:00
Raphael CoefficandGitHub 995e41469e Fixed "lua(...,...)" source (#1208)
Resolves #1205
2021-12-04 14:37:03 +11:00
Raphael CoefficandGitHub 603e5d2646 Merge pull request #1160 from EdgeTX/fix-yaml-gvars
Fix YAML for all GVAR adjustements custom functions
2021-11-27 00:28:52 +01:00
Raphael CoefficandGitHub 6c1ca71740 Merge pull request #991 from EdgeTX/access-options
Access options / menus
2021-11-11 19:09:29 +01:00
Raphael CoefficandGitHub 11e63f403c Merge pull request #1022 from JyeSmith/MEGA-BAUDS-not-milli
MEGA BAUDS not milli
2021-11-10 12:59:22 +01:00
Raphael CoefficandGitHub 0ca8184f2f Merge pull request #549 from EdgeTX/yaml
Yaml support
2021-11-10 11:23:31 +01:00
Raphael CoefficandGitHub 4907ebbf14 Merge pull request #728 from EdgeTX/nv14-internal-module
Nv14 internal module
2021-09-21 08:18:47 +02:00
Raphael CoefficandGitHub 4546f885ec Add capability to build more firmwares than scheduled for tests (#510)
* Add capability to build more firmwares than scheduled for tests

* Fixed casing for tx16s-fs target

* Fixed target names in YAML & added new ones to fw.json

* Remove unsupported "autoupdate"

* Update nightly targets
2021-09-19 19:44:25 +10:00
Raphael CoefficandGitHub 4c1af2bf36 Merge pull request #755 from EdgeTX/fix-299
Fix max # channels and default channel range
2021-09-18 14:13:48 +02:00
Raphael CoefficandGitHub 734721d824 Merge pull request #746 from pkendall64/fix-baud-rate-defaults
Fix baud rate defaults
2021-09-18 07:12:00 +02:00
Raphael CoefficandGitHub 3aa9b410d6 Merge pull request #740 from EdgeTX/pfeerick/issue465
Correctly turn off or restore MPM to normal after running spectrum analyser
2021-09-17 11:40:36 +02:00
Raphael CoefficandGitHub a70754a69f Merge pull request #742 from EdgeTX/cpn-wo-arm-gcc
Compile companion without arm-gcc toolchain
2021-09-16 16:42:53 +02:00
Raphael CoefficandGitHub 0709db99e5 Merge pull request #739 from EdgeTX/fix-731
[color] properly filter sources in drop-downs
2021-09-16 15:17:33 +02:00
Raphael CoefficandGitHub 8d70f73979 Merge pull request #717 from EdgeTX/simu-mouse
Add touch support to simulation
2021-09-13 15:28:06 +02:00
Raphael CoefficandGitHub e938f37b87 Merge pull request #618 from EdgeTX/DiagnoseFlySkyShowRaw
Show true raw info on radio analogs diagnose screen (FlySky hall gimbal only)
2021-09-13 15:22:21 +02:00
Raphael CoefficandGitHub 3b937387d8 Merge pull request #561 from EdgeTX/cpn-build
Windows & Mac OSX companion build
2021-09-13 12:37:45 +02:00
Raphael CoefficandGitHub 9bb08c2c1f Merge pull request #705 from EdgeTX/mpm-proto-list2
[color] Dynamic MPM proto list
2021-09-13 08:35:47 +02:00